python-cups: update to 1.9.68; add python3.4 subpkg

pycups is now python3 compatible.
This commit is contained in:
Alessio Sergi 2014-11-05 21:01:56 +01:00
parent 3576a325f7
commit b661e38074
2 changed files with 15 additions and 7 deletions

View File

@ -1,16 +1,23 @@
# Template file for 'python-cups'
pkgname=python-cups
version=1.9.66
version=1.9.68
revision=1
wrksrc="pycups-${version}"
build_style=python-module
hostmakedepends="python"
makedepends="python-devel cups-devel"
replaces="pycups>=0"
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends} cups-devel"
short_desc="Python2 CUPS bindings"
homepage="http://cyberelk.net/tim/software/pycups/"
homepage="https://pypi.python.org/pypi/pycups"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
update_pkgname=pycups
distfiles="http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2"
checksum=cdde311fb375c827fb357665248c153000bc62b407bca281a9ea21772911680a
distfiles="${PYPI_SITE}/p/pycups/pycups-${version}.tar.bz2"
checksum=44346cbd9d6d1785e5cb5d76b661aff2039e920283bd6af251b72a1e668237c4
python3.4-cups_package() {
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-cups Symbolic link
View File

@ -0,0 +1 @@
python-cups