2 # Copyright (C) 2015-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://pypi.python.org
/packages
/source
/i
/idna
16 PKG_MD5SUM
:=f6473caa9c5e0cc1ad3fd5d04c3c114b
18 PKG_BUILD_DEPENDS
:=python python-setuptools
20 PKG_LICENSE
:=BSD-3-Clause
21 PKG_LICENSE_FILES
:=LICENSE.rst
22 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
24 include $(INCLUDE_DIR
)/package.mk
25 $(call include_mk
, python-package.mk
)
27 define Package
/python-idna
32 URL
:=https
://github.com
/kjd
/idna
33 DEPENDS
:=+python-light
36 define Package
/python-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.
44 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
47 $(eval
$(call PyPackage
,python-idna
))
48 $(eval
$(call BuildPackage
,python-idna
))