Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycups: pycups-1.9.63.ebuild ChangeLog
Date: Thu, 01 Aug 2013 12:47:51
Message-Id: 20130801124743.DA2ED2171C@flycatcher.gentoo.org
1 mgorny 13/08/01 12:47:43
2
3 Modified: ChangeLog
4 Added: pycups-1.9.63.ebuild
5 Log:
6 Version bump. Convert to distutils-r1. Bug #474692.
7
8 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
9
10 Revision Changes Path
11 1.67 dev-python/pycups/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 20 Dec 2012 16:47:42 -0000 1.66
24 +++ ChangeLog 1 Aug 2013 12:47:43 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pycups
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.66 2012/12/20 16:47:42 kensington Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.67 2013/08/01 12:47:43 mgorny Exp $
31 +
32 +*pycups-1.9.63 (01 Aug 2013)
33 +
34 + 01 Aug 2013; Michał Górny <mgorny@g.o> +pycups-1.9.63.ebuild:
35 + Version bump. Convert to distutils-r1. Bug #474692.
36
37 20 Dec 2012; Michael Palimaka <kensington@g.o> -pycups-1.9.61.ebuild:
38 Remove old.
39
40
41
42 1.1 dev-python/pycups/pycups-1.9.63.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.63.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.63.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pycups-1.9.63.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.63.ebuild,v 1.1 2013/08/01 12:47:43 mgorny Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
56 inherit distutils-r1
57
58 DESCRIPTION="Python bindings for the CUPS API"
59 HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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
69 "
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_install_all() {
89 use doc && local HTML_DOCS=( html/ )
90 use examples && local EXAMPLES=( examples/ )
91
92 distutils-r1_python_install_all
93 }