[arch-commits] Commit in python-zope-annotation/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Sep 22 16:06:13 UTC 2017
Date: Friday, September 22, 2017 @ 16:06:12
Author: felixonmars
Revision: 259593
archrelease: copy trunk to community-any
Added:
python-zope-annotation/repos/community-any/PKGBUILD
(from rev 259592, python-zope-annotation/trunk/PKGBUILD)
Deleted:
python-zope-annotation/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-22 16:05:43 UTC (rev 259592)
+++ PKGBUILD 2017-09-22 16:06:12 UTC (rev 259593)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-annotation
-pkgname=('python-zope-annotation' 'python2-zope-annotation')
-pkgver=4.5
-pkgrel=1
-pkgdesc="Object annotation mechanism"
-arch=('any')
-url="https://github.com/zopefoundation/zope.annotation"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface' 'python-zope-component' 'python2-zope-component'
- 'python-zope-location' 'python2-zope-location' 'python-zope-proxy'
- 'python2-zope-proxy')
-checkdepends=('python-zope-configuration' 'python2-zope-configuration' 'python-zope-testing'
- 'python2-zope-testing' 'python-zope-testrunner' 'python2-zope-testrunner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.annotation/archive/$pkgver.tar.gz")
-sha512sums=('533d76e63fc987ed7c78bc67aafc8f48496041cf324439d103f7a37e2aacb0b51453d7c98be5ebd7f9f6b848492e65cbffa47f5dc81538b30ed9aa0ce145b1b2')
-
-prepare() {
- cp -a zope.annotation-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/zope.annotation-$pkgver
- python setup.py build
-
- cd "$srcdir"/zope.annotation-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/zope.annotation-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
-
- cd "$srcdir"/zope.annotation-$pkgver-py2
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
-}
-
-package_python-zope-annotation() {
- depends=('python-setuptools' 'python-zope-interface' 'python-zope-component'
- 'python-zope-location' 'python-zope-proxy')
-
- cd "$srcdir"/zope.annotation-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-annotation() {
- depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-component'
- 'python2-zope-location' 'python2-zope-proxy')
-
- cd "$srcdir"/zope.annotation-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-zope-annotation/repos/community-any/PKGBUILD (from rev 259592, python-zope-annotation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-09-22 16:06:12 UTC (rev 259593)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-zope-annotation
+pkgname=('python-zope-annotation' 'python2-zope-annotation')
+pkgver=4.6.0
+pkgrel=1
+pkgdesc="Object annotation mechanism"
+arch=('any')
+url="https://github.com/zopefoundation/zope.annotation"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+ 'python2-zope-interface' 'python-zope-component' 'python2-zope-component'
+ 'python-zope-location' 'python2-zope-location' 'python-zope-proxy'
+ 'python2-zope-proxy')
+checkdepends=('python-zope-configuration' 'python2-zope-configuration' 'python-zope-testing'
+ 'python2-zope-testing' 'python-zope-testrunner' 'python2-zope-testrunner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.annotation/archive/$pkgver.tar.gz")
+sha512sums=('d366e37ccebe646c3260f6341503689f97b170de6e0aa127f93c437ec22deb15a7ae3f6e13f8fb1b667f87a1ed4ffb7f38cd6ce4e91406a0c8ccc0e356ef0795')
+
+prepare() {
+ cp -a zope.annotation-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/zope.annotation-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/zope.annotation-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.annotation-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
+
+ cd "$srcdir"/zope.annotation-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
+}
+
+package_python-zope-annotation() {
+ depends=('python-setuptools' 'python-zope-interface' 'python-zope-component'
+ 'python-zope-location' 'python-zope-proxy')
+
+ cd "$srcdir"/zope.annotation-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-zope-annotation() {
+ depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-component'
+ 'python2-zope-location' 'python2-zope-proxy')
+
+ cd "$srcdir"/zope.annotation-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list