diff options
author | Thomas Weißschuh | 2015-02-15 23:33:20 +0000 |
---|---|---|
committer | Thomas Weißschuh | 2015-02-15 23:33:20 +0000 |
commit | e216f88534d1353ec68e9691fecf19a044588e93 (patch) | |
tree | 8d380f796dd30d4528ee7f57ba9ea67089d03943 | |
download | aur-e216f88534d1353ec68e9691fecf19a044588e93.tar.gz |
add expiringdict
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cd306f828a28 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python2-expiringdict + pkgdesc = Dictionary with auto-expiring values for caching purposes + pkgver = 1.1.3 + pkgrel = 1 + url = https://pypi.python.org/pypi/expiringdict + arch = any + license = Apache2 + depends = python2 + source = http://pypi.python.org/packages/source/e/expiringdict/expiringdict-1.1.3.tar.gz + sha256sums = 08bebdc5e008085e0612bd141d62f837c3f80b8c1880a95e0863100757b55b08 + +pkgname = python2-expiringdict + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d90c3f051f27 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Thomas Weißschuh <thomas t-8ch de> + +pkgname=python2-expiringdict +pkgver=1.1.3 +pkgrel=1 +_libname=expiringdict +pkgdesc='Dictionary with auto-expiring values for caching purposes' +url='https://pypi.python.org/pypi/expiringdict' +depends=('python2') +license=('Apache2') +arch=('any') +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --root="$pkgdir" +} + +sha256sums=('08bebdc5e008085e0612bd141d62f837c3f80b8c1880a95e0863100757b55b08') |