diff options
-rw-r--r-- | dev-python/pycups/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.61.ebuild | 51 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog index 12c88a8a34da..c81e396dd453 100644 --- a/dev-python/pycups/ChangeLog +++ b/dev-python/pycups/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pycups # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.47 2012/02/16 19:30:21 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.48 2012/03/06 22:08:43 reavertm Exp $ + +*pycups-1.9.61 (06 Mar 2012) + + 06 Mar 2012; Maciej Mrozowski <reavertm@gentoo.org> +pycups-1.9.61.ebuild: + Version bump 16 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> pycups-1.9.60.ebuild: x86 stable wrt bug #400333 diff --git a/dev-python/pycups/pycups-1.9.61.ebuild b/dev-python/pycups/pycups-1.9.61.ebuild new file mode 100644 index 000000000000..34c6a19745a5 --- /dev/null +++ b/dev-python/pycups/pycups-1.9.61.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.61.ebuild,v 1.1 2012/03/06 22:08:43 reavertm Exp $ + +EAPI="3" + +PYTHON_DEPEND="2:2.5" +RESTRICT_PYTHON_ABIS="*-jython" +inherit distutils flag-o-matic + +DESCRIPTION="Python bindings for the CUPS API" +HOMEPAGE="http://cyberelk.net/tim/data/pycups/" +SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +SLOT="0" +IUSE="doc examples" + +RDEPEND=" + net-print/cups +" +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc ) +" + +pkg_setup() { + python_set_active_version 2 +} + +src_compile() { + append-cflags -DVERSION=\\\"${PV}\\\" + distutils_src_compile + + if use doc; then + emake doc || die "emake doc failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r html/ || die "installing html docs failed" + fi + + if use examples; then + insinto /usr/share/doc/"${P}" + doins -r examples/ || die "installing examples failed" + fi +} |