package/python-aenum: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Peter: add license hash]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2020-01-15 09:09:24 +01:00 committed by Peter Korsgaard
parent dfb553adff
commit 2707f1c872
4 changed files with 26 additions and 0 deletions

View File

@ -833,6 +833,7 @@ endif
source "package/python3/Config.in"
if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
menu "External python modules"
source "package/python-aenum/Config.in"
source "package/python-aioblescan/Config.in"
source "package/python-aiocoap/Config.in"
source "package/python-aioconsole/Config.in"

View 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

View 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

View File

@ -0,0 +1,14 @@
################################################################################
#
# 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
$(eval $(python-package))