Date: Saturday, November 17, 2018 @ 21:24:08
  Author: ffy00
Revision: 408619

archrelease: copy trunk to community-any

Added:
  python-zc.lockfile/repos/community-any/PKGBUILD
    (from rev 408618, python-zc.lockfile/trunk/PKGBUILD)
Deleted:
  python-zc.lockfile/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-17 19:15:17 UTC (rev 408618)
+++ PKGBUILD    2018-11-17 21:24:08 UTC (rev 408619)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
-
-pkgbase=python-zc.lockfile
-_pkgname=${pkgbase#python-}
-pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=1.3.0
-pkgrel=1
-arch=('any')
-pkgdesc="Zope testing frameworks"
-url="https://github.com/zopefoundation/$_pkgname";
-license=('custom:ZPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-zope.testing' 'python2-zope.testing')
-source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('33385e2b9400e507c4270cd754cbbf61a4733ac11b93a7c985f75cd9148df596afeaa16c9307712e1b9b525e8523ed6aa8ad0d3575f52266848b16933d5a60be')
-
-prepare() {
-  cp -a $_pkgname-$pkgver{,-py2}
-}
-
-build() {
-  msg2 "Building python-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver
-  python setup.py build
-
-  msg2 "Building python2-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  msg2 "Running tests on python-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver
-  python setup.py test -q
-
-  msg2 "Running tests on python2-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver-py2
-  python2 setup.py test -q
-}
-
-package_python-zc.lockfile() {
-  depends=('python')
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-zc.lockfile() {
-  depends=('python2')
-  cd $_pkgname-$pkgver-py2
-
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-zc.lockfile/repos/community-any/PKGBUILD (from rev 408618, 
python-zc.lockfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-11-17 21:24:08 UTC (rev 408619)
@@ -0,0 +1,57 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+
+pkgbase=python-zc.lockfile
+_pkgname=${pkgbase#python-}
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=1.4
+pkgrel=1
+arch=('any')
+pkgdesc="Zope testing frameworks"
+url="https://github.com/zopefoundation/$_pkgname";
+license=('custom:ZPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-zope.testing' 'python2-zope.testing')
+source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('7d0db97132e25465783978e1432629295965cac44ab74c1fb1862632dc98012bf5f04990f295194ccfeb8010a5a08836e85a66e27032b3e4f5fd03d0a0c1e9fc')
+
+prepare() {
+  cp -a $_pkgname-$pkgver{,-py2}
+}
+
+build() {
+  echo "Building python-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver
+  python setup.py build
+
+  echo "Building python2-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  echo "Running tests on python-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver
+  python setup.py test -q
+
+  echo "Running tests on python2-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  python2 setup.py test -q
+}
+
+package_python-zc.lockfile() {
+  depends=('python')
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-zc.lockfile() {
+  depends=('python2')
+  cd $_pkgname-$pkgver-py2
+
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to