1 files changed, 0 insertions(+), 32 deletions(-)
D sr.ht/py3-tinycss2/APKBUILD
D sr.ht/py3-tinycss2/APKBUILD => sr.ht/py3-tinycss2/APKBUILD +0 -32
@@ 1,32 0,0 @@
-# Contributor: Drew DeVault <sir@cmpwn.com>
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname=py3-tinycss2
-_pyname=tinycss2
-pkgver=1.1.0
-pkgrel=0
-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"
-options="!check" # upstream tests are broken
-
-build() {
- python3 setup.py build
-}
-
-check() {
- python3 setup.py pytest
-}
-
-package() {
- python3 setup.py install --prefix=/usr --root="$pkgdir"
-}
-
-sha512sums="218d28511802afc89a608def03084f5d460512a41d47280b5c8bfe72314c8ab3b14c98fbb0200bea6b8509c4d6f0107410d340e2d7f1830aaa92669a2699211e tinycss2-1.1.0.tar.gz"