aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cssselect/APKBUILD
blob: 36cdc32cd76535339a7361c025f8eb6871f43c13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-cssselect
_pkgname=cssselect
pkgver=1.1.0
pkgrel=1
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"