21 lines
613 B
Bash
21 lines
613 B
Bash
# Template file for 'python-cups'
|
|
pkgname=python-cups
|
|
version=1.9.74
|
|
revision=2
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
distfiles="${PYPI_SITE}/p/pycups/pycups-${version}.tar.bz2"
|
|
checksum=86090f259a7c5d0d5caa3407a0e57c9e134027620cbc8f90bf4e37c8b53ed7b9
|
|
|
|
python3-cups_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|