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.7.ebuild
Date: Sat, 06 Sep 2008 14:16:57
Message-Id: E1Kbyas-0006Vi-8c@stork.gentoo.org
1 yngwin 08/09/06 14:16:54
2
3 Modified: ChangeLog
4 Added: sip-4.7.7.ebuild
5 Log:
6 sip version bump
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-hh1 i686)
8
9 Revision Changes Path
10 1.122 dev-python/sip/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.122&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.122&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?r1=1.121&r2=1.122
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
19 retrieving revision 1.121
20 retrieving revision 1.122
21 diff -u -r1.121 -r1.122
22 --- ChangeLog 11 Aug 2008 19:08:06 -0000 1.121
23 +++ ChangeLog 6 Sep 2008 14:16:53 -0000 1.122
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.121 2008/08/11 19:08:06 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.122 2008/09/06 14:16:53 yngwin Exp $
29 +
30 +*sip-4.7.7 (06 Sep 2008)
31 +
32 + 06 Sep 2008; Ben de Groot <yngwin@g.o> +sip-4.7.7.ebuild:
33 + Version bump. Fixes bug 234557.
34
35 11 Aug 2008; Ben de Groot <yngwin@g.o> sip-4.2.1.ebuild,
36 sip-4.2.1-r1.ebuild:
37
38
39
40 1.1 dev-python/sip/sip-4.7.7.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.7.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.7.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sip-4.7.7.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.7.ebuild,v 1.1 2008/09/06 14:16:53 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 emake DESTDIR="${D}" install || die "emake install failed"
93 dodoc ChangeLog NEWS README TODO doc/sipref.txt
94 dohtml doc/*
95 }
96
97 pkg_postinst() {
98 python_version
99 python_mod_compile /usr/$(get_libdir)/python${pyver}/sip*.py
100 }
101
102 pkg_postrm() {
103 python_mod_cleanup
104 }