2019-03-27 16:13:33 +01:00
|
|
|
#
|
2020-01-19 14:34:31 +01:00
|
|
|
# Copyright (C) 2019-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
2019-03-27 16:13:33 +01:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-slugify
|
2023-08-24 19:17:58 +02:00
|
|
|
PKG_VERSION:=8.0.1
|
2021-01-09 18:49:21 +01:00
|
|
|
PKG_RELEASE:=1
|
2019-03-27 16:13:33 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
2023-08-24 19:17:58 +02:00
|
|
|
PKG_HASH:=ce0d46ddb668b3be82f4ed5e503dbc33dd815d83e2eb6824211310d3fb172a27
|
2019-03-27 16:13:33 +01:00
|
|
|
|
2023-09-04 11:00:32 +02:00
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2019-03-27 16:13:33 +01:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2019-03-27 16:13:33 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
define Package/python3-slugify
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
|
|
|
TITLE:=Slugify application that handles Unicode
|
|
|
|
URL:=https://github.com/un33k/python-slugify
|
2019-09-01 10:39:21 +02:00
|
|
|
DEPENDS:= \
|
|
|
|
+python3-light \
|
|
|
|
+python3-codecs \
|
|
|
|
+python3-text-unidecode
|
2019-03-27 16:13:33 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-slugify/description
|
2019-09-01 10:39:21 +02:00
|
|
|
A Python slugify application that handles unicode.
|
2019-03-27 16:13:33 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-slugify))
|
|
|
|
$(eval $(call BuildPackage,python3-slugify))
|
|
|
|
$(eval $(call BuildPackage,python3-slugify-src))
|