[arch-commits] Commit in python-whatever/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 12 04:36:36 UTC 2017
Date: Monday, June 12, 2017 @ 04:36:35
Author: felixonmars
Revision: 236246
upgpkg: python-whatever 0.4.3-1
Modified:
python-whatever/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-12 04:35:44 UTC (rev 236245)
+++ PKGBUILD 2017-06-12 04:36:35 UTC (rev 236246)
@@ -3,34 +3,34 @@
pkgbase=python-whatever
pkgname=('python-whatever' 'python2-whatever')
-pkgver=0.4.2
-pkgrel=2
+pkgver=0.4.3
+pkgrel=1
pkgdesc='Easy way to make anonymous functions by partial application of operators'
arch=('any')
license=('BSD')
url='https://github.com/Suor/whatever'
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
+makedepends=('python-setuptools' 'python2-setuptools')
checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("git+https://github.com/Suor/whatever.git#tag=$pkgver")
-md5sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Suor/whatever/archive/$pkgver.tar.gz")
+sha512sums=('162d66753ef4fb15279150b7fa953b4ecf086e2b36cc77531dac099ff4a25b3458af627bdf52e168b7b4b2163a1445f35c2c656b1c10c0c73502d2357ba42dd8')
prepare() {
- cp -a whatever{,-py2}
+ cp -a whatever-$pkgver{,-py2}
}
build() {
- cd "$srcdir"/whatever
+ cd "$srcdir"/whatever-$pkgver
python setup.py build
- cd "$srcdir"/whatever-py2
+ cd "$srcdir"/whatever-$pkgver-py2
python2 setup.py build
}
check() {
- cd "$srcdir"/whatever
+ cd "$srcdir"/whatever-$pkgver
python setup.py ptr
- cd "$srcdir"/whatever-py2
+ cd "$srcdir"/whatever-$pkgver-py2
python2 setup.py ptr
}
@@ -37,7 +37,7 @@
package_python-whatever() {
depends=('python')
- cd whatever
+ cd whatever-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
@@ -45,7 +45,7 @@
package_python2-whatever() {
depends=('python2')
- cd whatever-py2
+ cd whatever-$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