void-packages/srcpkgs/python-cups/template

22 lines
612 B
Bash

# Template file for 'python-cups'
pkgname=python-cups
version=1.9.73
revision=3
wrksrc="pycups-${version}"
build_style=python-module
hostmakedepends="python-devel python3-devel"
makedepends="${hostmakedepends} cups-devel"
short_desc="Python2 CUPS bindings"
homepage="https://pypi.org/project/pycups/"
license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${PYPI_SITE}/p/pycups/pycups-${version}.tar.bz2"
checksum=c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335
python3-cups_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}