python-idna: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2015-12-14 09:24:50 +01:00 committed by Thomas Petazzoni
parent 50466d0104
commit dd3afecc70
4 changed files with 28 additions and 0 deletions

View file

@ -621,6 +621,7 @@ menu "External python modules"
source "package/python-gobject/Config.in"
source "package/python-httplib2/Config.in"
source "package/python-id3/Config.in"
source "package/python-idna/Config.in"
source "package/python-ipaddr/Config.in"
source "package/python-ipy/Config.in"
source "package/python-ipython/Config.in"

View file

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_IDNA
bool "python-idna"
help
A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891. This
version of the protocol is often referred to as “IDNA2008”
and can produce different results from the earlier standard
from 2003.
https://github.com/kjd/idna

View file

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=bd17a9d15e755375f48a62c13b25b801, sha256 locally computed
md5 bd17a9d15e755375f48a62c13b25b801 idna-2.0.tar.gz
sha256 16199aad938b290f5be1057c0e1efc6546229391c23cea61ca940c115f7d3d3b idna-2.0.tar.gz

View file

@ -0,0 +1,14 @@
################################################################################
#
# python-idna
#
################################################################################
PYTHON_IDNA_VERSION = 2.0
PYTHON_IDNA_SOURCE = idna-$(PYTHON_IDNA_VERSION).tar.gz
PYTHON_IDNA_SITE = https://pypi.python.org/packages/source/i/idna
PYTHON_IDNA_LICENSE = BSD-3c
PYTHON_IDNA_LICENSE_FILES = LICENSE.rst
PYTHON_IDNA_SETUP_TYPE = setuptools
$(eval $(python-package))