~dricottone/huttese-apk

ref: 942a97683271297fdc261f945c4b81a77cd57682 huttese-apk/sr.ht/py3-soupsieve/APKBUILD -rw-r--r-- 878 bytes
942a9768 — Drew DeVault git.sr.ht: build Golang gitsrht-keys 5 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"