Merge pull request #8518 from neheb/i
[feed/packages.git] / lang / python / python-slugify / Makefile
1 #
2 # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-slugify
11 PKG_VERSION:=3.0.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/python-slugify/
16 PKG_HASH:=57163ffb345c7e26063435a27add1feae67fa821f1ef4b2f292c25847575d758
17
18 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
19 PKG_LICENSE:=MIT
20 PKG_LICENSE_FILES:=LICENSE
21
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-slugify
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=Slugify application that handles Unicode
30 URL:=https://github.com/un33k/python-slugify
31 DEPENDS+= \
32 +python3-light \
33 +python3-codecs \
34 +python3-setuptools \
35 +python3-text-unidecode
36 VARIANT:=python3
37 endef
38
39 define Package/python3-slugify/description
40 A Python slugify application that handles unicode.
41 endef
42
43 $(eval $(call Py3Package,python3-slugify))
44 $(eval $(call BuildPackage,python3-slugify))
45 $(eval $(call BuildPackage,python3-slugify-src))