Initial Commit
- initial default booting image
This commit is contained in:
8
package/python-diskcache/Config.in
Normal file
8
package/python-diskcache/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_PYTHON_DISKCACHE
|
||||
bool "python-diskcache"
|
||||
select BR2_PACKAGE_PYTHON3_SQLITE # runtime
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
help
|
||||
Disk Cache -- Disk and file backed persistent cache.
|
||||
|
||||
http://www.grantjenks.com/docs/diskcache/
|
||||
5
package/python-diskcache/python-diskcache.hash
Normal file
5
package/python-diskcache/python-diskcache.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/diskcache/json
|
||||
md5 d92b4afa944bb70ed38c84a622f7abb5 diskcache-5.6.3.tar.gz
|
||||
sha256 2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc diskcache-5.6.3.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 583546baa3fd93607d845126570677a401f508e228b5044fefbc3949af179672 LICENSE
|
||||
26
package/python-diskcache/python-diskcache.mk
Normal file
26
package/python-diskcache/python-diskcache.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-diskcache
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_DISKCACHE_VERSION = 5.6.3
|
||||
PYTHON_DISKCACHE_SOURCE = diskcache-$(PYTHON_DISKCACHE_VERSION).tar.gz
|
||||
PYTHON_DISKCACHE_SITE = https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6
|
||||
PYTHON_DISKCACHE_SETUP_TYPE = setuptools
|
||||
PYTHON_DISKCACHE_LICENSE = Apache-2.0
|
||||
PYTHON_DISKCACHE_LICENSE_FILES = LICENSE
|
||||
|
||||
# diskcache imports itself during the build to get its own version,
|
||||
# which doesn't work in the Buildroot context, so we inject the
|
||||
# package name and version manually.
|
||||
define PYTHON_DISKCACHE_REMOVE_SELF_IMPORT
|
||||
sed -i -e '/import diskcache/d' \
|
||||
-e 's/diskcache.__title__/"diskcache"/' \
|
||||
-e 's/diskcache.__version__/"$(PYTHON_DISKCACHE_VERSION)"/' \
|
||||
$(@D)/setup.py
|
||||
endef
|
||||
|
||||
PYTHON_DISKCACHE_POST_PATCH_HOOKS += PYTHON_DISKCACHE_REMOVE_SELF_IMPORT
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user