[arch-commits] Commit in (4 files)
Felix Yan
fyan at archlinux.org
Tue Feb 23 02:51:15 UTC 2016
Date: Tuesday, February 23, 2016 @ 03:51:14
Author: fyan
Revision: 163162
addpkg: python-debtcollector 1.3.0-1
Added:
python-debtcollector/
python-debtcollector/repos/
python-debtcollector/trunk/
python-debtcollector/trunk/PKGBUILD
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Added: python-debtcollector/trunk/PKGBUILD
===================================================================
--- python-debtcollector/trunk/PKGBUILD (rev 0)
+++ python-debtcollector/trunk/PKGBUILD 2016-02-23 02:51:14 UTC (rev 163162)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-debtcollector
+pkgname=('python-debtcollector' 'python2-debtcollector')
+pkgver=1.3.0
+pkgrel=1
+arch=('any')
+pkgdesc='A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.'
+url='http://docs.openstack.org/developer/debtcollector'
+license=('Apache')
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+ 'python-babel' 'python2-babel' 'python-wrapt' 'python2-wrapt' 'python2-funcsigs')
+checkdepends=('python-testrepository' 'python2-testrepository')
+source=("git+https://git.openstack.org/openstack/debtcollector#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a debtcollector{,-py2}
+}
+
+build() {
+ cd "$srcdir"/debtcollector
+ python setup.py build
+
+ cd "$srcdir"/debtcollector-py2
+ python2 setup.py build
+}
+
+check() {
+ # Disabled for now, as it brings in too many dependencies
+
+ cd "$srcdir"/debtcollector
+ # python setup.py testr
+
+ cd "$srcdir"/debtcollector-py2
+ # python2 setup.py testr
+}
+
+package_python-debtcollector() {
+ depends=('python-six' 'python-pbr' 'python-babel' 'python-wrapt')
+
+ cd debtcollector
+ python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-debtcollector() {
+ depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-wrapt' 'python2-funcsigs')
+
+ cd debtcollector-py2
+ python2 setup.py install --root "$pkgdir" --optimize=1
+}
Property changes on: python-debtcollector/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list