1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-pycups/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

28 lines
751 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pycups
pkgver=2.0.1
pkgrel=4
pkgdesc="Python bindings for libcups"
url="https://github.com/OpenPrinting/pycups"
arch="all"
license="GPL-2.0-or-later"
depends="python3"
makedepends="
cups-dev
py3-setuptools
python3-dev
"
source="https://pypi.python.org/packages/source/p/pycups/pycups-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/pycups-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="fdebf1cac8cc4fffb8a76a938aa91965dae4a3dcdb6d8ee26e8e6054809d26dd3fb20b10c2351fb9265c03b16d6bde011815111c452ccb058518372f22d9d617 pycups-2.0.1.tar.gz"