[arch-commits] Commit in python-paver/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Oct 26 20:52:38 UTC 2019


    Date: Saturday, October 26, 2019 @ 20:52:37
  Author: felixonmars
Revision: 520645

archrelease: copy trunk to community-staging-any

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

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

Copied: python-paver/repos/community-staging-any/PKGBUILD (from rev 520642, python-paver/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 20:52:37 UTC (rev 520645)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-paver
+pkgver=1.3.4
+pkgrel=2
+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
+}



More information about the arch-commits mailing list