void-packages/srcpkgs/python-cups/template

23 lines
645 B
Bash

# Template file for 'python-cups'
pkgname=python-cups
version=1.9.72
revision=1
wrksrc="pycups-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends} cups-devel"
short_desc="Python2 CUPS bindings"
homepage="https://pypi.python.org/pypi/pycups"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${PYPI_SITE}/p/pycups/pycups-${version}.tar.bz2"
checksum=7f635cb95149e2fab6693ee0261a4491f3f9521549652a9fdcc9654978037ca7
python3.4-cups_package() {
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}