[arch-commits] Commit in python-funcy/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun May 14 02:54:42 UTC 2017


    Date: Sunday, May 14, 2017 @ 02:54:41
  Author: felixonmars
Revision: 227932

upgpkg: python-funcy 1.7.4-1

Modified:
  python-funcy/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-14 02:53:58 UTC (rev 227931)
+++ PKGBUILD	2017-05-14 02:54:41 UTC (rev 227932)
@@ -3,34 +3,34 @@
 
 pkgbase=python-funcy
 pkgname=('python-funcy' 'python2-funcy')
-pkgver=1.7.3
+pkgver=1.7.4
 pkgrel=1
 pkgdesc='A fancy and practical functional tools'
 arch=('any')
 license=('BSD')
 url='https://github.com/Suor/funcy'
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
+makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-whatever' 'python2-whatever')
-source=("git+https://github.com/Suor/funcy.git#tag=$pkgver")
-md5sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Suor/funcy/archive/$pkgver.tar.gz")
+sha512sums=('a6cfcbc69d88a0584e7062a48cbe97037d4961ef390e47d657d3239d031e5fd23c7cbeee56f83ffe62ed14e30fa955a63f817e94d0d2b641a7e2039684b72e01')
 
 prepare() {
-  cp -a funcy{,-py2}
+  cp -a funcy-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/funcy
+  cd "$srcdir"/funcy-$pkgver
   python setup.py build
 
-  cd "$srcdir"/funcy-py2
+  cd "$srcdir"/funcy-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/funcy
+  cd "$srcdir"/funcy-$pkgver
   python setup.py pytest
 
-  cd "$srcdir"/funcy-py2
+  cd "$srcdir"/funcy-$pkgver-py2
   python2 setup.py pytest
 }
 
@@ -37,7 +37,7 @@
 package_python-funcy() {
   depends=('python')
 
-  cd funcy
+  cd funcy-$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-funcy() {
   depends=('python2')
 
-  cd funcy-py2
+  cd funcy-$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