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

Felix Yan felixonmars at archlinux.org
Mon Oct 17 03:31:20 UTC 2016


    Date: Monday, October 17, 2016 @ 03:31:19
  Author: felixonmars
Revision: 192410

upgpkg: python-logilab-common 1.2.2-2

- rename obsolete pytest executable to avoid conflict with new pytest

Modified:
  python-logilab-common/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-17 03:30:08 UTC (rev 192409)
+++ PKGBUILD	2016-10-17 03:31:19 UTC (rev 192410)
@@ -7,7 +7,7 @@
 pkgbase=python-logilab-common
 pkgname=('python2-logilab-common' 'python-logilab-common')
 pkgver=1.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Useful miscellaneous modules used by Logilab projects"
 arch=('any')
 url="http://www.logilab.org/project/logilab-common"
@@ -44,6 +44,8 @@
   cd "$srcdir"/logilab-common-$pkgver
 
   python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+
+  mv "$pkgdir"/usr/bin/pytest{,-logilab}
 }
 
 package_python2-logilab-common() {
@@ -54,5 +56,5 @@
 
   python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
 
-  mv "$pkgdir"/usr/bin/pytest{,2}
+  mv "$pkgdir"/usr/bin/pytest{,2-logilab}
 }



More information about the arch-commits mailing list