[arch-commits] Commit in python-zc.lockfile/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Jan 12 16:54:31 UTC 2019


    Date: Saturday, January 12, 2019 @ 16:54:30
  Author: ffy00
Revision: 422723

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-12 16:54:19 UTC (rev 422722)
+++ PKGBUILD	2019-01-12 16:54:30 UTC (rev 422723)
@@ -1,57 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at 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
-}

Copied: python-zc.lockfile/repos/community-any/PKGBUILD (from rev 422722, python-zc.lockfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-12 16:54:30 UTC (rev 422723)
@@ -0,0 +1,57 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgbase=python-zc.lockfile
+_pkgname=${pkgbase#python-}
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=1.4
+pkgrel=2
+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
+}


More information about the arch-commits mailing list