Date: Friday, March 31, 2017 @ 01:27:55 Author: felixonmars Revision: 220145
archrelease: copy trunk to community-any Added: python-sh/repos/community-any/PKGBUILD (from rev 220144, python-sh/trunk/PKGBUILD) Deleted: python-sh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-31 01:27:36 UTC (rev 220144) +++ PKGBUILD 2017-03-31 01:27:55 UTC (rev 220145) @@ -1,54 +0,0 @@ -# $Id$ -# 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.11 -pkgrel=1 -pkgdesc='Subprocess interface that allows you to call any program as if it were a function' -arch=('any') -url='http://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") -md5sums=('de645c2493135427d413eb618778ad94') - -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 220144, python-sh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-31 01:27:55 UTC (rev 220145) @@ -0,0 +1,54 @@ +# $Id$ +# 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.13 +pkgrel=1 +pkgdesc='Subprocess interface that allows you to call any program as if it were a function' +arch=('any') +url='http://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=('9ccceb64c455361e40985bc15651861a8d86fad8e674195aa493306e54ed194c55e98c0a8c6ee3ba9a3020b3e3ad069d26c9c1da950de52581979575b7c008e5') + +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: