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.51.ebuild pycups-1.9.50.ebuild
Date: Mon, 28 Jun 2010 16:31:47
Message-Id: 20100628163142.BDF0C2C621@corvid.gentoo.org
1 reavertm 10/06/28 16:31:42
2
3 Modified: ChangeLog
4 Added: pycups-1.9.51.ebuild
5 Removed: pycups-1.9.50.ebuild
6 Log:
7 Version bump 1.9.51, remove old, also fix bug 325499
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 dev-python/pycups/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 26 Jun 2010 17:45:34 -0000 1.20
24 +++ ChangeLog 28 Jun 2010 16:31:42 -0000 1.21
25 @@ -1,6 +1,12 @@
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.20 2010/06/26 17:45:34 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.21 2010/06/28 16:31:42 reavertm Exp $
30 +
31 +*pycups-1.9.51 (28 Jun 2010)
32 +
33 + 28 Jun 2010; Maciej Mrozowski <reavertm@g.o> -pycups-1.9.50.ebuild,
34 + +pycups-1.9.51.ebuild:
35 + Version bump 1.9.51, remove old, also fix bug 325499
36
37 26 Jun 2010; Raúl Porcel <armin76@g.o> pycups-1.9.49.ebuild:
38 alpha/ia64/sparc stable wrt #322849
39
40
41
42 1.1 dev-python/pycups/pycups-1.9.51.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.51.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.51.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pycups-1.9.51.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.51.ebuild,v 1.1 2010/06/28 16:31:42 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 ~hppa ~ia64 ~ppc ~ppc64 ~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 }