1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-xcffib/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
934 B
Text

# Maintainer: Keith Toh <ktprograms@gmail.com>
pkgname=py3-xcffib
pkgver=0.11.1
pkgrel=1
pkgdesc="Drop-in replacement for xpyb based on cffi"
url="https://github.com/tych0/xcffib"
arch="noarch"
license="Apache-2.0"
depends="py3-six py3-cffi libxcb"
makedepends="py3-setuptools libxcb-dev"
checkdepends="py3-pytest xvfb-run xeyes"
source="https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz
fix-use-of-pytest.patch"
builddir="$srcdir/xcffib-$pkgver"
build() {
python3 setup.py build
}
check() {
xvfb-run -a pytest -v
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
09f4e19b88258446af26628c3a8e694c1f938fe3b5456e797b06174602fa0e9ef6e4eab76daccfd169d98fb7e869c910e6216d1f71fa2853e62b82c62c667669 xcffib-0.11.1.tar.gz
4ff61ba9a6ebd9ebc3ebed66d1f035b3022c2a6e56ae0a6d95c3fb5569a9ea7f6f7e99fe1a10353409cf55e6071c8e98e1e062d24184a8e7f8b1273b0ce98065 fix-use-of-pytest.patch
"