[arch-commits] Commit in python-cssselect2/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 17:07:06 UTC 2020


    Date: Monday, November 9, 2020 @ 17:07:06
  Author: felixonmars
Revision: 747764

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cssselect2/repos/community-staging-any/PKGBUILD (from rev 747763, python-cssselect2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 17:07:06 UTC (rev 747764)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-cssselect2
+pkgver=0.3.0
+pkgrel=2
+pkgdesc="CSS selectors for Python ElementTree"
+url="https://pypi.org/project/cssselect2/"
+license=('BSD')
+arch=('any')
+depends=('python-tinycss2')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-flake8' 'python-pytest-cov' 'python-pytest-isort'
+              'python-pytest-runner')
+source=("https://pypi.io/packages/source/c/cssselect2/cssselect2-$pkgver.tar.gz")
+sha512sums=('ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be')
+
+build() {
+  cd cssselect2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cssselect2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cssselect2-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list