Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycups: ChangeLog pycups-1.9.53.ebuild
Date: Thu, 27 Jan 2011 01:20:27
Message-Id: 20110127012014.BABDD20054@flycatcher.gentoo.org
1 reavertm 11/01/27 01:20:14
2
3 Modified: ChangeLog
4 Added: pycups-1.9.53.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.27 dev-python/pycups/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.27&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.27&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.26&r2=1.27
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
20 retrieving revision 1.26
21 retrieving revision 1.27
22 diff -u -r1.26 -r1.27
23 --- ChangeLog 6 Nov 2010 18:46:59 -0000 1.26
24 +++ ChangeLog 27 Jan 2011 01:20:14 -0000 1.27
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pycups
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.26 2010/11/06 18:46:59 halcy0n Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.27 2011/01/27 01:20:14 reavertm Exp $
31 +
32 +*pycups-1.9.53 (27 Jan 2011)
33 +
34 + 27 Jan 2011; Maciej Mrozowski <reavertm@g.o> +pycups-1.9.53.ebuild:
35 + Version bump
36
37 06 Nov 2010; Mark Loeser <halcy0n@g.o> pycups-1.9.46.ebuild:
38 Revert to ~ppc64; bug #322849
39
40
41
42 1.1 dev-python/pycups/pycups-1.9.53.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.53.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.53.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pycups-1.9.53.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.53.ebuild,v 1.1 2011/01/27 01:20:14 reavertm Exp $
52
53 EAPI="2"
54
55 RESTRICT_PYTHON_ABIS="3.*"
56 SUPPORT_PYTHON_ABIS="1"
57 inherit distutils flag-o-matic
58
59 DESCRIPTION="Python bindings for the CUPS API"
60 HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
61 SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
65 SLOT="0"
66 IUSE="doc examples"
67
68 RDEPEND="
69 >=net-print/cups-1.4.4
70 "
71 DEPEND="${RDEPEND}
72 doc? ( dev-python/epydoc )
73 "
74
75 src_compile() {
76 append-cflags -DVERSION=\\\"${PV}\\\"
77 distutils_src_compile
78
79 if use doc; then
80 emake doc || die "emake doc failed"
81 fi
82 }
83
84 src_install() {
85 distutils_src_install
86
87 if use doc; then
88 dohtml -r html/ || die "installing html docs failed"
89 fi
90
91 if use examples; then
92 insinto /usr/share/doc/"${P}"
93 doins -r examples/ || die "installing examples failed"
94 fi
95 }