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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 12:43:30 UTC 2020


    Date: Wednesday, November 11, 2020 @ 12:43:30
  Author: foutrelis
Revision: 750770

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 12:43:26 UTC (rev 750769)
+++ PKGBUILD	2020-11-11 12:43:30 UTC (rev 750770)
@@ -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=2.0
-pkgrel=4
-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=('bdb429c506064a83cb6fe0964aef6793cc20b5c954c208497a2c3d596213687b40be6d778490d3317de87ff997dfcfc9357f6e5225f48636148f1acdc9325350')
-
-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-staging-any/PKGBUILD (from rev 750769, python-zc.lockfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 12:43:30 UTC (rev 750770)
@@ -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=2.0
+pkgrel=5
+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' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('bdb429c506064a83cb6fe0964aef6793cc20b5c954c208497a2c3d596213687b40be6d778490d3317de87ff997dfcfc9357f6e5225f48636148f1acdc9325350')
+
+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