[arch-commits] Commit in python-zope-component/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 10 10:35:09 UTC 2019
Date: Sunday, November 10, 2019 @ 10:35:08
Author: foutrelis
Revision: 525027
archrelease: copy trunk to community-staging-any
Added:
python-zope-component/repos/community-staging-any/PKGBUILD
(from rev 525026, python-zope-component/trunk/PKGBUILD)
Deleted:
python-zope-component/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 94 +++++++++++++++++++++----------------------------------------
1 file changed, 33 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-10 10:35:04 UTC (rev 525026)
+++ PKGBUILD 2019-11-10 10:35:08 UTC (rev 525027)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
-
-pkgbase=python-zope-component
-pkgname=('python-zope-component' 'python2-zope-component')
-pkgver=4.5
-pkgrel=3
-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-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-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=('cca873bcb62b6eb60825c55fa8fe9704e505c9bec90f851921545d543c23e3995cc9d70ab9e7b8cc6b37853bbcffd09c93891f675ff113e68b56e23d8b28c912')
-
-prepare() {
- # Build in separated dir to avoid polluting .pyc files
- cp -a zope.component-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/zope.component-$pkgver
- python setup.py build
-
- cd "$srcdir"/zope.component-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/zope.component-$pkgver
- 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
-}
-
-package_python-zope-component() {
- 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
-}
-
-package_python2-zope-component() {
- 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
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-zope-component/repos/community-staging-any/PKGBUILD (from rev 525026, python-zope-component/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-10 10:35:08 UTC (rev 525027)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+pkgname=python-zope-component
+pkgver=4.5
+pkgrel=3
+pkgdesc="Represents the core of the Zope Component Architecture"
+arch=('any')
+url="https://github.com/zopefoundation/zope.component"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-deferredimport' 'python-zope-deprecation'
+ 'python-zope-event' 'python-zope-hookable' 'python-zope-interface')
+checkdepends=('python-zope-testrunner' 'python-persistent' 'python-zope-location'
+ 'python-zope-proxy' 'python-zope-security' 'python-zope-configuration' 'python-zope-i18nmessageid')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.component/archive/$pkgver.tar.gz")
+sha512sums=('cca873bcb62b6eb60825c55fa8fe9704e505c9bec90f851921545d543c23e3995cc9d70ab9e7b8cc6b37853bbcffd09c93891f675ff113e68b56e23d8b28c912')
+
+build() {
+ cd "$srcdir"/zope.component-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.component-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+ cd zope.component-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list