summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-02-02 20:17:22 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-02-02 20:17:22 +0000
commit5d3352ebea31aee74186a0a911ade1b7e841a1c0 (patch)
tree10a292cba2bedfd80714954bc80e7d5c4c486cb1 /dev-python/pycups
parent Version bump (diff)
downloadgentoo-2-5d3352ebea31aee74186a0a911ade1b7e841a1c0.tar.gz
gentoo-2-5d3352ebea31aee74186a0a911ade1b7e841a1c0.tar.bz2
gentoo-2-5d3352ebea31aee74186a0a911ade1b7e841a1c0.zip
Version bump 1.9.48
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycups')
-rw-r--r--dev-python/pycups/ChangeLog7
-rw-r--r--dev-python/pycups/pycups-1.9.48.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog
index ae5eb38000a0..d50bbdf649e8 100644
--- a/dev-python/pycups/ChangeLog
+++ b/dev-python/pycups/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pycups
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.13 2010/01/30 03:59:24 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.14 2010/02/02 20:17:22 reavertm Exp $
+
+*pycups-1.9.48 (02 Feb 2010)
+
+ 02 Feb 2010; Maciej Mrozowski <reavertm@gentoo.org> +pycups-1.9.48.ebuild:
+ Version bump 1.9.48
30 Jan 2010; Maciej Mrozowski <reavertm@gentoo.org> metadata.xml:
Updated my email
diff --git a/dev-python/pycups/pycups-1.9.48.ebuild b/dev-python/pycups/pycups-1.9.48.ebuild
new file mode 100644
index 000000000000..c97532f18192
--- /dev/null
+++ b/dev-python/pycups/pycups-1.9.48.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.48.ebuild,v 1.1 2010/02/02 20:17:22 reavertm Exp $
+
+EAPI="2"
+
+NEED_PYTHON="2.4"
+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"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc examples"
+
+RDEPEND="
+ net-print/cups
+"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/epydoc )
+"
+
+RESTRICT_PYTHON_ABIS="3*"
+
+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
+
+}