Date: Wednesday, January 30, 2013 @ 04:12:46 Author: fyan Revision: 83346
archrelease: copy trunk to community-any Added: python-sh/repos/community-any/PKGBUILD (from rev 83345, python-sh/trunk/PKGBUILD) Deleted: python-sh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-01-30 03:11:55 UTC (rev 83345) +++ PKGBUILD 2013-01-30 03:12:46 UTC (rev 83346) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: Alexander Rødseth <rods...@gmail.com> - -_pkgname=sh -pkgname=("python-$_pkgname" "python2-$_pkgname") -pkgver=1.07 -pkgrel=4 -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-distribute' 'python2-distribute') -source=("http://pypi.python.org/packages/source/s/sh/$_pkgname-$pkgver.tar.gz") -sha256sums=('0256bc7d5839daa298145f932bf9cc823d3ee54fa216e3fe52849c7d7f2e1d6e') - -build() { - cd "$srcdir" - - cp -r "$_pkgname-$pkgver" "python2-$_pkgname-$pkgver" - - cd "$_pkgname-$pkgver" - python setup.py build - - cd "../python2-$_pkgname-$pkgver" - python2 setup.py build -} - -package_python-sh() { - depends=('python') - cd "$srcdir/$_pkgname-$pkgver" - python setup.py install --root="$pkgdir" - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/python-sh/LICENSE" -} - -package_python2-sh() { - depends=('python2') - cd "$srcdir/python2-$_pkgname-$pkgver" - python2 setup.py install --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 83345, python-sh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-01-30 03:12:46 UTC (rev 83346) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Alexander Rødseth <rods...@gmail.com> + +_pkgname=sh +pkgname=("python-$_pkgname" "python2-$_pkgname") +pkgver=1.08 +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-distribute' 'python2-distribute') +source=("http://pypi.python.org/packages/source/s/sh/$_pkgname-$pkgver.tar.gz") + +build() { + cd "$srcdir" + + cp -r "$_pkgname-$pkgver" "python2-$_pkgname-$pkgver" + + cd "$_pkgname-$pkgver" + python setup.py build + + cd "../python2-$_pkgname-$pkgver" + python2 setup.py build +} + +package_python-sh() { + depends=('python') + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/python-sh/LICENSE" +} + +package_python2-sh() { + depends=('python2') + cd "$srcdir/python2-$_pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/python2-sh/LICENSE" +} + +# vim:set ts=2 sw=2 et: +md5sums=('4028bcba85daa0aef579ed24261e88a3')