[arch-commits] Commit in python-zope-interface/repos/testing-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 1 19:32:47 UTC 2020
Date: Thursday, October 1, 2020 @ 19:32:47
Author: felixonmars
Revision: 397038
archrelease: copy trunk to testing-x86_64
Added:
python-zope-interface/repos/testing-x86_64/PKGBUILD
(from rev 397037, python-zope-interface/trunk/PKGBUILD)
Deleted:
python-zope-interface/repos/testing-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-01 19:32:30 UTC (rev 397037)
+++ PKGBUILD 2020-10-01 19:32:47 UTC (rev 397038)
@@ -1,52 +0,0 @@
-# Maintainer : Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgbase=python-zope-interface
-pkgname=('python-zope-interface' 'python2-zope-interface')
-pkgver=5.1.1
-pkgrel=1
-license=('ZPL')
-arch=('x86_64')
-url="https://pypi.python.org/pypi/zope.interface"
-makedepends=('python-pip' 'python2-pip')
-checkdepends=('python-zope-event' 'python2-zope-event' 'python-zope-testing' 'python2-zope-testing'
- 'python-coverage' 'python2-coverage')
-source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz")
-sha512sums=('9cf195154592f5bac3335420eb01c55914b856e4b135b1756c9d812aa9418dcbd82a7e8438d3d1b5891867ca655c722641eb4d1606c47132aa8f9523b67c5725')
-
-prepare() {
- cp -a zope.interface-${pkgver}{,-py2}
-}
-
-build() {
- cd "$srcdir"/zope.interface-$pkgver
- python setup.py build
-
- cd "$srcdir"/zope.interface-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/zope.interface-$pkgver
- PYTHONPATH="$PWD/build/lib.linux-x86_64-3.8" python setup.py test
-
- cd "$srcdir"/zope.interface-$pkgver-py2
- PYTHONPATH="$PWD/build/lib.linux-x86_64-2.7" python2 setup.py test
-}
-
-package_python-zope-interface() {
- pkgdesc='Zope Interfaces for Python 3.x'
- depends=('python')
-
- cd zope.interface-$pkgver
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-interface(){
- pkgdesc='Zope Interfaces for Python 2.x'
- depends=('python2')
-
- cd zope.interface-$pkgver-py2
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
Copied: python-zope-interface/repos/testing-x86_64/PKGBUILD (from rev 397037, python-zope-interface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-01 19:32:47 UTC (rev 397038)
@@ -0,0 +1,52 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgbase=python-zope-interface
+pkgname=('python-zope-interface' 'python2-zope-interface')
+pkgver=5.1.2
+pkgrel=1
+license=('ZPL')
+arch=('x86_64')
+url="https://pypi.python.org/pypi/zope.interface"
+makedepends=('python-pip' 'python2-pip')
+checkdepends=('python-zope-event' 'python2-zope-event' 'python-zope-testing' 'python2-zope-testing'
+ 'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz")
+sha512sums=('c0efd82d1b2f3bb6c71d89a74ccbef60955c74012fe2b87c752198c02374b3e5e113679451f2239474dbed0cbebb82b3fdefc3524d00a6f3896a16505847e519')
+
+prepare() {
+ cp -a zope.interface-${pkgver}{,-py2}
+}
+
+build() {
+ cd "$srcdir"/zope.interface-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/zope.interface-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.interface-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-x86_64-3.8" python setup.py test
+
+ cd "$srcdir"/zope.interface-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib.linux-x86_64-2.7" python2 setup.py test
+}
+
+package_python-zope-interface() {
+ pkgdesc='Zope Interfaces for Python 3.x'
+ depends=('python')
+
+ cd zope.interface-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python2-zope-interface(){
+ pkgdesc='Zope Interfaces for Python 2.x'
+ depends=('python2')
+
+ cd zope.interface-$pkgver-py2
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list