summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2011-10-04 17:20:31 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2011-10-04 17:20:31 +0000
commite6fd30fb41ab6a5e2a14441898ae71449b20f963 (patch)
tree5430267bc0e2d059a8bd08ecb22df00a232bc94e /dev-python
parentx86 stable, bug 384913 (diff)
downloadgentoo-2-e6fd30fb41ab6a5e2a14441898ae71449b20f963.tar.gz
gentoo-2-e6fd30fb41ab6a5e2a14441898ae71449b20f963.tar.bz2
gentoo-2-e6fd30fb41ab6a5e2a14441898ae71449b20f963.zip
Version bump
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pycups/ChangeLog7
-rw-r--r--dev-python/pycups/pycups-1.9.59.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog
index 9be54c371f6b..464a46dfd0c6 100644
--- a/dev-python/pycups/ChangeLog
+++ b/dev-python/pycups/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pycups
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.40 2011/09/12 22:32:24 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.41 2011/10/04 17:20:31 reavertm Exp $
+
+*pycups-1.9.59 (04 Oct 2011)
+
+ 04 Oct 2011; Maciej Mrozowski <reavertm@gentoo.org> +pycups-1.9.59.ebuild:
+ Version bump
12 Sep 2011; Maciej Mrozowski <reavertm@gentoo.org> pycups-1.9.58.ebuild,
pycups-1.9.49.ebuild, pycups-1.9.57.ebuild:
diff --git a/dev-python/pycups/pycups-1.9.59.ebuild b/dev-python/pycups/pycups-1.9.59.ebuild
new file mode 100644
index 000000000000..ea1131369c3a
--- /dev/null
+++ b/dev-python/pycups/pycups-1.9.59.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.59.ebuild,v 1.1 2011/10/04 17:20:31 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
+}