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