[arch-commits] Commit in (4 files)
Felix Yan
fyan at archlinux.org
Wed Sep 9 07:00:42 UTC 2015
Date: Wednesday, September 9, 2015 @ 09:00:42
Author: fyan
Revision: 139657
addpkg: python-process-tests 1.1.0-1
Added:
python-process-tests/
python-process-tests/repos/
python-process-tests/trunk/
python-process-tests/trunk/PKGBUILD
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Added: python-process-tests/trunk/PKGBUILD
===================================================================
--- python-process-tests/trunk/PKGBUILD (rev 0)
+++ python-process-tests/trunk/PKGBUILD 2015-09-09 07:00:42 UTC (rev 139657)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_pypiname=process-tests
+pkgbase=python-process-tests
+pkgname=('python-process-tests' 'python2-process-tests')
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Tools for testing processes"
+arch=('any')
+url="https://pypi.python.org/pypi/process-tests"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/p/process-tests/$_pypiname-$pkgver.tar.gz")
+md5sums=('e9972248c22ed22a80f5e59d1e5b52e0')
+
+prepare() {
+ cp -a process-tests-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/process-tests-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/process-tests-$pkgver-py2"
+ python2 setup.py build
+}
+
+package_python-process-tests() {
+ depends=('python')
+
+ cd "$srcdir/$_pypiname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-process-tests() {
+ depends=('python2')
+
+ cd "$srcdir/$_pypiname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: python-process-tests/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list