[arch-commits] Commit in python-whelk/repos (2 files)
Date: Thursday, November 12, 2020 @ 17:48:16 Author: foutrelis Revision: 752824 archrelease: copy trunk to community-staging-any Added: python-whelk/repos/community-staging-any/ python-whelk/repos/community-staging-any/PKGBUILD (from rev 752823, python-whelk/trunk/PKGBUILD) --+ PKGBUILD | 29 + 1 file changed, 29 insertions(+) Copied: python-whelk/repos/community-staging-any/PKGBUILD (from rev 752823, python-whelk/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-12 17:48:16 UTC (rev 752824) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan + +pkgname=python-whelk +pkgver=3.0 +pkgrel=2 +pkgdesc="Easy access to shell commands from python" +arch=('any') +license=('custom:zlib') +url="https://pypi.python.org/pypi/whelk; +depends=('python') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz;) +sha512sums=('7760e342b09a03951848d7c5ce258b43b44b6deda3efdb0433bd4704ebb8bd0e43589000e0e8916c2469ac154e0121292b79880fc09e5d44202117900ae7fb69') + +build() { + cd whelk-$pkgver + python setup.py build +} + +check() { + cd whelk-$pkgver + python -munittest discover +} + +package() { + cd whelk-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +}
[arch-commits] Commit in python-whelk/repos (2 files)
Date: Saturday, June 30, 2018 @ 16:19:23 Author: felixonmars Revision: 348419 archrelease: copy trunk to community-staging-any Added: python-whelk/repos/community-staging-any/ python-whelk/repos/community-staging-any/PKGBUILD (from rev 348418, python-whelk/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: python-whelk/repos/community-staging-any/PKGBUILD (from rev 348418, python-whelk/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 16:19:23 UTC (rev 348419) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-whelk +pkgname=('python-whelk' 'python2-whelk') +pkgver=2.7.1 +pkgrel=2 +pkgdesc="Easy access to shell commands from python" +arch=('any') +license=('custom:zlib') +url="https://pypi.python.org/pypi/whelk; +makedepends=('python' 'python2') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz;) +sha512sums=('39b73ed09a0d2442cdde5b8bae72805571a172c6acfa3f652c8cb125d3a400f2538fe6534179f95383d321e8975b6127115616372c60c736e8cd8ceba00ef093') + +prepare() { + cp -a whelk-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/whelk-$pkgver + python setup.py build + + cd "$srcdir"/whelk-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/whelk-$pkgver + python -munittest discover + + cd "$srcdir"/whelk-$pkgver-py2 + python2 -munittest discover +} + +package_python-whelk() { + depends=('python') + + cd whelk-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +package_python2-whelk() { + depends=('python2') + + cd whelk-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +}
[arch-commits] Commit in python-whelk/repos (2 files)
Date: Saturday, December 24, 2016 @ 11:35:41 Author: bpiotrowski Revision: 201467 archrelease: copy trunk to community-staging-any Added: python-whelk/repos/community-staging-any/ python-whelk/repos/community-staging-any/PKGBUILD (from rev 201466, python-whelk/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: python-whelk/repos/community-staging-any/PKGBUILD (from rev 201466, python-whelk/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-12-24 11:35:41 UTC (rev 201467) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan+ +pkgbase=python-whelk +pkgname=('python-whelk' 'python2-whelk') +pkgver=2.7 +pkgrel=2 +pkgdesc="Easy access to shell commands from python" +arch=('any') +license=('custom:zlib') +url="https://pypi.python.org/pypi/whelk; +makedepends=('python' 'python2' 'git') +source=("git+https://github.com/seveas/whelk.git#tag=$pkgver;) +sha512sums=('SKIP') + +prepare() { + cp -a whelk{,-py2} +} + +build() { + cd "$srcdir"/whelk + python setup.py build + + cd "$srcdir"/whelk-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/whelk + python -munittest discover + + cd "$srcdir"/whelk-py2 + python2 -munittest discover +} + +package_python-whelk() { + depends=('python') + + cd whelk + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +package_python2-whelk() { + depends=('python2') + + cd whelk-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +}