diff options
author | getzze | 2018-10-21 11:40:01 +0100 |
---|---|---|
committer | getzze | 2018-10-21 11:40:01 +0100 |
commit | d3d531ad4841effbec41e4170cddc31b11d93ede (patch) | |
tree | d2afbfc1937a2bf2200299179385862e6222be57 | |
parent | 1522f8572a7c9cdb279424e9d17832cc127a7b96 (diff) | |
download | aur-d3d531ad4841effbec41e4170cddc31b11d93ede.tar.gz |
bump 1.0.3
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 10 insertions, 14 deletions
@@ -1,16 +1,16 @@ pkgbase = python-pymemoize pkgdesc = Simple Python cache and memoizing module - pkgver = 1.0.2 + pkgver = 1.0.3 pkgrel = 1 - url = https://github.com/EliotBerriot/PyMemoize + url = https://github.com/mikeboers/PyMemoize arch = any license = BSD makedepends = git makedepends = python-setuptools makedepends = python2-setuptools options = !emptydirs - source = git+https://github.com/EliotBerriot/PyMemoize#branch=django - sha256sums = SKIP + source = https://github.com/mikeboers/PyMemoize/archive/v1.0.3.tar.gz + sha256sums = 21946d8cf60b80f71438256d8376b76375002ecfbb95d792588f22bea79cd0ee pkgname = python-pymemoize depends = python @@ -1,27 +1,23 @@ # Maintainer: getzze <getzze at gmail dot com> pkgname=('python-pymemoize' 'python2-pymemoize') -pkgver=1.0.2 +pkgver=1.0.3 pkgrel=1 pkgdesc="Simple Python cache and memoizing module" arch=(any) -url="https://github.com/EliotBerriot/PyMemoize" +url="https://github.com/mikeboers/PyMemoize" license=('BSD') options=(!emptydirs) -source=("git+https://github.com/EliotBerriot/PyMemoize#branch=django") -sha256sums=('SKIP') +source=("https://github.com/mikeboers/PyMemoize/archive/v${pkgver}.tar.gz") +sha256sums=('21946d8cf60b80f71438256d8376b76375002ecfbb95d792588f22bea79cd0ee') makedepends=('git' 'python-setuptools' 'python2-setuptools') -pkgver() { - cd "PyMemoize" - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} package_python-pymemoize() { depends=('python') optdepends=('python-django' 'python-redis') cd "$srcdir/PyMemoize" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" python setup.py install --root="$pkgdir/" --optimize=1 } @@ -29,6 +25,6 @@ package_python2-pymemoize() { depends=('python2') optdepends=('python2-django' 'python2-redis') cd "$srcdir/PyMemoize" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" python2 setup.py install --root="$pkgdir/" --optimize=1 } |