Date: Thursday, October 10, 2013 @ 18:24:31 Author: fyan Revision: 98446
archrelease: copy trunk to community-any Added: python-pyquery/repos/community-any/PKGBUILD (from rev 98445, python-pyquery/trunk/PKGBUILD) Deleted: python-pyquery/repos/community-any/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-10-10 16:23:45 UTC (rev 98445) +++ PKGBUILD 2013-10-10 16:24:31 UTC (rev 98446) @@ -1,47 +0,0 @@ -# $Id$ -# Maintainer : Felix Yan <felixonm...@gmail.com> -# Contributor: speps <speps at aur dot archlinux dot org> -# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com> - -_name=pyquery -pkgbase=python-pyquery -pkgname=('python-pyquery' 'python2-pyquery') -pkgver=1.2.4 -pkgrel=1 -pkgdesc="A jquery-like library for python." -arch=('any') -url="http://www.bitbucket.org/olauzanne/pyquery" -license=('custom:BSD') -makedepends=('python-distribute' 'python2-distribute' 'python-lxml' 'python2-lxml' 'python-cssselect' 'python2-cssselect') -source=("http://pypi.python.org/packages/source/p/$_name/$_name-$pkgver.tar.gz" - "https://bitbucket.org/olauzanne/pyquery/raw/b70710332032/LICENSE.txt") - -build() { - cd "$srcdir" - cp -r "$_name-$pkgver" "$_name-$pkgver-python2" - - cd "$srcdir/$_name-$pkgver" - python3 setup.py build - - cd "$srcdir/$_name-$pkgver-python2" - python2 setup.py build -} - -package_python-pyquery() { - depends=('python-lxml' 'python-cssselect') - cd "$srcdir/$_name-$pkgver" - python3 setup.py install --root="$pkgdir/" - - install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/python-pyquery/LICENSE" -} - -package_python2-pyquery() { - depends=('python2-lxml' 'python2-cssselect') - cd "$srcdir/$_name-$pkgver-python2" - python2 setup.py install --root="$pkgdir/" - - install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/python2-pyquery/LICENSE" -} - -md5sums=('268f08258738d21bc1920d7522f2a63b' - '4f88ad79969b924fb6038be3de456dee') Copied: python-pyquery/repos/community-any/PKGBUILD (from rev 98445, python-pyquery/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-10-10 16:24:31 UTC (rev 98446) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer : Felix Yan <felixonm...@gmail.com> +# Contributor: speps <speps at aur dot archlinux dot org> +# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com> + +_name=pyquery +pkgbase=python-pyquery +pkgname=('python-pyquery' 'python2-pyquery') +pkgver=1.2.5 +pkgrel=1 +pkgdesc="A jquery-like library for python." +arch=('any') +url="https://github.com/gawel/pyquery/" +license=('custom:BSD') +makedepends=('python-distribute' 'python2-distribute' 'python-lxml' 'python2-lxml' 'python-cssselect' 'python2-cssselect') +source=("http://pypi.python.org/packages/source/p/$_name/$_name-$pkgver.zip" + "https://bitbucket.org/olauzanne/pyquery/raw/b70710332032/LICENSE.txt") + +build() { + cd "$srcdir" + cp -r "$_name-$pkgver" "$_name-$pkgver-python2" + + cd "$srcdir/$_name-$pkgver" + python3 setup.py build + + cd "$srcdir/$_name-$pkgver-python2" + python2 setup.py build +} + +package_python-pyquery() { + depends=('python-lxml' 'python-cssselect') + cd "$srcdir/$_name-$pkgver" + python3 setup.py install --root="$pkgdir/" + + install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/python-pyquery/LICENSE" +} + +package_python2-pyquery() { + depends=('python2-lxml' 'python2-cssselect') + cd "$srcdir/$_name-$pkgver-python2" + python2 setup.py install --root="$pkgdir/" + + install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/python2-pyquery/LICENSE" +} + +sha512sums=('c438c9ce6821336eb94ca9bbf43f6a4df53281ed58ce4c07479cf8c34d79051c195b50351a972c7444a49813aad8125e7b4622f8ef45bb390dde5ad64e541293' + '4932f86cbe9ed4c2e658acf9c228fdb0b2430fd622d559555196c7db0f43ea435483c7ae9916c325b40130334f4706d30e5adea6bc1d097b3283a7fc64926685')