diff options
author | Niklas | 2018-08-20 02:13:22 +0200 |
---|---|---|
committer | Niklas | 2018-08-20 02:13:22 +0200 |
commit | 8bb8b8f5cc19dadcb262dd7bc4216fefe6422aee (patch) | |
tree | 6ef36da98f4010ec03312830e4a8341603d9e7a5 | |
parent | 51b3309e7de561825f4913a2a65bf3894441ba6a (diff) | |
download | aur-8bb8b8f5cc19dadcb262dd7bc4216fefe6422aee.tar.gz |
[1.1.0-1] update
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 26 insertions, 12 deletions
@@ -1,15 +1,15 @@ -# Generated by mksrcinfo v8 -# Sat Aug 5 22:11:16 UTC 2017 pkgbase = python-pylru pkgdesc = A least recently used (LRU) cache implementation - pkgver = 1.0.9 - pkgrel = 2 + pkgver = 1.1.0 + pkgrel = 1 url = https://github.com/jlhutch/pylru arch = any license = GPL2 + makedepends = python-setuptools + makedepends = python2-setuptools options = !emptydirs - source = https://files.pythonhosted.org/packages/source/p/pylru/pylru-1.0.9.tar.gz - sha256sums = 71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c + source = https://files.pythonhosted.org/packages/source/p/pylru/pylru-1.1.0.tar.gz + sha256sums = e03a3d354eb8fdfa11638698e8a1f06cd3b3a214ebc0a120c603a79290d9ebec pkgname = python-pylru depends = python diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d3cf74b37564 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.log* +*.tar.gz +*.tar.xz +*.sig +*.asc @@ -4,18 +4,27 @@ pkgbase=python-pylru pkgname=('python-pylru' 'python2-pylru') _name=pylru -pkgver=1.0.9 -pkgrel=2 +pkgver=1.1.0 +pkgrel=1 pkgdesc="A least recently used (LRU) cache implementation" arch=('any') url="https://github.com/jlhutch/pylru" license=('GPL2') +makedepends=('python-setuptools' 'python2-setuptools') options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha256sums=('71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c') +sha256sums=('e03a3d354eb8fdfa11638698e8a1f06cd3b3a214ebc0a120c603a79290d9ebec') prepare() { - cp -a $_name-$pkgver{,-python2} + cp -a ${_name}-${pkgver}{,-python2} +} + +build() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py build + + cd "${srcdir}/${_name}-${pkgver}-python2" + python2 setup.py build } package_python-pylru() { @@ -23,7 +32,7 @@ package_python-pylru() { makedepends=('python-setuptools') cd "${srcdir}/${_name}-${pkgver}" - python setup.py install --root="$pkgdir" --optimize=1 + python setup.py install --root="${pkgdir}" --skip-build --optimize=1 } package_python2-pylru() { @@ -31,5 +40,5 @@ package_python2-pylru() { makedepends=('python2-setuptools') cd "${srcdir}/${_name}-${pkgver}-python2" - python2 setup.py install --root="$pkgdir" --optimize=1 + python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1 } |