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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 15:14:53 UTC 2018


    Date: Friday, November 9, 2018 @ 15:14:53
  Author: felixonmars
Revision: 404365

upgpkg: python-zope-component 4.5-1

Modified:
  python-zope-component/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-09 15:10:30 UTC (rev 404364)
+++ PKGBUILD	2018-11-09 15:14:53 UTC (rev 404365)
@@ -3,24 +3,26 @@
 
 pkgbase=python-zope-component
 pkgname=('python-zope-component' 'python2-zope-component')
-pkgver=4.4.1
-pkgrel=2
+pkgver=4.5
+pkgrel=1
 pkgdesc="Represents the core of the Zope Component Architecture"
 arch=('any')
 url="https://github.com/zopefoundation/zope.component"
 license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
-             'python2-zope-interface' 'python-zope-event' 'python2-zope-event')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-deferredimport'
+             'python2-zope-deferredimport' 'python-zope-deprecation' 'python2-zope-deprecation'
+             'python-zope-event' 'python2-zope-event' 'python-zope-hookable' 'python2-zope-hookable'
+             'python-zope-interface' 'python2-zope-interface')
 checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-persistent'
-              'python2-persistent' 'python-zope-hookable' 'python2-zope-hookable'
-              'python-zope-location' 'python2-zope-location' 'python-zope-proxy'
-              'python2-zope-proxy' 'python-zope-security' 'python2-zope-security'
-              'python-zope-configuration' 'python2-zope-configuration' 'python-zope-i18nmessageid'
-              'python2-zope-i18nmessageid')
+              'python2-persistent' 'python-zope-location' 'python2-zope-location'
+              'python-zope-proxy' 'python2-zope-proxy' 'python-zope-security'
+              'python2-zope-security' 'python-zope-configuration' 'python2-zope-configuration'
+              'python-zope-i18nmessageid' 'python2-zope-i18nmessageid')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.component/archive/$pkgver.tar.gz")
-sha512sums=('ae49b2663403ee6af53b580a8cdf973d69800f2451e6de3181bf742fa33cd5fcf1f98fd01ab92ea22a816fcd1678030555bff903070309df935921c9c77f82ec')
+sha512sums=('cca873bcb62b6eb60825c55fa8fe9704e505c9bec90f851921545d543c23e3995cc9d70ab9e7b8cc6b37853bbcffd09c93891f675ff113e68b56e23d8b28c912')
 
 prepare() {
+  # Build in separated dir to avoid polluting .pyc files
   cp -a zope.component-$pkgver{,-py2}
 }
 
@@ -34,7 +36,7 @@
 
 check() {
   cd "$srcdir"/zope.component-$pkgver
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
 
   cd "$srcdir"/zope.component-$pkgver-py2
   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
@@ -41,7 +43,8 @@
 }
 
 package_python-zope-component() {
-  depends=('python-setuptools' 'python-zope-interface' 'python-zope-event')
+  depends=('python-setuptools' 'python-zope-deferredimport' 'python-zope-deprecation'
+           'python-zope-event' 'python-zope-hookable' 'python-zope-interface')
 
   cd zope.component-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
@@ -48,7 +51,8 @@
 }
 
 package_python2-zope-component() {
-  depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-event')
+  depends=('python2-setuptools' 'python2-zope-deferredimport' 'python2-zope-deprecation'
+           'python2-zope-event' 'python2-zope-hookable' 'python2-zope-interface')
 
   cd zope.component-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1


More information about the arch-commits mailing list