diff options
Diffstat (limited to 'user/py3-pycairo/APKBUILD')
-rw-r--r-- | user/py3-pycairo/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user/py3-pycairo/APKBUILD b/user/py3-pycairo/APKBUILD index 3939f9af3..d5f3e01b3 100644 --- a/user/py3-pycairo/APKBUILD +++ b/user/py3-pycairo/APKBUILD @@ -6,15 +6,16 @@ pkgrel=0 pkgdesc="Python bindings for Cairo" url="https://pycairo.readthedocs.io/" arch="all" +options="!check" # Test suite requires unpackaged py3-flake8. license="MIT AND (LGPL-2.1-only OR MPL-1.1)" depends="" +checkdepends="py3-pytest" makedepends="python3-dev cairo-dev meson" subpackages="$pkgname-dev" source="https://files.pythonhosted.org/packages/source/p/pycairo/pycairo-$pkgver.tar.gz" builddir="$srcdir/pycairo-$pkgver" build() { - cd "$builddir" meson \ --prefix=/usr \ --sysconfdir=/etc \ @@ -26,11 +27,10 @@ build() { } check() { - cd "$builddir" + ninja -C output test } package() { - cd "$builddir" DESTDIR="$pkgdir" ninja -C output install } |