Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycups: pycups-1.9.46.ebuild ChangeLog
Date: Tue, 04 Aug 2009 11:51:32
Message-Id: E1MYIYE-0002Bu-Vg@stork.gentoo.org
1 wired 09/08/04 11:51:30
2
3 Modified: ChangeLog
4 Added: pycups-1.9.46.ebuild
5 Log:
6 version bump, ebuild from kde-testing
7 (Portage version: 2.2_rc35/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-python/pycups/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 12 Jun 2009 14:06:09 -0000 1.4
23 +++ ChangeLog 4 Aug 2009 11:51:30 -0000 1.5
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/pycups
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.4 2009/06/12 14:06:09 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.5 2009/08/04 11:51:30 wired Exp $
29 +
30 +*pycups-1.9.46 (04 Aug 2009)
31 +
32 + 04 Aug 2009; Alex Alexander <wired@g.o> +pycups-1.9.46.ebuild:
33 + version bump, ebuild from kde-testing
34
35 *pycups-1.9.45-r1 (12 Jun 2009)
36
37
38
39
40 1.1 dev-python/pycups/pycups-1.9.46.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycups/pycups-1.9.46.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycups/pycups-1.9.46.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pycups-1.9.46.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.46.ebuild,v 1.1 2009/08/04 11:51:30 wired Exp $
50
51 NEED_PYTHON="2.4"
52 inherit distutils flag-o-matic
53
54 DESCRIPTION="Python bindings for the CUPS API"
55 HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
56 SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="doc examples"
62
63 RDEPEND="
64 net-print/cups
65 "
66 DEPEND="${RDEPEND}
67 doc? ( dev-python/epydoc )
68 "
69
70 src_compile() {
71 append-cflags -DVERSION=\\\"${PV}\\\"
72 distutils_src_compile
73
74 if use doc; then
75 emake doc || die "emake doc failed"
76 fi
77 }
78
79 src_install() {
80 distutils_src_install
81
82 if use doc; then
83 dohtml -r html/ || die "installing html docs failed"
84 fi
85
86 if use examples; then
87 insinto /usr/share/doc/"${P}"
88 doins -r examples/ || die "installing examples failed"
89 fi
90
91 }