~dricottone/huttese-apk

ref: 26df7e93de4db1f67c330db85f8b9b2d2ebc7f6b huttese-apk/sr.ht/py3-soupsieve/APKBUILD -rw-r--r-- 878 bytes
26df7e93 — Drew DeVault sr.ht/py3-emailthreads: upgrade to 0.1.2 4 years ago
                                                                                
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: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-soupsieve
_pyname=soupsieve
pkgver=1.9.2
pkgrel=0
pkgdesc="A modern CSS selector implementation for Beautiful Soup."
url="https://github.com/facelessuser/soupsieve"
arch="noarch"
license="MIT"
checkdepends="py3-beautifulsoup4"
makedepends="py3-setuptools py3-pytest py3-pytest-cov py3-lxml py3-html5lib"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

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

sha512sums="7d741d7119ecfb886c3c08853aa268c81b8eccae304518367e8ff479b7925d95131f484c4f57af7c5d0dc87cbdb511a48581a3ca9bd206711d5f4700e0896906  soupsieve-1.9.2.tar.gz"