Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/sip: ChangeLog sip-4.7.9.ebuild
Date: Fri, 21 Nov 2008 13:52:25
Message-Id: E1L3WQo-0002wX-5T@stork.gentoo.org
1 yngwin 08/11/21 13:52:22
2
3 Modified: ChangeLog
4 Added: sip-4.7.9.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc14/cvs/Linux 2.6.27-hh5 i686)
8
9 Revision Changes Path
10 1.125 dev-python/sip/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.125&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.125&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?r1=1.124&r2=1.125
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
19 retrieving revision 1.124
20 retrieving revision 1.125
21 diff -u -r1.124 -r1.125
22 --- ChangeLog 28 Oct 2008 11:56:18 -0000 1.124
23 +++ ChangeLog 21 Nov 2008 13:52:22 -0000 1.125
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/sip
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.124 2008/10/28 11:56:18 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.125 2008/11/21 13:52:22 yngwin Exp $
29 +
30 +*sip-4.7.9 (21 Nov 2008)
31 +
32 + 21 Nov 2008; Ben de Groot <yngwin@g.o> +sip-4.7.9.ebuild:
33 + Version bump
34
35 28 Oct 2008; Ali Polatel <hawking@g.o> sip-4.2.1.ebuild,
36 sip-4.2.1-r1.ebuild, sip-4.6.ebuild, sip-4.7.1.ebuild, sip-4.7.3.ebuild,
37
38
39
40 1.1 dev-python/sip/sip-4.7.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.7.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.7.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sip-4.7.9.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.7.9.ebuild,v 1.1 2008/11/21 13:52:22 yngwin Exp $
50
51 NEED_PYTHON=2.3
52
53 inherit python toolchain-funcs versionator multilib
54
55 MY_P=${P/_}
56
57 DESCRIPTION="A tool for generating bindings for C++ classes so that they can be used by Python"
58 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro"
59 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/sip$(get_major_version)/${MY_P}.tar.gz"
60
61 LICENSE="sip"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="debug"
65
66 S=${WORKDIR}/${MY_P}
67
68 DEPEND=""
69 RDEPEND=""
70
71 src_compile(){
72 python_version
73
74 local myconf
75 use debug && myconf="${myconf} -u"
76
77 "${python}" configure.py \
78 -b "/usr/bin" \
79 -d "/usr/$(get_libdir)/python${PYVER}/site-packages" \
80 -e "/usr/include/python${PYVER}" \
81 -v "/usr/share/sip" \
82 ${myconf} \
83 CXXFLAGS_RELEASE="" CFLAGS_RELEASE="" LFLAGS_RELEASE="" \
84 CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}" \
85 CC=$(tc-getCC) CXX=$(tc-getCXX) \
86 LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX) \
87 STRIP="true" || die "configure failed"
88 emake || die "emake failed"
89 }
90
91 src_install() {
92 python_need_rebuild
93 emake DESTDIR="${D}" install || die "emake install failed"
94 dodoc ChangeLog NEWS README TODO doc/sipref.txt
95 dohtml doc/*
96 }
97
98 pkg_postinst() {
99 python_version
100 python_mod_compile "$(python_get_sitedir)"/sip*.py
101 }
102
103 pkg_postrm() {
104 python_mod_cleanup
105 }