[arch-commits] Commit in python-binary-memcached/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Aug 11 03:02:06 UTC 2018
Date: Saturday, August 11, 2018 @ 03:02:05
Author: felixonmars
Revision: 370929
upgpkg: python-binary-memcached 0.27.0-1
Modified:
python-binary-memcached/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-11 02:56:24 UTC (rev 370928)
+++ PKGBUILD 2018-08-11 03:02:05 UTC (rev 370929)
@@ -3,9 +3,8 @@
pkgbase=python-binary-memcached
pkgname=('python-binary-memcached' 'python2-binary-memcached')
-pkgver=0.26.1
-_commit=769d5e9fcab1e9592b1a5e5e937a52049639c246
-pkgrel=2
+pkgver=0.27.0
+pkgrel=1
arch=('any')
pkgdesc='A pure python module to access memcached via its binary protocol with SASL auth support'
url='https://github.com/jaysonsantos/python-binary-memcached'
@@ -12,26 +11,26 @@
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
checkdepends=('memcached' 'python-pytest-runner' 'python2-pytest-runner' 'python2-mock')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/jaysonsantos/python-binary-memcached/archive/$_commit.tar.gz")
-sha512sums=('2437fa7435f57fa8a5c9ccce4bdff1f2239418a3df894b40f23f3d0fa714a42fffb06af84c6bad8442c05aa136104822ddbfbd71bf1a144ddb95919e5c582d48')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jaysonsantos/python-binary-memcached/archive/v$pkgver.tar.gz")
+sha512sums=('379bc876c4834a3c46dbfeada8a6810656eb255f3b26655f058e058c9e571ccd10831d51c19a2c65f1b54d65829c9cadad87ee588a3728e8d37d5835785f97e8')
prepare() {
- cp -a python-binary-memcached-$_commit{,-py2}
+ cp -a python-binary-memcached-$pkgver{,-py2}
}
build() {
- cd "$srcdir"/python-binary-memcached-$_commit
+ cd "$srcdir"/python-binary-memcached-$pkgver
python setup.py build
- cd "$srcdir"/python-binary-memcached-$_commit-py2
+ cd "$srcdir"/python-binary-memcached-$pkgver-py2
python2 setup.py build
}
check() {
- cd "$srcdir"/python-binary-memcached-$_commit
+ cd "$srcdir"/python-binary-memcached-$pkgver
python setup.py pytest
- cd "$srcdir"/python-binary-memcached-$_commit-py2
+ cd "$srcdir"/python-binary-memcached-$pkgver-py2
python2 setup.py pytest
}
@@ -38,7 +37,7 @@
package_python-binary-memcached() {
depends=('python-six')
- cd python-binary-memcached-$_commit
+ cd python-binary-memcached-$pkgver
python setup.py install --root "$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
@@ -46,7 +45,7 @@
package_python2-binary-memcached() {
depends=('python2-six')
- cd python-binary-memcached-$_commit-py2
+ cd python-binary-memcached-$pkgver-py2
python2 setup.py install --root "$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list