Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/sip: sip-4.8.2.ebuild ChangeLog
Date: Fri, 31 Jul 2009 07:06:33
Message-Id: E1MWmCF-00023X-Nv@stork.gentoo.org
1 wired 09/07/31 07:06:31
2
3 Modified: ChangeLog
4 Added: sip-4.8.2.ebuild
5 Log:
6 sip version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.135 dev-python/sip/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.135&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.135&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?r1=1.134&r2=1.135
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
19 retrieving revision 1.134
20 retrieving revision 1.135
21 diff -u -r1.134 -r1.135
22 --- ChangeLog 28 Jun 2009 00:45:08 -0000 1.134
23 +++ ChangeLog 31 Jul 2009 07:06:31 -0000 1.135
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/sip
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.134 2009/06/28 00:45:08 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.135 2009/07/31 07:06:31 wired Exp $
29 +
30 +*sip-4.8.2 (31 Jul 2009)
31 +
32 + 31 Jul 2009; Alex Alexander <wired@g.o> +sip-4.8.2.ebuild:
33 + version bump
34
35 28 Jun 2009; Markos Chandras <hwoarang@g.o> -sip-4.8.ebuild:
36 Remove old ebuild
37
38
39
40 1.1 dev-python/sip/sip-4.8.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sip-4.8.2.ebuild
46 ===================================================================
47 # Copyright 1999-2009 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.8.2.ebuild,v 1.1 2009/07/31 07:06:31 wired Exp $
50
51 EAPI="2"
52 NEED_PYTHON="2.3"
53
54 inherit python toolchain-funcs
55
56 MY_P=${P/_pre/-snapshot-}
57
58 DESCRIPTION="A tool for generating bindings for C++ classes so that they can be used by Python"
59 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro"
60 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${MY_P}.tar.gz"
61
62 LICENSE="sip"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="debug doc"
66
67 S="${WORKDIR}/${MY_P}"
68
69 DEPEND=""
70 RDEPEND=""
71
72 src_configure() {
73 python_version
74
75 local myconf="${python} configure.py
76 --bindir=/usr/bin
77 --destdir=$(python_get_sitedir)
78 --incdir=/usr/include/python${PYVER}
79 --sipdir=/usr/share/sip
80 $(use debug && echo '--debug')
81 CC=$(tc-getCC) CXX=$(tc-getCXX)
82 LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX)
83 CFLAGS='${CFLAGS}' CXXFLAGS='${CXXFLAGS}'
84 LFLAGS='${LDFLAGS}'
85 STRIP=true"
86 echo ${myconf}
87 eval ${myconf} || die "configuration failed"
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "emake install failed"
92 dodoc ChangeLog NEWS || die
93
94 if use doc; then
95 dohtml -r doc/html/* || die
96 fi
97 }
98
99 pkg_postinst() {
100 python_need_rebuild
101 python_mod_optimize "$(python_get_sitedir)"/sip*.py
102 }
103
104 pkg_postrm() {
105 python_mod_cleanup
106 }