2 # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=python-text-unidecode
14 PKG_SOURCE
:=text-unidecode-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://files.pythonhosted.org
/packages
/source
/t
/text-unidecode
/
16 PKG_HASH
:=5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(BUILD_VARIANT
)-text-unidecode-
$(PKG_VERSION
)
20 PKG_LICENSE
:=Artistic-1.0
-cl8
21 PKG_LICENSE_FILES
:=LICENSE
22 PKG_MAINTAINER
:=Josef Schlehofer
<josef.schlehofer@nic.cz
>
24 include $(INCLUDE_DIR
)/package.mk
25 include ..
/python-package.mk
26 include ..
/python3-package.mk
28 PKG_UNPACK
:=$(HOST_TAR
) -C
$(PKG_BUILD_DIR
) --strip-components
=1 -xzf
$(DL_DIR
)/$(PKG_SOURCE
)
30 define Package
/python-text-unidecode
/Default
34 TITLE
:=The most basic Text
::Unidecode port
35 URL
:=https
://github.com
/kmike
/text-unidecode
/
38 define Package
/python-text-unidecode
39 $(call Package
/python-text-unidecode
/Default
)
41 +PACKAGE_python-text-unidecode
:python-light
45 define Package
/python3-text-unidecode
46 $(call Package
/python-text-unidecode
/Default
)
48 +PACKAGE_python3-text-unidecode
:python3-light
52 define Package
/python-text-unidecode
/description
53 text-unidecode is the most basic port of the Text
::Unidecode Perl library.
56 define Package
/python3-text-unidecode
/description
57 $(call Package
/python-text-unidecode
/description
)
62 $(eval
$(call PyPackage
,python-text-unidecode
))
63 $(eval
$(call BuildPackage
,python-text-unidecode
))
64 $(eval
$(call BuildPackage
,python-text-unidecode-src
))
66 $(eval
$(call Py3Package
,python3-text-unidecode
))
67 $(eval
$(call BuildPackage
,python3-text-unidecode
))
68 $(eval
$(call BuildPackage
,python3-text-unidecode-src
))