# Contributor: prspkt # Maintainer: prspkt pkgname=py3-cssselect _pkgname=cssselect pkgver=1.2.0 pkgrel=2 pkgdesc="Library for parsing CSS3 selectors and translating them to XPath 1.0" url="https://github.com/scrapy/cssselect" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest py3-lxml" subpackages="$pkgname-pyc" source="$_pkgname-$pkgver.tar.gz::https://github.com/scrapy/cssselect/archive/v$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 439f83e37c381f962abcfca0b83050372cbad44179e876591d8504abc2da1d4fe80891c8c8e1763341cf152525259565dc5e80038fa7c14e8c69f22a11f83d94 cssselect-1.2.0.tar.gz "