Date: Thursday, November 12, 2020 @ 17:33:30 Author: felixonmars Revision: 752659
archrelease: copy trunk to community-staging-any Added: python-process-tests/repos/community-staging-any/PKGBUILD (from rev 752657, python-process-tests/trunk/PKGBUILD) Deleted: python-process-tests/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-12 17:33:27 UTC (rev 752658) +++ PKGBUILD 2020-11-12 17:33:30 UTC (rev 752659) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@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: Copied: python-process-tests/repos/community-staging-any/PKGBUILD (from rev 752657, python-process-tests/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-12 17:33:30 UTC (rev 752659) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-process-tests +pkgname=('python-process-tests' 'python2-process-tests') +pkgver=2.1.1 +pkgrel=3 +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: