[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_SIMPLEGENERIC
bool "python-simplegeneric"
help
Simple generic functions (similar to Python's own len(),
pickle.dump(), etc.)
https://pypi.python.org/pypi/simplegeneric

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/simplegeneric, sha256 locally computed
md5 f9c1fab00fd981be588fc32759f474e3 simplegeneric-0.8.1.zip
sha256 dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173 simplegeneric-0.8.1.zip

View File

@ -0,0 +1,24 @@
################################################################################
#
# python-simplegeneric
#
################################################################################
PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
PYTHON_SIMPLEGENERIC_LICENSE = ZPL-2.1
# Force setup-type to be 'setuptools' in order to force the package to
# be installed with --single-version-externally-managed. Otherwise we
# end up with a .egg file, which is a zip archive, and as such forces
# us to have 'zlib' as a runtime dependency
PYTHON_SIMPLEGENERIC_SETUP_TYPE = setuptools
define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
unzip $(PYTHON_SIMPLEGENERIC_DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
mv $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)/* $(@D)
rmdir $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)
endef
$(eval $(python-package))