Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/sip: ChangeLog sip-4.7.1.ebuild
Date: Tue, 02 Oct 2007 12:28:49
Message-Id: E1Icgj5-0007vV-IN@stork.gentoo.org
1 caleb 07/10/02 12:19:47
2
3 Modified: ChangeLog
4 Added: sip-4.7.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.102 dev-python/sip/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.102&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.102&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?r1=1.101&r2=1.102
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
19 retrieving revision 1.101
20 retrieving revision 1.102
21 diff -u -r1.101 -r1.102
22 --- ChangeLog 25 Aug 2007 22:21:29 -0000 1.101
23 +++ ChangeLog 2 Oct 2007 12:19:47 -0000 1.102
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/sip
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.101 2007/08/25 22:21:29 beandog Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.102 2007/10/02 12:19:47 caleb Exp $
29 +
30 +*sip-4.7.1 (02 Oct 2007)
31 +
32 + 02 Oct 2007; Caleb Tennis <caleb@g.o> +sip-4.7.1.ebuild:
33 + version bump
34
35 25 Aug 2007; Steve Dibb <beandog@g.o> sip-4.7.ebuild:
36 amd64 stable, bug 190238
37
38
39
40 1.1 dev-python/sip/sip-4.7.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.7.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.7.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sip-4.7.1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.1.ebuild,v 1.1 2007/10/02 12:19:47 caleb Exp $
50
51 NEED_PYTHON=2.3
52
53 inherit python toolchain-funcs versionator multilib
54
55 MY_P=${P/_}
56
57 DESCRIPTION="SIP is a tool for generating bindings for C++ classes so that they can be used by Python."
58 HOMEPAGE="http://www.riverbankcomputing.co.uk/sip/"
59 SRC_URI="http://www.riverbankcomputing.com/Downloads/sip$(get_major_version)/${MY_P}.tar.gz"
60
61 LICENSE="sip"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~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="" \
84 CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
85 CC=$(tc-getCC) CXX=$(tc-getCXX) \
86 LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX) \
87 STRIP="/bin/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 THANKS TODO doc/sipref.txt
94 dohtml doc/*
95 }
96
97 pkg_postinst() {
98 python_mod_optimize
99 }
100
101 pkg_postrm() {
102 python_mod_cleanup
103 }
104
105
106
107 --
108 gentoo-commits@g.o mailing list