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>
This commit is contained in:
Bernd Kuhls 2016-10-09 14:46:19 +02:00 committed by Thomas Petazzoni
parent bfe76ebfb9
commit ae86d30913
4 changed files with 24 additions and 0 deletions

View file

@ -736,6 +736,7 @@ menu "External python modules"
source "package/python-pygame/Config.in"
source "package/python-pygments/Config.in"
source "package/python-pyinotify/Config.in"
source "package/python-pylru/Config.in"
source "package/python-pymysql/Config.in"
source "package/python-pynacl/Config.in"
source "package/python-pyopenssl/Config.in"

View file

@ -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

View file

@ -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

View file

@ -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))