Gentoo Archives: gentoo-commits

From: "Michael Palimaka (kensington)" <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycups: pycups-1.9.66.ebuild ChangeLog
Date: Tue, 25 Feb 2014 18:27:20
Message-Id: 20140225182717.779142004C@flycatcher.gentoo.org
1 kensington 14/02/25 18:27:17
2
3 Modified: ChangeLog
4 Added: pycups-1.9.66.ebuild
5 Log:
6 Version bump wrt bug #500534, adding Python 3 support.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
9
10 Revision Changes Path
11 1.80 dev-python/pycups/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.80&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.80&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.79&r2=1.80
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
20 retrieving revision 1.79
21 retrieving revision 1.80
22 diff -u -r1.79 -r1.80
23 --- ChangeLog 15 Jan 2014 13:05:02 -0000 1.79
24 +++ ChangeLog 25 Feb 2014 18:27:17 -0000 1.80
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pycups
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.79 2014/01/15 13:05:02 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.80 2014/02/25 18:27:17 kensington Exp $
30 +
31 +*pycups-1.9.66 (25 Feb 2014)
32 +
33 + 25 Feb 2014; Michael Palimaka <kensington@g.o> +pycups-1.9.66.ebuild:
34 + Version bump wrt bug #500534, adding Python 3 support.
35
36 15 Jan 2014; Agostino Sarubbo <ago@g.o> pycups-1.9.63.ebuild:
37 Stable for alpha, wrt bug #488760
38
39
40
41 1.1 dev-python/pycups/pycups-1.9.66.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.66.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.66.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pycups-1.9.66.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.66.ebuild,v 1.1 2014/02/25 18:27:17 kensington Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
55 inherit distutils-r1
56
57 DESCRIPTION="Python bindings for the CUPS API"
58 HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
59 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
63 SLOT="0"
64 IUSE="doc examples"
65
66 RDEPEND="
67 net-print/cups
68 "
69 DEPEND="${RDEPEND}"
70
71 # epydoc kinda sucks and supports python2 only (it's dead too),
72 # and since we're dealing with a binary module we need exact version
73 # match. therefore, docbuilding *requires* any python2 being enabled.
74
75 DEPEND="${RDEPEND}
76 doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )
77 "
78
79 REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
80
81 python_compile_all() {
82 if use doc; then
83 # we can't use Makefile since it relies on hardcoded paths
84 epydoc -o html --html cups || die "doc build failed"
85 fi
86 }
87
88 python_compile() {
89 python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
90 distutils-r1_python_compile
91 }
92
93 python_install_all() {
94 use doc && local HTML_DOCS=( html/ )
95 use examples && local EXAMPLES=( examples/ )
96
97 distutils-r1_python_install_all
98 }