Date: Tuesday, December 17, 2019 @ 08:39:24 Author: jelle Revision: 537909
archrelease: copy trunk to community-any Added: python-sh/repos/community-any/PKGBUILD (from rev 537908, python-sh/trunk/PKGBUILD) Deleted: python-sh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 87 +++++++++++++++++++++++-------------------------------------- 1 file changed, 34 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-17 08:39:16 UTC (rev 537908) +++ PKGBUILD 2019-12-17 08:39:24 UTC (rev 537909) @@ -1,53 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: Alexander Rødseth <rods...@gmail.com> - -pkgname=("python-sh" "python2-sh") -pkgver=1.12.14 -pkgrel=4 -pkgdesc='Subprocess interface that allows you to call any program as if it were a function' -arch=('any') -url='https://pypi.python.org/pypi/sh' -license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-coverage' 'python2-coverage' 'lsof') -source=("https://pypi.io/packages/source/s/sh/sh-$pkgver.tar.gz") -sha512sums=('5f2daa2666cf8efe90ba550c8ea5875f2a8812d787597c9d9b933f58feccd192e1ec0ab5695b756bdbfbf9748d106c2045be20838e680b31dac3f778970b5786') - -prepare() { - cp -a sh-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/sh-$pkgver - python setup.py build - - cd "$srcdir"/sh-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/sh-$pkgver - python sh.py travis - - cd "$srcdir"/sh-$pkgver-py2 - python2 sh.py travis -} - -package_python-sh() { - depends=('python') - - cd sh-$pkgver - python setup.py install -O1 --root="$pkgdir" - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/python-sh/LICENSE -} - -package_python2-sh() { - depends=('python2') - - cd sh-$pkgver-py2 - python2 setup.py install -O1 --root="$pkgdir" - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/python2-sh/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-sh/repos/community-any/PKGBUILD (from rev 537908, python-sh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-17 08:39:24 UTC (rev 537909) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Alexander Rødseth <rods...@gmail.com> + +pkgname=python-sh +pkgver=1.12.14 +pkgrel=5 +pkgdesc='Subprocess interface that allows you to call any program as if it were a function' +arch=('any') +url='https://pypi.python.org/pypi/sh' +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-coverage' 'lsof') +source=("https://pypi.io/packages/source/s/sh/sh-$pkgver.tar.gz") +sha512sums=('5f2daa2666cf8efe90ba550c8ea5875f2a8812d787597c9d9b933f58feccd192e1ec0ab5695b756bdbfbf9748d106c2045be20838e680b31dac3f778970b5786') + +build() { + cd "$srcdir"/sh-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/sh-$pkgver + python sh.py travis +} + +package() { + cd sh-$pkgver + python setup.py install -O1 --root="$pkgdir" + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/python-sh/LICENSE +} + +# vim:set ts=2 sw=2 et: