[arch-commits] Commit in python-zope-exceptions/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 4 20:14:10 UTC 2018
Date: Thursday, October 4, 2018 @ 20:14:09
Author: felixonmars
Revision: 389667
archrelease: copy trunk to community-any
Added:
python-zope-exceptions/repos/community-any/PKGBUILD
(from rev 389665, python-zope-exceptions/trunk/PKGBUILD)
Deleted:
python-zope-exceptions/repos/community-any/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-04 20:14:04 UTC (rev 389666)
+++ PKGBUILD 2018-10-04 20:14:09 UTC (rev 389667)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-exceptions
-pkgname=('python-zope-exceptions' 'python2-zope-exceptions')
-pkgver=4.2.0
-pkgrel=2
-pkgdesc="Generic exceptions and implementations for Zope"
-arch=('any')
-url="https://github.com/zopefoundation/zope.exceptions"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface')
-checkdepends=('python-zope-testrunner' 'python2-zope-testrunner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.exceptions/archive/$pkgver.tar.gz")
-sha512sums=('120ae57003426cd308f213885c53fd6d0e61a6ff08eeaa912c9a3ff9f4274a5dfafdc8016814cbef59f9d2722edac0a032286ef334b8dd452afed048cd8c21a5')
-
-prepare() {
- cp -a zope.exceptions-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/zope.exceptions-$pkgver
- python setup.py build
-
- cd "$srcdir"/zope.exceptions-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/zope.exceptions-$pkgver
- python setup.py test || :
-
- cd "$srcdir"/zope.exceptions-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-zope-exceptions() {
- depends=('python-setuptools' 'python-zope-interface')
-
- cd zope.exceptions-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-exceptions() {
- depends=('python2-setuptools' 'python2-zope-interface')
-
- cd zope.exceptions-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-zope-exceptions/repos/community-any/PKGBUILD (from rev 389665, python-zope-exceptions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-04 20:14:09 UTC (rev 389667)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-zope-exceptions
+pkgname=('python-zope-exceptions' 'python2-zope-exceptions')
+pkgver=4.3
+pkgrel=1
+pkgdesc="Generic exceptions and implementations for Zope"
+arch=('any')
+url="https://github.com/zopefoundation/zope.exceptions"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+ 'python2-zope-interface')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.exceptions/archive/$pkgver.tar.gz")
+sha512sums=('c327b52090ea30604d9bd6d2e00b5ebbef54571c8723ecde35ffaa7301d39e819ed59fb051bc3515560830e0834c249cb98b5db2ba1fb2639a5d19b531875680')
+
+prepare() {
+ cp -a zope.exceptions-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/zope.exceptions-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/zope.exceptions-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.exceptions-$pkgver
+ python setup.py test || :
+
+ cd "$srcdir"/zope.exceptions-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-zope-exceptions() {
+ depends=('python-setuptools' 'python-zope-interface')
+
+ cd zope.exceptions-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-zope-exceptions() {
+ depends=('python2-setuptools' 'python2-zope-interface')
+
+ cd zope.exceptions-$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