~dricottone/huttese-apk

7e4a68c7d30682ce4c682bcafcb044807fae3da7 — Drew DeVault 3 years ago 9bd34b8
py3-cairocffi: remove; now in alpine community
1 files changed, 0 insertions(+), 37 deletions(-)

D sr.ht/py3-cairocffi/APKBUILD
D sr.ht/py3-cairocffi/APKBUILD => sr.ht/py3-cairocffi/APKBUILD +0 -37
@@ 1,37 0,0 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Newbyte <newbytee@protonmail.com>
pkgname=py3-cairocffi
_pkgname=cairocffi
pkgver=1.2.0
pkgrel=1
pkgdesc="Python CFFI-based binding to Cairo and GDK-PixBuf"
url="https://pythonhosted.org/cairocffi/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-cffi cairo gdk-pixbuf py3-pytest-runner"
checkdepends="
	py3-pytest py3-pytest-cov py3-pytest-isort py3-pytest-flake8 ttf-dejavu
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
options="!check" # tests broken

replaces="py-cairocffi" # For backwards compatibiltiy
provides="py-cairocffi=$pkgver-r$pkgrel" # For backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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


sha512sums="0f5b58ae85b2cc880bfb8ede6cbfe4905737211dab5b080815eb59f7cdd9c580367b9e00e7216d68ea9cbb84bda3f21ddcbccb2e744b86d6da8b991cffb96caf  cairocffi-1.2.0.tar.gz"