[arch-commits] Commit in python-process-tests/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 20:42:40 UTC 2019
Date: Saturday, October 26, 2019 @ 20:42:39
Author: foutrelis
Revision: 520609
archrelease: copy trunk to community-staging-any
Added:
python-process-tests/repos/community-staging-any/
python-process-tests/repos/community-staging-any/PKGBUILD
(from rev 520608, python-process-tests/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: python-process-tests/repos/community-staging-any/PKGBUILD (from rev 520608, python-process-tests/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 20:42:39 UTC (rev 520609)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-process-tests
+pkgname=('python-process-tests' 'python2-process-tests')
+pkgver=2.0.2
+pkgrel=2
+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.io/packages/source/p/process-tests/process-tests-$pkgver.tar.gz")
+sha512sums=('6cf64d14587ab577a0680760ab6be146a60590091a0bbd6fb35d5c06ddf5289fa4d873c5658f882313837291b70adb37a3e41c13f1fe541777e05f5e9dac1750')
+
+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 process-tests-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-process-tests() {
+ depends=('python2')
+
+ cd process-tests-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list