Date: Wednesday, December 28, 2022 @ 23:38:35
Author: felixonmars
Revision: 1371840
upgpkg: python-pyquery 2.0.0-1
Modified:
python-pyquery/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-28 23:33:31 UTC (rev 1371839)
+++ PKGBUILD 2022-12-28 23:38:35 UTC (rev 1371840)
@@ -3,8 +3,8 @@
# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com>
pkgname=python-pyquery
-pkgver=1.4.3
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
pkgdesc="A jquery-like library for python."
arch=('any')
url="https://github.com/gawel/pyquery/"
@@ -12,9 +12,9 @@
depends=('python-lxml' 'python-cssselect')
optdepends=('python-webob: query wsgi app')
makedepends=('python-setuptools')
-checkdepends=('python-requests' 'python-webob' 'python-nose' 'python-webtest')
+checkdepends=('python-requests' 'python-webob' 'python-pytest'
'python-webtest')
source=("https://github.com/gawel/pyquery/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('ab5110232d79209fb861fa3ac61c8803352c28c8372ba5d96b3fe731ebdb0b732c0c1642719c9cebbd0030a27edd2a962a7c368c99a7c966bf0ea77f7ae89a37')
+sha512sums=('0c44ca00ee30922e72aff23764d4a6a8ab9f4df684de77703b69b87af4b461ee2338ef5fb134dce280926e2575b976a1b86d16b1234e13fc450811e4874a34e9')
build() {
cd pyquery-$pkgver
@@ -23,12 +23,11 @@
check() {
cd pyquery-$pkgver
- nosetests3
+ pytest
}
package() {
cd pyquery-$pkgver
python setup.py install -O1 --root="$pkgdir"
-
install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}