Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / lang / python / python-idna / Makefile
1 #
2 # Copyright (C) 2015-2019 OpenWrt.org
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-idna
11 PKG_VERSION:=2.10
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=idna
15 PKG_HASH:=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
16
17 PKG_LICENSE:=BSD-3-Clause
18 PKG_LICENSE_FILES:=LICENSE.rst
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-idna
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=IDNA library
30 URL:=https://github.com/kjd/idna
31 DEPENDS:= \
32 +python3-light \
33 +python3-codecs
34 endef
35
36 define Package/python3-idna/description
37 A library to support the Internationalised Domain Names in Applications
38 (IDNA) protocol as specified in RFC 5891. This version of the protocol
39 is often referred to as "IDNA2008" and can produce different results
40 from the earlier standard from 2003.
41 endef
42
43 $(eval $(call Py3Package,python3-idna))
44 $(eval $(call BuildPackage,python3-idna))
45 $(eval $(call BuildPackage,python3-idna-src))