package/python-dnspython: new package
Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
a32f0824f0
commit
5c877eb01f
|
@ -1393,6 +1393,7 @@ F: package/ti-sgx-um/
|
||||||
N: Louis Aussedat <aussedat.louis@gmail.com>
|
N: Louis Aussedat <aussedat.louis@gmail.com>
|
||||||
F: board/friendlyarm/nanopi-neo-plus2/
|
F: board/friendlyarm/nanopi-neo-plus2/
|
||||||
F: configs/friendlyarm_nanopi_neo_plus2_defconfig
|
F: configs/friendlyarm_nanopi_neo_plus2_defconfig
|
||||||
|
F: package/python-dnspython/
|
||||||
F: package/python-tqdm/
|
F: package/python-tqdm/
|
||||||
|
|
||||||
N: Louis-Paul Cordier <lpdev@cordier.org>
|
N: Louis-Paul Cordier <lpdev@cordier.org>
|
||||||
|
|
|
@ -891,6 +891,7 @@ menu "External python modules"
|
||||||
source "package/python-dicttoxml/Config.in"
|
source "package/python-dicttoxml/Config.in"
|
||||||
source "package/python-django/Config.in"
|
source "package/python-django/Config.in"
|
||||||
source "package/python-django-enumfields/Config.in"
|
source "package/python-django-enumfields/Config.in"
|
||||||
|
source "package/python-dnspython/Config.in"
|
||||||
source "package/python-docker/Config.in"
|
source "package/python-docker/Config.in"
|
||||||
source "package/python-docker-pycreds/Config.in"
|
source "package/python-docker-pycreds/Config.in"
|
||||||
source "package/python-dockerpty/Config.in"
|
source "package/python-dockerpty/Config.in"
|
||||||
|
|
6
package/python-dnspython/Config.in
Normal file
6
package/python-dnspython/Config.in
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
config BR2_PACKAGE_PYTHON_DNSPYTHON
|
||||||
|
bool "python-dnspython"
|
||||||
|
help
|
||||||
|
A powerful DNS toolkit for python.
|
||||||
|
|
||||||
|
http://www.dnspython.org
|
5
package/python-dnspython/python-dnspython.hash
Normal file
5
package/python-dnspython/python-dnspython.hash
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# md5, sha256 from https://pypi.org/pypi/dnspython/json
|
||||||
|
md5 bc9ca3b3a82164667d5730ec6d5248a2 dnspython-1.16.0.zip
|
||||||
|
sha256 36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01 dnspython-1.16.0.zip
|
||||||
|
# Locally computed sha256 checksums
|
||||||
|
sha256 c3ea3ff5654b329c19d3bc5f7481af623c3dded4a6145585499f843ad3d741cd LICENSE
|
20
package/python-dnspython/python-dnspython.mk
Normal file
20
package/python-dnspython/python-dnspython.mk
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# python-dnspython
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PYTHON_DNSPYTHON_VERSION = 1.16.0
|
||||||
|
PYTHON_DNSPYTHON_SOURCE = dnspython-$(PYTHON_DNSPYTHON_VERSION).zip
|
||||||
|
PYTHON_DNSPYTHON_SITE = https://files.pythonhosted.org/packages/ec/c5/14bcd63cb6d06092a004793399ec395405edf97c2301dfdc146dfbd5beed
|
||||||
|
PYTHON_DNSPYTHON_LICENSE = ISC
|
||||||
|
PYTHON_DNSPYTHON_LICENSE_FILES = LICENSE
|
||||||
|
PYTHON_DNSPYTHON_SETUP_TYPE = setuptools
|
||||||
|
|
||||||
|
define PYTHON_DNSPYTHON_EXTRACT_CMDS
|
||||||
|
$(UNZIP) -d $(@D) $(PYTHON_DNSPYTHON_DL_DIR)/$(PYTHON_DNSPYTHON_SOURCE)
|
||||||
|
mv $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION)/* $(@D)
|
||||||
|
$(RM) -r $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(python-package))
|
Loading…
Reference in a new issue