[arch-commits] Commit in python-zope-interface/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Nov 20 07:39:24 UTC 2015
Date: Friday, November 20, 2015 @ 08:39:23
Author: fyan
Revision: 251670
archrelease: copy trunk to extra-x86_64
Added:
python-zope-interface/repos/extra-x86_64/PKGBUILD
(from rev 251669, python-zope-interface/trunk/PKGBUILD)
Deleted:
python-zope-interface/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 110 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 54 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-20 07:38:56 UTC (rev 251669)
+++ PKGBUILD 2015-11-20 07:39:23 UTC (rev 251670)
@@ -1,56 +0,0 @@
-# $Id$
-# 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=4.1.3
-pkgrel=1
-license=('ZPL')
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/zope.interface"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-zope-event' 'python2-zope-event')
-source=("http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz")
-md5sums=('9ae3d24c0c7415deb249dd1a132f0f79')
-
-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}"
- python setup.py test
-
- cd "${srcdir}/zope.interface-${pkgver}-py2"
- python2 setup.py test
-}
-
-package_python-zope-interface() {
- pkgdesc=('Zope Interfaces for Python 3.x')
- depends=('python')
-
- cd "${srcdir}/zope.interface-${pkgver}"
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
- cp src/zope/__init__.py "${pkgdir}/usr/lib/python3.5/site-packages/zope/"
-}
-
-package_python2-zope-interface(){
- pkgdesc=('Zope Interfaces for Python 2.x')
- depends=('python2')
- replaces=('zope-interface')
- provides=('zope-interface')
-
- cd "${srcdir}/zope.interface-${pkgver}-py2"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
- cp src/zope/__init__.py "${pkgdir}/usr/lib/python2.7/site-packages/zope/"
-}
Copied: python-zope-interface/repos/extra-x86_64/PKGBUILD (from rev 251669, python-zope-interface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-11-20 07:39:23 UTC (rev 251670)
@@ -0,0 +1,54 @@
+# $Id$
+# 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=4.1.3
+pkgrel=2
+license=('ZPL')
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/zope.interface"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-zope-event' 'python2-zope-event')
+source=("http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz")
+md5sums=('9ae3d24c0c7415deb249dd1a132f0f79')
+
+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}"
+ python setup.py test
+
+ cd "${srcdir}/zope.interface-${pkgver}-py2"
+ python2 setup.py test
+}
+
+package_python-zope-interface() {
+ pkgdesc=('Zope Interfaces for Python 3.x')
+ depends=('python')
+
+ cd "${srcdir}/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')
+ replaces=('zope-interface')
+ provides=('zope-interface')
+
+ cd "${srcdir}/zope.interface-${pkgver}-py2"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list