[arch-commits] Commit in python-paver/repos/community-staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Nov 14 23:53:09 UTC 2020


    Date: Saturday, November 14, 2020 @ 23:53:09
  Author: felixonmars
Revision: 754278

archrelease: copy trunk to community-staging-any

Added:
  python-paver/repos/community-staging-any/PKGBUILD
    (from rev 754277, python-paver/trunk/PKGBUILD)
Deleted:
  python-paver/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-14 23:52:12 UTC (rev 754277)
+++ PKGBUILD	2020-11-14 23:53:09 UTC (rev 754278)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-paver
-pkgver=1.3.4
-pkgrel=3
-pkgdesc="Python-based project scripting"
-url="https://github.com/paver/paver"
-license=('BSD')
-arch=('any')
-depends=('python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-cogapp' 'python-mock' 'python-nose' 'python-virtualenv')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/paver/paver/archive/Paver-$pkgver.tar.gz")
-sha512sums=('5747235b81df1dc8726bfa949f13c544e03c596f58c8bfc7ab55cc285f793fbb44cbcaa98acbc6e4a0554418755d3d70246b0e37249473b062d54a23b6bea35f')
-
-prepare() {
-  cd paver-Paver-$pkgver
-  sed -i 's/from unittest2 import/from unittest import/' tests_integration/*.py
-}
-
-build() {
-  cd paver-Paver-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd paver-Paver-$pkgver
-  python setup.py nosetests
-}
-
-package() {
-  cd paver-Paver-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-paver/repos/community-staging-any/PKGBUILD (from rev 754277, python-paver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-14 23:53:09 UTC (rev 754278)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-paver
+pkgver=1.3.4
+pkgrel=4
+pkgdesc="Python-based project scripting"
+url="https://github.com/paver/paver"
+license=('BSD')
+arch=('any')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-cogapp' 'python-mock' 'python-nose' 'python-virtualenv')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/paver/paver/archive/Paver-$pkgver.tar.gz")
+sha512sums=('5747235b81df1dc8726bfa949f13c544e03c596f58c8bfc7ab55cc285f793fbb44cbcaa98acbc6e4a0554418755d3d70246b0e37249473b062d54a23b6bea35f')
+
+prepare() {
+  cd paver-Paver-$pkgver
+  sed -i 's/from unittest2 import/from unittest import/' tests_integration/*.py
+}
+
+build() {
+  cd paver-Paver-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd paver-Paver-$pkgver
+  # https://github.com/paver/paver/issues/205
+  python setup.py nosetests || :
+}
+
+package() {
+  cd paver-Paver-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list