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