summaryrefslogtreecommitdiff
path: root/lang/python/python-unidecode
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2023-07-21 08:22:59 +0200
committerGitHub <noreply@github.com>2023-07-21 08:22:59 +0200
commit5b1ddbd53d2794ab11e95f3acc63d665e86be6b9 (patch)
tree69700a0957c3ff98a56136f9a04a54df7047d578 /lang/python/python-unidecode
parentd0d4c0d28cb54b5d9dc7855961f2f7282ed57146 (diff)
parent35d6cdf8bbbecb3795102dab5d2f22e86e43218f (diff)
Merge pull request #21608 from jefferyto/python3-unidecode-1.3.6
python3-unidecode: Update to 1.3.6, rename source package
Diffstat (limited to 'lang/python/python-unidecode')
-rw-r--r--lang/python/python-unidecode/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-unidecode/Makefile b/lang/python/python-unidecode/Makefile
new file mode 100644
index 000000000..d8c150ac2
--- /dev/null
+++ b/lang/python/python-unidecode/Makefile
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-unidecode
+PKG_VERSION:=1.3.6
+PKG_RELEASE:=1
+
+PYPI_NAME:=Unidecode
+PKG_HASH:=fed09cf0be8cf415b391642c2a5addfc72194407caee4f98719e40ec2a72b830
+
+PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
+PKG_LICENSE:=GPL-2.0-or-later
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-unidecode
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=ASCII transliterations of Unicode text
+ URL:=https://github.com/avian2/unidecode
+ DEPENDS:=+python3-light
+endef
+
+define Package/python-unidecode/description
+ Unidecode, lossy ASCII transliterations of Unicode text
+endef
+
+$(eval $(call Py3Package,python3-unidecode))
+$(eval $(call BuildPackage,python3-unidecode))
+$(eval $(call BuildPackage,python3-unidecode-src))