summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2011-08-22 23:08:42 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2011-08-22 23:08:42 +0000
commita4b5872cd7c4aa44b318263cf3dc8de01e82d2a0 (patch)
tree129dc639911d66da74415a07a21e5e5d6e399d32 /dev-python
parentRemove incorrect library path. Patch by Jonathan Callen <abcd@gentoo.org>. Bu... (diff)
downloadgentoo-2-a4b5872cd7c4aa44b318263cf3dc8de01e82d2a0.tar.gz
gentoo-2-a4b5872cd7c4aa44b318263cf3dc8de01e82d2a0.tar.bz2
gentoo-2-a4b5872cd7c4aa44b318263cf3dc8de01e82d2a0.zip
Version bump
(Portage version: 2.2.0_alpha51/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.58.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog
index e71cf785ff24..af0bc9c5cb71 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.35 2011/08/10 21:03:44 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.36 2011/08/22 23:08:42 reavertm Exp $
+
+*pycups-1.9.58 (22 Aug 2011)
+
+ 22 Aug 2011; Maciej Mrozowski <reavertm@gentoo.org> +pycups-1.9.58.ebuild:
+ Version bump
10 Aug 2011; Markus Meier <maekke@gentoo.org> pycups-1.9.57.ebuild:
arm stable, bug #349496
diff --git a/dev-python/pycups/pycups-1.9.58.ebuild b/dev-python/pycups/pycups-1.9.58.ebuild
new file mode 100644
index 000000000000..88215ef8ff72
--- /dev/null
+++ b/dev-python/pycups/pycups-1.9.58.ebuild
@@ -0,0 +1,47 @@
+# 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.58.ebuild,v 1.1 2011/08/22 23:08:42 reavertm Exp $
+
+EAPI="3"
+
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+SUPPORT_PYTHON_ABIS="1"
+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 )
+"
+
+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
+}