diff options
author | Andy Weidenbaum | 2017-03-12 11:34:01 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2017-03-12 11:34:01 -0700 |
commit | 219f6b5847c04c3e1a73c7d30dc1ddb48f4b821b (patch) | |
tree | 217489b6a50c2768bf19872996873d32396dcc07 | |
download | aur-219f6b5847c04c3e1a73c7d30dc1ddb48f4b821b.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f03804a52f64 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sun Mar 12 18:33:53 UTC 2017 +pkgbase = python-pylru + pkgdesc = A least recently used (LRU) cache implementation + pkgver = 1.0.9 + pkgrel = 1 + url = https://github.com/jlhutch/pylru + arch = any + license = GPL2 + makedepends = python-setuptools + depends = python + options = !emptydirs + source = https://pypi.python.org/packages/c0/7d/0de1055632f3871dfeaabe5a3f0510317cd98b93e7b792b44e4c7de2b17b/pylru-1.0.9.tar.gz + md5sums = 41369d58a1c4391c5cc36f84262abcdc + sha256sums = 71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c + +pkgname = python-pylru + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9546335cd5c3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=python-pylru +pkgver=1.0.9 +pkgrel=1 +pkgdesc="A least recently used (LRU) cache implementation" +arch=('any') +depends=('python') +makedepends=('python-setuptools') +url="https://github.com/jlhutch/pylru" +license=('GPL2') +options=(!emptydirs) +source=(https://pypi.python.org/packages/c0/7d/0de1055632f3871dfeaabe5a3f0510317cd98b93e7b792b44e4c7de2b17b/pylru-1.0.9.tar.gz) +md5sums=('41369d58a1c4391c5cc36f84262abcdc') +sha256sums=('71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c') + +build() { + cd "$srcdir/${pkgname#python-}-$pkgver" + + msg2 'Building...' + python setup.py build +} + +package() { + cd "$srcdir/${pkgname#python-}-$pkgver" + + msg2 'Installing...' + python setup.py install --root="$pkgdir" --optimize=1 +} |