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/rhpl: rhpl-0.219.ebuild ChangeLog
Date: Mon, 31 May 2010 19:11:10
Message-Id: 20100531191106.9AC482CF37@corvid.gentoo.org
1 arfrever 10/05/31 19:11:06
2
3 Modified: ChangeLog
4 Added: rhpl-0.219.ebuild
5 Log:
6 Version bump.
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 dev-python/rhpl/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rhpl/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rhpl/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rhpl/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/rhpl/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 31 May 2010 18:57:23 -0000 1.15
23 +++ ChangeLog 31 May 2010 19:11:06 -0000 1.16
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/rhpl
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/ChangeLog,v 1.15 2010/05/31 18:57:23 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/ChangeLog,v 1.16 2010/05/31 19:11:06 arfrever Exp $
29 +
30 +*rhpl-0.219 (31 May 2010)
31 +
32 + 31 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +rhpl-0.219.ebuild:
34 + Version bump.
35
36 31 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
37 rhpl-0.213.ebuild:
38
39
40
41 1.1 dev-python/rhpl/rhpl-0.219.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rhpl/rhpl-0.219.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rhpl/rhpl-0.219.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rhpl-0.219.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/rhpl-0.219.ebuild,v 1.1 2010/05/31 19:11:06 arfrever Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="3.*"
56
57 inherit multilib python rpm toolchain-funcs
58
59 # Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
60 # tarball out of it
61 RPMREV="2"
62
63 DESCRIPTION="Library of python code used by Red Hat Linux programs"
64 HOMEPAGE="http://fedoraproject.org/wiki/SystemConfig"
65 SRC_URI="mirror://fedora-dev/development/source/SRPMS/${P}-${RPMREV}.src.rpm"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~x86"
70 IUSE=""
71
72 RDEPEND="!<sys-libs/libkudzu-1.2"
73 DEPEND="${RDEPEND}
74 !s390? ( >=net-wireless/wireless-tools-28 )
75 sys-devel/gettext"
76
77 src_prepare() {
78 sed -e '/compileall/d' -i Makefile || die "sed failed"
79 sed \
80 -e 's:CFLAGS=:CFLAGS+=:' \
81 -e 's:gcc:$(CC):g' \
82 -e 's:-shared:& $(LDFLAGS):' \
83 -i src/Makefile || die "sed failed"
84 python_src_prepare
85 }
86
87 src_compile() {
88 building() {
89 emake \
90 PYTHON=$(PYTHON) \
91 LIBDIR=$(get_libdir) \
92 ARCH=${ARCH} \
93 CC=$(tc-getCC)
94 }
95 python_execute_function -s building
96 }
97
98 src_install() {
99 installation() {
100 emake \
101 DESTDIR="${ED}" \
102 PYTHON=$(PYTHON) \
103 LIBDIR=$(get_libdir) \
104 install
105 }
106 python_execute_function -s installation
107 }
108
109 pkg_postinst() {
110 python_mod_optimize rhpl
111 }
112
113 pkg_postrm() {
114 python_mod_cleanup rhpl
115 }