[arch-commits] Commit in python-persistent/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 23 07:38:34 UTC 2018


    Date: Thursday, August 23, 2018 @ 07:38:34
  Author: felixonmars
Revision: 373341

archrelease: copy trunk to community-x86_64

Added:
  python-persistent/repos/community-x86_64/PKGBUILD
    (from rev 373340, python-persistent/trunk/PKGBUILD)
Deleted:
  python-persistent/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-23 07:38:13 UTC (rev 373340)
+++ PKGBUILD	2018-08-23 07:38:34 UTC (rev 373341)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-persistent
-pkgname=('python-persistent' 'python2-persistent')
-pkgver=4.3.0
-pkgrel=1
-pkgdesc="Translucent persistent objects"
-arch=('x86_64')
-license=('ZPL')
-url="http://www.zope.org/Products/ZODB"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
-             'python2-zope-interface')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/persistent/archive/$pkgver.tar.gz")
-sha512sums=('9a8fbe116a736e589c5e331120664e8bb56f29ad6f54641644adaeb8fb487f6794d58229b34bb0ab47d592dce27342625197cbe0f0e7af117dc0afdd3136616c')
-
-prepare() {
-  cp -a persistent-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/persistent-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/persistent-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/persistent-$pkgver
-  nosetests3
-
-  cd "$srcdir"/persistent-$pkgver-py2
-  nosetests2
-}
-
-package_python-persistent() {
-  depends=('python-zope-interface')
-
-  cd persistent-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-persistent() {
-  depends=('python2-zope-interface')
-
-  cd persistent-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-persistent/repos/community-x86_64/PKGBUILD (from rev 373340, python-persistent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-23 07:38:34 UTC (rev 373341)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-persistent
+pkgname=('python-persistent' 'python2-persistent')
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="Translucent persistent objects"
+arch=('x86_64')
+license=('ZPL')
+url="http://www.zope.org/Products/ZODB"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+             'python2-zope-interface' 'python-cffi' 'python2-cffi')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-manuel' 'python2-manuel')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/persistent/archive/$pkgver.tar.gz")
+sha512sums=('c1884a30ea19e694364c6aa50e0d75250c5fcd3e3b5e2ce472e281e0412760a785b66d839e9fa7a778acb6b5f314a26ae681f4330721d558f61507d3548ca28b')
+
+prepare() {
+  cp -a persistent-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/persistent-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/persistent-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/persistent-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" python -m zope.testrunner --test-path=.
+
+  cd "$srcdir"/persistent-$pkgver-py2
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 -m zope.testrunner --test-path=.
+}
+
+package_python-persistent() {
+  depends=('python-zope-interface')
+
+  cd persistent-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-persistent() {
+  depends=('python2-zope-interface')
+
+  cd persistent-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list