Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycdio: pycdio-0.20-r1.ebuild ChangeLog pycdio-0.20.ebuild pycdio-0.18.ebuild pycdio-0.19.ebuild
Date: Fri, 02 Jan 2015 04:32:12
Message-Id: 20150102043208.8FDABEAF9@oystercatcher.gentoo.org
1 idella4 15/01/02 04:32:08
2
3 Modified: ChangeLog
4 Added: pycdio-0.20-r1.ebuild
5 Removed: pycdio-0.20.ebuild pycdio-0.18.ebuild
6 pycdio-0.19.ebuild
7 Log:
8 revbump; conversion -> distutils-r1, rm old
9
10 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
11
12 Revision Changes Path
13 1.14 dev-python/pycdio/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/ChangeLog?rev=1.14&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/ChangeLog?rev=1.14&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/ChangeLog?r1=1.13&r2=1.14
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v
22 retrieving revision 1.13
23 retrieving revision 1.14
24 diff -u -r1.13 -r1.14
25 --- ChangeLog 18 Sep 2013 06:05:39 -0000 1.13
26 +++ ChangeLog 2 Jan 2015 04:32:08 -0000 1.14
27 @@ -1,6 +1,12 @@
28 # ChangeLog for dev-python/pycdio
29 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.13 2013/09/18 06:05:39 patrick Exp $
31 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.14 2015/01/02 04:32:08 idella4 Exp $
33 +
34 +*pycdio-0.20-r1 (02 Jan 2015)
35 +
36 + 02 Jan 2015; Ian Delaney <idella4@g.o> +pycdio-0.20-r1.ebuild,
37 + -pycdio-0.18.ebuild, -pycdio-0.19.ebuild, -pycdio-0.20.ebuild:
38 + revbump; conversion -> distutils-r1, rm old
39
40 *pycdio-0.20 (18 Sep 2013)
41
42
43
44
45 1.1 dev-python/pycdio/pycdio-0.20-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/pycdio-0.20-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/pycdio-0.20-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pycdio-0.20-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/pycdio-0.20-r1.ebuild,v 1.1 2015/01/02 04:32:08 idella4 Exp $
55
56 EAPI=5
57 PYTHON_COMPAT=( python2_7 )
58
59 inherit distutils-r1
60
61 DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)"
62 HOMEPAGE="http://savannah.gnu.org/projects/libcdio/ http://pypi.python.org/pypi/pycdio"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="examples"
69
70 RDEPEND=">=dev-libs/libcdio-0.90"
71 DEPEND="${RDEPEND}
72 dev-lang/swig
73 dev-python/setuptools[${PYTHON_USEDEP}]"
74
75 CFLAGS="${CFLAGS} -fno-strict-aliasing"
76
77 RESTRICT="test" # currently tests fail
78
79 python_prepare_all() {
80 # Remove obsolete sys.path and adjust 'data' paths in examples.
81 sed -i \
82 -e "s:^sys.path.insert.*::" \
83 -e "s:\.\./data:./data:g" \
84 example/*.py || die
85
86 # Disable failing tests.
87 sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die
88 sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die
89 distutils-r1_python_prepare_all
90 }
91
92 python_install_all(){
93 use examples && local EXAMPLES=( example/. )
94 distutils-r1_python_install_all
95 }