Date: Wednesday, April 5, 2023 @ 19:19:05
  Author: felixonmars
Revision: 1437948

archrelease: copy trunk to community-staging-any

Added:
  python-pyquery/repos/community-staging-any/
  python-pyquery/repos/community-staging-any/PKGBUILD
    (from rev 1437946, python-pyquery/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-pyquery/repos/community-staging-any/PKGBUILD (from rev 1437946, 
python-pyquery/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 19:19:05 UTC (rev 1437948)
@@ -0,0 +1,33 @@
+# Maintainer : Felix Yan <[email protected]>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com>
+
+pkgname=python-pyquery
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="A jquery-like library for python."
+arch=('any')
+url="https://github.com/gawel/pyquery/";
+license=('BSD')
+depends=('python-lxml' 'python-cssselect')
+optdepends=('python-webob: query wsgi app')
+makedepends=('python-setuptools')
+checkdepends=('python-requests' 'python-webob' 'python-pytest' 
'python-webtest')
+source=("https://github.com/gawel/pyquery/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('0c44ca00ee30922e72aff23764d4a6a8ab9f4df684de77703b69b87af4b461ee2338ef5fb134dce280926e2575b976a1b86d16b1234e13fc450811e4874a34e9')
+
+build() {
+  cd pyquery-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pyquery-$pkgver
+  pytest
+}
+
+package() {
+  cd pyquery-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to