Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycups: pycups-1.9.72.ebuild ChangeLog
Date: Wed, 27 May 2015 20:43:38
Message-Id: 20150527204332.124D4A0A@oystercatcher.gentoo.org
1 pacho 15/05/27 20:43:32
2
3 Modified: ChangeLog
4 Added: pycups-1.9.72.ebuild
5 Log:
6 Version bump (#549254)
7
8 (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.96 dev-python/pycups/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.96&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.96&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.95&r2=1.96
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
20 retrieving revision 1.95
21 retrieving revision 1.96
22 diff -u -r1.95 -r1.96
23 --- ChangeLog 8 Apr 2015 08:04:58 -0000 1.95
24 +++ ChangeLog 27 May 2015 20:43:32 -0000 1.96
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pycups
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.95 2015/04/08 08:04:58 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.96 2015/05/27 20:43:32 pacho Exp $
30 +
31 +*pycups-1.9.72 (27 May 2015)
32 +
33 + 27 May 2015; Pacho Ramos <pacho@g.o> +pycups-1.9.72.ebuild:
34 + Version bump (#549254)
35
36 08 Apr 2015; Michał Górny <mgorny@g.o> pycups-1.9.68.ebuild:
37 Drop old Python implementations
38
39
40
41 1.1 dev-python/pycups/pycups-1.9.72.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.72.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.72.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pycups-1.9.72.ebuild
47 ===================================================================
48 # Copyright 1999-2015 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.72.ebuild,v 1.1 2015/05/27 20:43:32 pacho Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
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 }