python-idna: Update to 3.6
[feed/packages.git] / lang / python / python-idna / Makefile
1 #
2 # Copyright (C) 2015-2016, 2018-2020, 2023 Jeffery To
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:=3.6
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=idna
15 PKG_HASH:=9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca
16
17 PKG_LICENSE:=BSD-3-Clause
18 PKG_LICENSE_FILES:=LICENSE.md
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 PKG_BUILD_DEPENDS:=python-flit-core/host
22
23 include ../pypi.mk
24 include $(INCLUDE_DIR)/package.mk
25 include ../python3-package.mk
26
27 define Package/python3-idna
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=IDNA library
32 URL:=https://github.com/kjd/idna
33 DEPENDS:=+python3-light +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))