~dricottone/huttese-apk

ref: cc12d7352532b481afe66c63cdde94ae7743de83 huttese-apk/sr.ht/py3-tinycss2/APKBUILD -rw-r--r-- 949 bytes
cc12d735 — Drew DeVault meta.sr.ht: remove py3-prometheus-client dependency 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
30
31
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-tinycss2
_pyname=tinycss2
pkgver=1.0.2
pkgrel=3
pkgdesc="Low-level CSS parser for Python"
url="https://pypi.python.org/pypi/tinycss2"
arch="noarch"
license="BSD-3-Clause"
depends="py3-webencodings"
checkdepends="py3-pytest py3-pytest-flake8 py3-pytest-isort py3-pytest-cov"
makedepends="python3-dev py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
replaces="py-tinycss py2-tinycss py3-tinycss"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py pytest
}

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

sha512sums="69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1  tinycss2-1.0.2.tar.gz"