diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-05 03:48:03 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-05 04:26:18 -0300 |
commit | 41c8c8180e06cbd33a91550adff96cc4efa31ab9 (patch) | |
tree | 686ca2a3960b7e999acfa783609a204506194d4a /testing/py-repoze-lru/APKBUILD | |
parent | c60e64322e407e78a8b191e7ca878126e4ecfb0d (diff) | |
download | aports-41c8c8180e06cbd33a91550adff96cc4efa31ab9.tar.bz2 aports-41c8c8180e06cbd33a91550adff96cc4efa31ab9.tar.xz |
testing/py-repoze-lru: upgrade to 0.7
Diffstat (limited to 'testing/py-repoze-lru/APKBUILD')
-rw-r--r-- | testing/py-repoze-lru/APKBUILD | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/testing/py-repoze-lru/APKBUILD b/testing/py-repoze-lru/APKBUILD index 11e54ab8bf..1851f3d50b 100644 --- a/testing/py-repoze-lru/APKBUILD +++ b/testing/py-repoze-lru/APKBUILD @@ -2,40 +2,25 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-repoze-lru _pkgname=repoze.lru -pkgver=0.6 +pkgver=0.7 pkgrel=0 pkgdesc="A tiny Python LRU cache implementation and decorator" +options="!check" # Is python2 url="https://pypi.python.org/pypi/repoze.lru" arch="noarch" -license="BSD" +license="ZPL-2.1" depends="python2" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" +makedepends="py2-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="2c3b64b17a8e18b405f55d46173e14dd repoze.lru-0.6.tar.gz" -sha256sums="0f7a323bf716d3cb6cb3910cd4fccbee0b3d3793322738566ecce163b01bbd31 repoze.lru-0.6.tar.gz" -sha512sums="32732286f41ac6ad55e65fa15907e44558e7fbf089d1565c9c413be7c4af158b7a8ef9fc6be68998f8a9b4cd836028b8e706ba508a328a7fa338e95364e968db repoze.lru-0.6.tar.gz" +sha512sums="c4d8b015931c4265fa8559f99c9d5016835574b368ebe0d49fe503afe908020b2bf29836606134e00c6c0aa436d52a00bb73d6ab80e98d0802f54bd2e4686476 repoze.lru-0.7.tar.gz" |