Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/sip: ChangeLog sip-4.12.3.ebuild sip-4.12.ebuild sip-4.12.2.ebuild
Date: Sat, 28 May 2011 00:07:07
Message-Id: 20110528000656.99E8E20054@flycatcher.gentoo.org
1 hwoarang 11/05/28 00:06:56
2
3 Modified: ChangeLog
4 Added: sip-4.12.3.ebuild
5 Removed: sip-4.12.ebuild sip-4.12.2.ebuild
6 Log:
7 Version bump. remove old
8
9 (Portage version: 2.2.0_alpha36/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.192 dev-python/sip/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.192&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.192&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?r1=1.191&r2=1.192
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
21 retrieving revision 1.191
22 retrieving revision 1.192
23 diff -u -r1.191 -r1.192
24 --- ChangeLog 9 May 2011 23:01:33 -0000 1.191
25 +++ ChangeLog 28 May 2011 00:06:56 -0000 1.192
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/sip
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.191 2011/05/09 23:01:33 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.192 2011/05/28 00:06:56 hwoarang Exp $
31 +
32 +*sip-4.12.3 (28 May 2011)
33 +
34 + 28 May 2011; Markos Chandras <hwoarang@g.o> -sip-4.12.ebuild,
35 + -sip-4.12.2.ebuild, +sip-4.12.3.ebuild:
36 + Version bump. remove old
37
38 09 May 2011; Markos Chandras <hwoarang@g.o> sip-4.12.1.ebuild:
39 Stable on amd64 wrt bug #354033
40
41
42
43 1.1 dev-python/sip/sip-4.12.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.12.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.12.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: sip-4.12.3.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.12.3.ebuild,v 1.1 2011/05/28 00:06:56 hwoarang Exp $
53
54 EAPI="3"
55 PYTHON_DEPEND="*"
56 PYTHON_EXPORT_PHASE_FUNCTIONS="1"
57 SUPPORT_PYTHON_ABIS="1"
58 RESTRICT_PYTHON_ABIS="*-jython"
59
60 inherit eutils python toolchain-funcs
61
62 MY_P="${P/_pre/-snapshot-}"
63
64 DESCRIPTION="Python extension module generator for C and C++ libraries"
65 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
66 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${MY_P}.tar.gz"
67
68 LICENSE="|| ( GPL-2 GPL-3 sip )"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
71 IUSE="debug doc"
72
73 S="${WORKDIR}/${MY_P}"
74
75 DEPEND=""
76 RDEPEND=""
77
78 src_prepare() {
79 epatch "${FILESDIR}/${PN}-4.9.3-darwin.patch"
80 python_copy_sources
81 }
82
83 src_configure() {
84 configuration() {
85 local myconf=("$(PYTHON)"
86 configure.py
87 --bindir="${EPREFIX}/usr/bin"
88 --incdir="${EPREFIX}$(python_get_includedir)"
89 --destdir="${EPREFIX}$(python_get_sitedir)"
90 --sipdir="${EPREFIX}/usr/share/sip"
91 $(use debug && echo --debug)
92 CC="$(tc-getCC)"
93 CXX="$(tc-getCXX)"
94 LINK="$(tc-getCXX)"
95 LINK_SHLIB="$(tc-getCXX)"
96 CFLAGS="${CFLAGS}"
97 CXXFLAGS="${CXXFLAGS}"
98 LFLAGS="${LDFLAGS}"
99 STRIP=":")
100 echo "${myconf[@]}"
101 "${myconf[@]}"
102 }
103 python_execute_function -s configuration
104 }
105
106 src_install() {
107 python_src_install
108
109 dodoc NEWS || die "dodoc failed"
110
111 if use doc; then
112 dohtml -r doc/html/* || die "dohtml failed"
113 fi
114 }
115
116 pkg_postinst() {
117 python_mod_optimize sipconfig.py sipdistutils.py
118
119 ewarn "When updating dev-python/sip, you usually need to rebuild packages, which depend on dev-python/sip,"
120 ewarn "such as dev-python/PyQt4 and dev-python/qscintilla-python. If you have app-portage/gentoolkit"
121 ewarn "installed, you can find these packages with \`equery d dev-python/sip dev-python/PyQt4\`."
122 }
123
124 pkg_postrm() {
125 python_mod_cleanup sipconfig.py sipdistutils.py
126 }