generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
7
package/python-aenum/Config.in
Normal file
7
package/python-aenum/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_AENUM
|
||||
bool "python-aenum"
|
||||
help
|
||||
Advanced Enumerations (compatible with Python's stdlib Enum),
|
||||
NamedTuples, and NamedConstants.
|
||||
|
||||
https://pypi.org/project/aenum
|
||||
5
package/python-aenum/python-aenum.hash
Normal file
5
package/python-aenum/python-aenum.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/aenum/json
|
||||
md5 c0b78a74cdfacc0bf0cbb42785afaed8 aenum-3.1.11.tar.gz
|
||||
sha256 aed2c273547ae72a0d5ee869719c02a643da16bf507c80958faadc7e038e3f73 aenum-3.1.11.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE
|
||||
22
package/python-aenum/python-aenum.mk
Normal file
22
package/python-aenum/python-aenum.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-aenum
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_AENUM_VERSION = 3.1.11
|
||||
PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz
|
||||
PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/63/6c/a71e18de7c651f384b328be6bccadbbd472aca62f547c1a307b9388d03ca
|
||||
PYTHON_AENUM_SETUP_TYPE = setuptools
|
||||
PYTHON_AENUM_LICENSE = BSD-3-Clause
|
||||
PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE
|
||||
|
||||
# _py2.py uses syntax not compatible with Python3.
|
||||
# Remove _py2.py to avoid compilation error.
|
||||
define PYTHON_AENUM_REMOVE_PY2_PY
|
||||
rm $(@D)/aenum/_py2.py
|
||||
endef
|
||||
|
||||
PYTHON_AENUM_POST_EXTRACT_HOOKS = PYTHON_AENUM_REMOVE_PY2_PY
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user