aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-cssselect/APKBUILD
blob: be8f88199cf2d5ff03b86d75aa556541319e31a8 (plain) (tree)
1
2
3
4
5



                                             
            






















                                                                                              
                                                                                                                                                                     
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-cssselect
_pkgname=cssselect
pkgver=1.1.0
pkgrel=0
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"
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() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b33bca6a026f4de37b75606fd238dbd170b57d06288fbff3ea97ce79685a99af275fb8522b04ea9d6693aba5a18541d70b657191fdad881be79718bcf2e7655c  cssselect-1.1.0.tar.gz"