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