[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Aug 16 12:57:46 UTC 2018


    Date: Thursday, August 16, 2018 @ 12:57:46
  Author: felixonmars
Revision: 371959

addpkg: python-paver 1.3.4-1

Added:
  python-paver/
  python-paver/repos/
  python-paver/trunk/
  python-paver/trunk/PKGBUILD

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

Added: python-paver/trunk/PKGBUILD
===================================================================
--- python-paver/trunk/PKGBUILD	                        (rev 0)
+++ python-paver/trunk/PKGBUILD	2018-08-16 12:57:46 UTC (rev 371959)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-paver
+pkgver=1.3.4
+pkgrel=1
+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
+}


Property changes on: python-paver/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list