1 |
commit: cf17fd9209180e04dc9d1f362a628dcb1413b9b1 |
2 |
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 10 17:22:56 2012 +0000 |
4 |
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 10 17:22:56 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=cf17fd92 |
7 |
|
8 |
dev-python/sip: Remove old ebuilds |
9 |
|
10 |
--- |
11 |
dev-python/sip/sip-4.13.3_pre20120608.ebuild | 95 -------------------------- |
12 |
dev-python/sip/sip-4.13.4_pre20120706.ebuild | 95 -------------------------- |
13 |
2 files changed, 0 insertions(+), 190 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/sip/sip-4.13.3_pre20120608.ebuild b/dev-python/sip/sip-4.13.3_pre20120608.ebuild |
16 |
deleted file mode 100644 |
17 |
index 8f62ae2..0000000 |
18 |
--- a/dev-python/sip/sip-4.13.3_pre20120608.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,95 +0,0 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Header: $ |
24 |
- |
25 |
-EAPI="4" |
26 |
-PYTHON_DEPEND="*" |
27 |
-PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
28 |
-SUPPORT_PYTHON_ABIS="1" |
29 |
-RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*" |
30 |
- |
31 |
-EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip" |
32 |
-[[ ${PV} == *9999* ]] && HG_ECLASS="mercurial" |
33 |
- |
34 |
-inherit eutils python toolchain-funcs ${HG_ECLASS} |
35 |
- |
36 |
-HG_REVISION=377e9e4763f5 |
37 |
- |
38 |
-DESCRIPTION="Python extension module generator for C and C++ libraries" |
39 |
-HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP" |
40 |
-LICENSE="|| ( GPL-2 GPL-3 sip )" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
43 |
-IUSE="debug doc" |
44 |
- |
45 |
-DEPEND="" |
46 |
-RDEPEND="" |
47 |
- |
48 |
-if [[ ${PV} == *9999* ]]; then |
49 |
- # live version from mercurial repo |
50 |
- DEPEND="${DEPEND} |
51 |
- sys-devel/bison |
52 |
- sys-devel/flex" |
53 |
- S=${WORKDIR}/${PN} |
54 |
-elif [[ ${PV} == *_pre* ]]; then |
55 |
- # development snapshot |
56 |
- MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION} |
57 |
- SRC_URI="http://www.gentoo-el.org/~hwoarang/distfiles/${MY_P}.tar.gz" |
58 |
- S=${WORKDIR}/${MY_P} |
59 |
-fi |
60 |
- |
61 |
-src_prepare() { |
62 |
- epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch |
63 |
- sed -i -e 's/-O2//g' specs/* || die |
64 |
- |
65 |
- if [[ ${PV} == *9999* ]]; then |
66 |
- $(PYTHON -2) build.py prepare || die |
67 |
- fi |
68 |
- |
69 |
- python_src_prepare |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- configuration() { |
74 |
- local myconf=("$(PYTHON)" |
75 |
- configure.py |
76 |
- --bindir="${EPREFIX}/usr/bin" |
77 |
- --destdir="${EPREFIX}$(python_get_sitedir)" |
78 |
- --incdir="${EPREFIX}$(python_get_includedir)" |
79 |
- --sipdir="${EPREFIX}/usr/share/sip" |
80 |
- $(use debug && echo --debug) |
81 |
- CC="$(tc-getCC)" |
82 |
- CXX="$(tc-getCXX)" |
83 |
- LINK="$(tc-getCXX)" |
84 |
- LINK_SHLIB="$(tc-getCXX)" |
85 |
- CFLAGS="${CFLAGS}" |
86 |
- CXXFLAGS="${CXXFLAGS}" |
87 |
- LFLAGS="${LDFLAGS}" |
88 |
- STRIP=":") |
89 |
- echo "${myconf[@]}" |
90 |
- "${myconf[@]}" |
91 |
- } |
92 |
- python_execute_function -s configuration |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- python_src_install |
97 |
- |
98 |
- dodoc NEWS |
99 |
- |
100 |
- if use doc; then |
101 |
- dohtml -r doc/html/* |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- python_mod_optimize sipconfig.py sipdistutils.py |
107 |
- |
108 |
- ewarn "When updating dev-python/sip, you usually need to rebuild packages that depend on it," |
109 |
- ewarn "such as PyQt4, qscintilla-python and pykde4. If you have app-portage/gentoolkit" |
110 |
- ewarn "installed, you can find these packages with \`equery d dev-python/sip\`." |
111 |
-} |
112 |
- |
113 |
-pkg_postrm() { |
114 |
- python_mod_cleanup sipconfig.py sipdistutils.py |
115 |
-} |
116 |
|
117 |
diff --git a/dev-python/sip/sip-4.13.4_pre20120706.ebuild b/dev-python/sip/sip-4.13.4_pre20120706.ebuild |
118 |
deleted file mode 100644 |
119 |
index 8fc773c..0000000 |
120 |
--- a/dev-python/sip/sip-4.13.4_pre20120706.ebuild |
121 |
+++ /dev/null |
122 |
@@ -1,95 +0,0 @@ |
123 |
-# Copyright 1999-2012 Gentoo Foundation |
124 |
-# Distributed under the terms of the GNU General Public License v2 |
125 |
-# $Header: $ |
126 |
- |
127 |
-EAPI="4" |
128 |
-PYTHON_DEPEND="*" |
129 |
-PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
130 |
-SUPPORT_PYTHON_ABIS="1" |
131 |
-RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*" |
132 |
- |
133 |
-EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip" |
134 |
-[[ ${PV} == *9999* ]] && HG_ECLASS="mercurial" |
135 |
- |
136 |
-inherit eutils python toolchain-funcs ${HG_ECLASS} |
137 |
- |
138 |
-HG_REVISION=9b330b545c65 |
139 |
- |
140 |
-DESCRIPTION="Python extension module generator for C and C++ libraries" |
141 |
-HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP" |
142 |
-LICENSE="|| ( GPL-2 GPL-3 sip )" |
143 |
-SLOT="0" |
144 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
145 |
-IUSE="debug doc" |
146 |
- |
147 |
-DEPEND="" |
148 |
-RDEPEND="" |
149 |
- |
150 |
-if [[ ${PV} == *9999* ]]; then |
151 |
- # live version from mercurial repo |
152 |
- DEPEND="${DEPEND} |
153 |
- sys-devel/bison |
154 |
- sys-devel/flex" |
155 |
- S=${WORKDIR}/${PN} |
156 |
-elif [[ ${PV} == *_pre* ]]; then |
157 |
- # development snapshot |
158 |
- MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION} |
159 |
- SRC_URI="http://www.gentoo-el.org/~hwoarang/distfiles/${MY_P}.tar.gz" |
160 |
- S=${WORKDIR}/${MY_P} |
161 |
-fi |
162 |
- |
163 |
-src_prepare() { |
164 |
- epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch |
165 |
- sed -i -e 's/-O2//g' specs/* || die |
166 |
- |
167 |
- if [[ ${PV} == *9999* ]]; then |
168 |
- $(PYTHON -2) build.py prepare || die |
169 |
- fi |
170 |
- |
171 |
- python_src_prepare |
172 |
-} |
173 |
- |
174 |
-src_configure() { |
175 |
- configuration() { |
176 |
- local myconf=("$(PYTHON)" |
177 |
- configure.py |
178 |
- --bindir="${EPREFIX}/usr/bin" |
179 |
- --destdir="${EPREFIX}$(python_get_sitedir)" |
180 |
- --incdir="${EPREFIX}$(python_get_includedir)" |
181 |
- --sipdir="${EPREFIX}/usr/share/sip" |
182 |
- $(use debug && echo --debug) |
183 |
- CC="$(tc-getCC)" |
184 |
- CXX="$(tc-getCXX)" |
185 |
- LINK="$(tc-getCXX)" |
186 |
- LINK_SHLIB="$(tc-getCXX)" |
187 |
- CFLAGS="${CFLAGS}" |
188 |
- CXXFLAGS="${CXXFLAGS}" |
189 |
- LFLAGS="${LDFLAGS}" |
190 |
- STRIP=":") |
191 |
- echo "${myconf[@]}" |
192 |
- "${myconf[@]}" |
193 |
- } |
194 |
- python_execute_function -s configuration |
195 |
-} |
196 |
- |
197 |
-src_install() { |
198 |
- python_src_install |
199 |
- |
200 |
- dodoc NEWS |
201 |
- |
202 |
- if use doc; then |
203 |
- dohtml -r doc/html/* |
204 |
- fi |
205 |
-} |
206 |
- |
207 |
-pkg_postinst() { |
208 |
- python_mod_optimize sipconfig.py sipdistutils.py |
209 |
- |
210 |
- ewarn "When updating dev-python/sip, you usually need to rebuild packages that depend on it," |
211 |
- ewarn "such as PyQt4, qscintilla-python and pykde4. If you have app-portage/gentoolkit" |
212 |
- ewarn "installed, you can find these packages with \`equery d dev-python/sip\`." |
213 |
-} |
214 |
- |
215 |
-pkg_postrm() { |
216 |
- python_mod_cleanup sipconfig.py sipdistutils.py |
217 |
-} |