[arch-commits] Commit in zope-interface/repos/extra-any (PKGBUILD PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Tue May 14 07:41:52 EDT 2013


    Date: Tuesday, May 14, 2013 @ 13:41:51
  Author: eric
Revision: 185499

archrelease: copy trunk to extra-any

Added:
  zope-interface/repos/extra-any/PKGBUILD
    (from rev 185498, zope-interface/trunk/PKGBUILD)
Deleted:
  zope-interface/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-14 11:41:23 UTC (rev 185498)
+++ PKGBUILD	2013-05-14 11:41:51 UTC (rev 185499)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgbase=zope-interface
-pkgname=('python-zope-interface' 'python2-zope-interface')
-pkgver=4.0.3
-pkgrel=1
-license=('ZPL')
-arch=('any')
-url="http://pypi.python.org/pypi/zope.interface"
-makedepends=('python-distribute' 'python2-distribute')
-source=(http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz)
-md5sums=('1ddd308f2c83703accd1696158c300eb')
-
-build() {
-  cd "${srcdir}"
-  cp -a zope.interface-${pkgver}{,-python2}
-
-  #build python3 module
-  cd "${srcdir}/zope.interface-${pkgver}"
-  python setup.py build
-
-  #build python2 module
-  cd "${srcdir}/zope.interface-${pkgver}-python2"
-  python2 setup.py build
-}
-
-check() {
-  cd "${srcdir}/zope.interface-${pkgver}"
-  python setup.py test
-
-  cd "${srcdir}/zope.interface-${pkgver}-python2"
-  python2 setup.py test
-}
-
-package_python-zope-interface() {
-  pkgdesc=('Zope Interfaces for Python3')
-  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.3/site-packages/zope/"
-  #delete debug
-  rm "${pkgdir}"/usr/lib/python3.3/site-packages/zope/interface/_zope_interface_coptimizations.cpython-33m.so
-}
-
-package_python2-zope-interface(){
-  pkgdesc=('Zope Interfaces for Python2')
-  depends=('python2')
-  replaces=('zope-interface')
-  provides=('zope-interface')
-  cd "${srcdir}/zope.interface-${pkgver}-python2"
-  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-  cp src/zope/__init__.py "${pkgdir}/usr/lib/python2.7/site-packages/zope/"
-  #delete debug
-  rm "${pkgdir}"/usr/lib/python2.7/site-packages/zope/interface/_zope_interface_coptimizations.so
-}

Copied: zope-interface/repos/extra-any/PKGBUILD (from rev 185498, zope-interface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-14 11:41:51 UTC (rev 185499)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgbase=zope-interface
+pkgname=('python-zope-interface' 'python2-zope-interface')
+pkgver=4.0.5
+pkgrel=1
+license=('ZPL')
+arch=('any')
+url="http://pypi.python.org/pypi/zope.interface"
+makedepends=('python-distribute' 'python2-distribute')
+source=(http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.zip)
+md5sums=('caf26025ae1b02da124a58340e423dfe')
+
+build() {
+  cd "${srcdir}"
+  cp -a zope.interface-${pkgver}{,-python2}
+
+  #build python3 module
+  cd "${srcdir}/zope.interface-${pkgver}"
+  python setup.py build
+
+  #build python2 module
+  cd "${srcdir}/zope.interface-${pkgver}-python2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/zope.interface-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/zope.interface-${pkgver}-python2"
+  python2 setup.py test
+}
+
+package_python-zope-interface() {
+  pkgdesc=('Zope Interfaces for Python3')
+  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.3/site-packages/zope/"
+  #delete debug
+  rm "${pkgdir}"/usr/lib/python3.3/site-packages/zope/interface/_zope_interface_coptimizations.cpython-33m.so
+}
+
+package_python2-zope-interface(){
+  pkgdesc=('Zope Interfaces for Python2')
+  depends=('python2')
+  replaces=('zope-interface')
+  provides=('zope-interface')
+  cd "${srcdir}/zope.interface-${pkgver}-python2"
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  cp src/zope/__init__.py "${pkgdir}/usr/lib/python2.7/site-packages/zope/"
+  #delete debug
+  rm "${pkgdir}"/usr/lib/python2.7/site-packages/zope/interface/_zope_interface_coptimizations.so
+}



More information about the arch-commits mailing list