Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycdio: pycdio-0.17.ebuild ChangeLog
Date: Mon, 01 Nov 2010 00:43:49
Message-Id: 20101101004345.1F58D20051@flycatcher.gentoo.org
1 arfrever 10/11/01 00:43:45
2
3 Modified: ChangeLog
4 Added: pycdio-0.17.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 dev-python/pycdio/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 24 Dec 2009 23:23:49 -0000 1.6
24 +++ ChangeLog 1 Nov 2010 00:43:45 -0000 1.7
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pycdio
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.6 2009/12/24 23:23:49 arfrever Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/ChangeLog,v 1.7 2010/11/01 00:43:45 arfrever Exp $
31 +
32 +*pycdio-0.17 (01 Nov 2010)
33 +
34 + 01 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + -pycdio-0.16.ebuild, +pycdio-0.17.ebuild:
36 + Version bump.
37
38 *pycdio-0.16 (25 Dec 2009)
39
40
41
42
43 1.1 dev-python/pycdio/pycdio-0.17.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/pycdio-0.17.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycdio/pycdio-0.17.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pycdio-0.17.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycdio/pycdio-0.17.ebuild,v 1.1 2010/11/01 00:43:45 arfrever Exp $
53
54 EAPI="3"
55 PYTHON_DEPEND="2"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="3.*"
58 DISTUTILS_SRC_TEST="nosetests"
59
60 inherit distutils
61
62 DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)"
63 HOMEPAGE="http://savannah.gnu.org/projects/libcdio/ http://pypi.python.org/pypi/pycdio"
64 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="examples"
70
71 RDEPEND="dev-libs/libcdio"
72 DEPEND="${RDEPEND}
73 dev-lang/swig
74 dev-python/setuptools"
75
76 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
77
78 DOCS="README.txt"
79 PYTHON_MODNAME="cdio.py iso9660.py pycdio.py pyiso9660.py"
80
81 src_prepare() {
82 distutils_src_prepare
83
84 # Remove obsolete sys.path and adjust 'data' paths in examples.
85 sed \
86 -e "s:^sys.path.insert.*::" \
87 -e "s:\.\./data:./data:g" \
88 -i example/*.py || die "sed failed"
89
90 # Disable failing tests.
91 sed -e "s/test_get_set/_&/" -i test/test-cdtext.py || die "sed failed"
92 sed -e "s/test_fs/_&/" -i test/test-isocopy.py || die "sed failed"
93 }
94
95 src_install(){
96 distutils_src_install
97
98 if use examples; then
99 insinto /usr/share/doc/${PF}/examples
100 doins example/{README,*.py} || die "doins failed"
101 doins -r data || die "doins failed"
102 fi
103 }