[arch-commits] Commit in python-pyquery/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jan 12 05:53:03 UTC 2018
Date: Friday, January 12, 2018 @ 05:53:02
Author: felixonmars
Revision: 281531
archrelease: copy trunk to community-any
Added:
python-pyquery/repos/community-any/PKGBUILD
(from rev 281530, python-pyquery/trunk/PKGBUILD)
Deleted:
python-pyquery/repos/community-any/PKGBUILD
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-12 05:52:35 UTC (rev 281530)
+++ PKGBUILD 2018-01-12 05:53:02 UTC (rev 281531)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer : Felix Yan <felixonmars at archlinux.org>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com>
-
-pkgbase=python-pyquery
-pkgname=('python-pyquery' 'python2-pyquery')
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="A jquery-like library for python."
-arch=('any')
-url="https://github.com/gawel/pyquery/"
-license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-lxml' 'python2-lxml' 'python-cssselect' 'python2-cssselect' 'git')
-checkdepends=('python-requests' 'python2-requests' 'python-webob' 'python2-webob' 'python-nose' 'python2-nose'
- 'python-coverage' 'python2-coverage' 'python-webtest' 'python2-webtest' 'python2-beautifulsoup4'
- 'python2-restkit')
-source=("git+https://github.com/gawel/pyquery.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a pyquery{,-py2}
-}
-
-build() {
- cd "$srcdir"/pyquery
- python setup.py build
-
- cd "$srcdir"/pyquery-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/pyquery
- nosetests3
-
- cd "$srcdir"/pyquery-py2
- nosetests2
-}
-
-package_python-pyquery() {
- depends=('python-lxml' 'python-cssselect')
- optdepends=('python-webob: query wsgi app')
-
- cd pyquery
- python setup.py install -O1 --root="$pkgdir/"
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pyquery() {
- depends=('python2-lxml' 'python2-cssselect')
- optdepends=('python2-webob: to query wsgi app'
- 'python2-restkit: to get url directly with a HostProxy app')
-
- cd pyquery-py2
- python2 setup.py install -O1 --root="$pkgdir/"
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pyquery/repos/community-any/PKGBUILD (from rev 281530, python-pyquery/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-12 05:53:02 UTC (rev 281531)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com>
+
+pkgbase=python-pyquery
+pkgname=('python-pyquery' 'python2-pyquery')
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="A jquery-like library for python."
+arch=('any')
+url="https://github.com/gawel/pyquery/"
+license=('custom:BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-lxml' 'python2-lxml'
+ 'python-cssselect' 'python2-cssselect')
+checkdepends=('python-requests' 'python2-requests' 'python-webob' 'python2-webob' 'python-nose'
+ 'python2-nose' 'python-coverage' 'python2-coverage' 'python-webtest' 'python2-webtest'
+ 'python2-beautifulsoup4' 'python2-restkit')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/gawel/pyquery/archive/$pkgver.tar.gz")
+sha512sums=('1f49909ec07d7e8f5919735691c3dfa53e4be05ed4bf065992a2115fa63f8a5d1ab7aead077829fa2951836d9115c23b248d1288a51691fafd48d99de52af200')
+
+prepare() {
+ cp -a pyquery-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pyquery-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pyquery-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/pyquery-$pkgver
+ nosetests3
+
+ cd "$srcdir"/pyquery-$pkgver-py2
+ nosetests2
+}
+
+package_python-pyquery() {
+ depends=('python-lxml' 'python-cssselect')
+ optdepends=('python-webob: query wsgi app')
+
+ cd pyquery-$pkgver
+ python setup.py install -O1 --root="$pkgdir"
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pyquery() {
+ depends=('python2-lxml' 'python2-cssselect')
+ optdepends=('python2-webob: to query wsgi app'
+ 'python2-restkit: to get url directly with a HostProxy app')
+
+ cd pyquery-$pkgver-py2
+ python2 setup.py install -O1 --root="$pkgdir"
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list