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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:04:06 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:04:05
  Author: foutrelis
Revision: 748433

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 748432, python-process-tests/trunk/PKGBUILD)

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

Copied: python-process-tests/repos/community-staging-any/PKGBUILD (from rev 748432, python-process-tests/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:04:05 UTC (rev 748433)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-process-tests
+pkgname=('python-process-tests' 'python2-process-tests')
+pkgver=2.1.1
+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=('4bb520074a9964d3eed4aca7a1952bf1a0d99b475f3f61b5c51137d8f2e804352639187da5b5ff30ea8739466200eb9361e77dc3c43a20d5ea418f63a2765a1c')
+
+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