Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyparted: ChangeLog pyparted-3.0-r1.ebuild pyparted-3.0.ebuild
Date: Wed, 24 Feb 2010 16:01:04
Message-Id: E1NkJfY-0005Cd-Ky@stork.gentoo.org
1 jer 10/02/24 16:01:00
2
3 Modified: ChangeLog
4 Added: pyparted-3.0-r1.ebuild
5 Removed: pyparted-3.0.ebuild
6 Log:
7 Do not install libtool archive (bug #305259). Thanks to Kacper Kowalik (Xarthisius) for the patch.
8 (Portage version: 2.2_rc63/cvs/Linux i686)
9
10 Revision Changes Path
11 1.41 dev-python/pyparted/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyparted/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyparted/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyparted/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyparted/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 24 Jan 2010 17:00:24 -0000 1.40
24 +++ ChangeLog 24 Feb 2010 16:00:59 -0000 1.41
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-python/pyparted
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/ChangeLog,v 1.40 2010/01/24 17:00:24 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/ChangeLog,v 1.41 2010/02/24 16:00:59 jer Exp $
30 +
31 +*pyparted-3.0-r1 (24 Feb 2010)
32 +
33 + 24 Feb 2010; Jeroen Roovers <jer@g.o> -pyparted-3.0.ebuild,
34 + +pyparted-3.0-r1.ebuild:
35 + Do not install libtool archive (bug #305259). Thanks to Kacper Kowalik
36 + (Xarthisius) for the patch.
37
38 *pyparted-3.0 (24 Jan 2010)
39
40
41
42
43 1.1 dev-python/pyparted/pyparted-3.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyparted/pyparted-3.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyparted/pyparted-3.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pyparted-3.0-r1.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/pyparted/pyparted-3.0-r1.ebuild,v 1.1 2010/02/24 16:00:59 jer Exp $
53
54 EAPI="2"
55
56 inherit autotools multilib python
57
58 DESCRIPTION="Python bindings for sys-apps/parted"
59 HOMEPAGE="https://fedorahosted.org/pyparted/"
60 SRC_URI="http://fedorahosted.org/releases/p/y/${PN}/${P}.tar.gz"
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
64 IUSE=""
65
66 DEPEND="
67 sys-libs/ncurses
68 >=dev-lang/python-2.4
69 >=sys-apps/parted-2.1
70 dev-python/decorator
71 "
72 RDEPEND="${DEPEND}"
73
74 src_prepare() {
75 sed -i -e 's/-avoid-version/& -shared /' src/Makefile.am || die "sed failed"
76 eautoreconf
77 }
78
79 src_install() {
80 python_need_rebuild
81 emake DESTDIR="${D}" install || die "emake install failed"
82 dodoc ChangeLog NEWS README TODO
83 # remove pointless libtool archive
84 python_version
85 rm -f "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/_pedmodule.la
86
87 }