2014-06-24 14:24:24 +00:00
|
|
|
# Template file for 'python-cups'
|
|
|
|
pkgname=python-cups
|
2015-02-03 22:37:52 +00:00
|
|
|
version=1.9.70
|
2014-06-24 14:24:24 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="pycups-${version}"
|
|
|
|
build_style=python-module
|
2014-11-05 20:01:56 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
|
|
|
makedepends="${hostmakedepends} cups-devel"
|
2014-06-24 14:24:24 +00:00
|
|
|
short_desc="Python2 CUPS bindings"
|
2014-11-05 20:01:56 +00:00
|
|
|
homepage="https://pypi.python.org/pypi/pycups"
|
2014-06-24 14:24:24 +00:00
|
|
|
license="GPL-2"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-11-05 20:01:56 +00:00
|
|
|
distfiles="${PYPI_SITE}/p/pycups/pycups-${version}.tar.bz2"
|
2015-02-03 22:37:52 +00:00
|
|
|
checksum=668860346c69474bbf1f3d728a1b147fdde0aab0197f3a381dda550712d70e5f
|
2014-11-05 20:01:56 +00:00
|
|
|
|
|
|
|
python3.4-cups_package() {
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|