generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained 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 8a362d7b2358be3117683e2dbf9654fc dnspython-2.1.0.zip
|
||||
sha256 e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4 dnspython-2.1.0.zip
|
||||
# Locally computed sha256 checksums
|
||||
sha256 c3ea3ff5654b329c19d3bc5f7481af623c3dded4a6145585499f843ad3d741cd LICENSE
|
||||
27
package/python-dnspython/python-dnspython.mk
Normal file
27
package/python-dnspython/python-dnspython.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-dnspython
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_DNSPYTHON_VERSION = 2.1.0
|
||||
PYTHON_DNSPYTHON_SOURCE = dnspython-$(PYTHON_DNSPYTHON_VERSION).zip
|
||||
PYTHON_DNSPYTHON_SITE = https://files.pythonhosted.org/packages/13/27/5277de856f605f3429d752a39af3588e29d10181a3aa2e2ee471d817485a
|
||||
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
|
||||
|
||||
define HOST_PYTHON_DNSPYTHON_EXTRACT_CMDS
|
||||
$(UNZIP) -d $(@D) $(HOST_PYTHON_DNSPYTHON_DL_DIR)/$(HOST_PYTHON_DNSPYTHON_SOURCE)
|
||||
mv $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)/* $(@D)
|
||||
$(RM) -r $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user