[arch-commits] Commit in python-cssselect2/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 04:11:01 UTC 2019
Date: Saturday, October 26, 2019 @ 04:11:00
Author: foutrelis
Revision: 519923
archrelease: copy trunk to community-staging-any
Added:
python-cssselect2/repos/community-staging-any/
python-cssselect2/repos/community-staging-any/PKGBUILD
(from rev 519922, python-cssselect2/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-cssselect2/repos/community-staging-any/PKGBUILD (from rev 519922, python-cssselect2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 04:11:00 UTC (rev 519923)
@@ -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.2.2
+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")
+md5sums=('8af7db3a7d45518527e3f496e611bba4')
+
+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