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

Eli Schwartz eschwartz at archlinux.org
Sun Feb 10 21:01:51 UTC 2019


    Date: Sunday, February 10, 2019 @ 21:01:50
  Author: eschwartz
Revision: 431679

upgpkg: python-zope-schema 4.9.3-2

fix python3 directory being used to package python2 version
this resulted in shipping pointless python3 bytecode in the python2- package

Modified:
  python-zope-schema/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-10 20:59:06 UTC (rev 431678)
+++ PKGBUILD	2019-02-10 21:01:50 UTC (rev 431679)
@@ -3,7 +3,7 @@
 pkgbase=python-zope-schema
 pkgname=('python-zope-schema' 'python2-zope-schema')
 pkgver=4.9.3
-pkgrel=1
+pkgrel=2
 pkgdesc="zope.interface extension for defining data schemas"
 arch=('any')
 url="https://github.com/zopefoundation/zope.schema"
@@ -45,7 +45,7 @@
 package_python2-zope-schema() {
   depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-event')
 
-  cd "$srcdir"/zope.schema-$pkgver
+  cd "$srcdir"/zope.schema-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1
 }
 



More information about the arch-commits mailing list