diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-10-09 14:46:19 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-10-09 22:53:17 +0200 |
commit | ae86d30913786765aecce38177a99353c7e800aa (patch) | |
tree | bc0d76e454375f41bbaf8f48866f1fa10859c7f4 /package/python-pylru | |
parent | bfe76ebfb9accd2b33a2d3d7cd679cb6e8ddaea0 (diff) |
package/python-pylru: new package
Needed by upcoming python-mwscrape package.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pylru')
-rw-r--r-- | package/python-pylru/Config.in | 6 | ||||
-rw-r--r-- | package/python-pylru/python-pylru.hash | 3 | ||||
-rw-r--r-- | package/python-pylru/python-pylru.mk | 14 |
3 files changed, 23 insertions, 0 deletions
diff --git a/package/python-pylru/Config.in b/package/python-pylru/Config.in new file mode 100644 index 000000000..c17457694 --- /dev/null +++ b/package/python-pylru/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYLRU + bool "python-pylru" + help + A least recently used (LRU) cache implementation. + + https://github.com/jlhutch/pylru diff --git a/package/python-pylru/python-pylru.hash b/package/python-pylru/python-pylru.hash new file mode 100644 index 000000000..806ea36a0 --- /dev/null +++ b/package/python-pylru/python-pylru.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/pylru/json, sha256 locally computed +md5 41369d58a1c4391c5cc36f84262abcdc pylru-1.0.9.tar.gz +sha256 71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c pylru-1.0.9.tar.gz diff --git a/package/python-pylru/python-pylru.mk b/package/python-pylru/python-pylru.mk new file mode 100644 index 000000000..e670f3d1c --- /dev/null +++ b/package/python-pylru/python-pylru.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pylru +# +################################################################################ + +PYTHON_PYLRU_VERSION = 1.0.9 +PYTHON_PYLRU_SOURCE = pylru-$(PYTHON_PYLRU_VERSION).tar.gz +PYTHON_PYLRU_SITE = https://pypi.python.org/packages/c0/7d/0de1055632f3871dfeaabe5a3f0510317cd98b93e7b792b44e4c7de2b17b +PYTHON_PYLRU_SETUP_TYPE = distutils +PYTHON_PYLRU_LICENSE = GPLv2 +PYTHON_PYLRU_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) |