mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
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
|
||||
4
package/python-aenum/python-aenum.hash
Normal file
4
package/python-aenum/python-aenum.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# sha256 from https://pypi.org/pypi/aenum/json
|
||||
sha256 a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8 aenum-2.2.3.tar.gz
|
||||
# locally calculated
|
||||
sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE
|
||||
23
package/python-aenum/python-aenum.mk
Normal file
23
package/python-aenum/python-aenum.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-aenum
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_AENUM_VERSION = 2.2.3
|
||||
PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz
|
||||
PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/6f/6a/8ed729e0add885d7a559ebb06133029b1f8c4bd66cbf1bdee1ec969fb310
|
||||
PYTHON_AENUM_SETUP_TYPE = setuptools
|
||||
PYTHON_AENUM_LICENSE = BSD-3-Clause
|
||||
PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
# only needed/valid for python 3.x
|
||||
define PYTHON_AENUM_RM_PY3_FILE
|
||||
rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/aenum/test_v3.py
|
||||
endef
|
||||
|
||||
PYTHON_AENUM_POST_INSTALL_TARGET_HOOKS += PYTHON_AENUM_RM_PY3_FILE
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user