Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy-bin/
Date: Fri, 01 Nov 2019 08:07:22
Message-Id: 1572595410.87d96885bcadfac9dfaee82b13720ed4e961202a.mgorny@gentoo
1 commit: 87d96885bcadfac9dfaee82b13720ed4e961202a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 1 07:48:43 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 1 08:03:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d96885
7
8 dev-python/pypy-bin: Drop 7.1.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pypy-bin/Manifest | 11 --
13 dev-python/pypy-bin/pypy-bin-7.1.1.ebuild | 208 ------------------------------
14 2 files changed, 219 deletions(-)
15
16 diff --git a/dev-python/pypy-bin/Manifest b/dev-python/pypy-bin/Manifest
17 index de743c9b612..4c6ea3a6d7e 100644
18 --- a/dev-python/pypy-bin/Manifest
19 +++ b/dev-python/pypy-bin/Manifest
20 @@ -1,17 +1,6 @@
21 -DIST pypy-bin-7.1.1-amd64+bzip2+jit+libressl+ncurses.tar.lz 13220880 BLAKE2B d4b45f757069405f5641ed9b70ce8e94970b1a67c9ee2865fe4250c4c85b8dd44268c5e3aeb7c852fbb8822df4c0326d4d9fc5f77cc8db1dfa4eda749b6c1122 SHA512 b8d4b35ce8b1119fef4dc624cd28c71afdb13669e9c44f380440cd6275156f7f2a1ce240a855038bc82638152f69d1f27191d4937c23052e0a9b0ca4a4efa215
22 -DIST pypy-bin-7.1.1-amd64+bzip2+jit+ncurses.tar.lz 13081888 BLAKE2B f693f6148eae1583d4fcfcffa48cdf2317d99d4839ecc9e592868285f789e74a88b5aad1c842dd22e8c4b3c43a897fedd2ad95076105e95bf8cab53a27cb8308 SHA512 db4ac8050597da6a727b7cb4ee9549697796a1452b786888c9e9fb5cdd218817edcf4b3b6317a39716b589df140d831539185b6120eb516f80f472e8d7acd0b4
23 -DIST pypy-bin-7.1.1-amd64+bzip2+libressl+ncurses.tar.lz 7737448 BLAKE2B 02c5aa5227bc6d2fc4087b4767c63737378d90f222a7402b20fee166f36c636fae35855dbf1df9c63984df5624c6ec052e1ec598ca4eb367a6ffccec7c397952 SHA512 ab2b274b3aadf04d55dbc9e4df5ca59ea97ec7df4dd1f8bb24feee4d46d7c02d9c72d55fad784d7412382e0803f172e871f01f82deba2cc5155b97e5139602e9
24 -DIST pypy-bin-7.1.1-amd64+bzip2+ncurses.tar.lz 7771869 BLAKE2B b63cb64cd7d3c130a58829b786fdd3d35a7eaf192b0491046199e993b20d58ddd9fe83d264d077801f0d18632e5b06f281065150a725a8ae017867b18e036f62 SHA512 1383bfe7c4497f17833e48c3b6096d29f5da675e713e740a5836f5aa9b818fb5460af9ff682e34d9d409bdfa1283dde9cb796b79a6f62d9ba024379cbeff223d
25 -DIST pypy-bin-7.1.1-x86+bzip2+jit+libressl+ncurses+sse2.tar.lz 9944011 BLAKE2B daf397da1f9341ded52b8cafae7c92080cfef1b2dc146b73dade51737a2d765ff52ffe55070229e8faf7e79c420c2ea3de4e5ad7f4ba5ee38d7c3dcd5953c9e2 SHA512 107a2df768985a818d906d176967188975e1beddc067c33fe228e0d2fd53b6d35e75603eb9b4e723eb5278e7b0a5b4a33921b6b820be0fce7dead40f4b9f68d3
26 -DIST pypy-bin-7.1.1-x86+bzip2+jit+ncurses+sse2.tar.lz 9979104 BLAKE2B 999e620f47e45d0aee9cdb668e99e0ef8b9b8eea7393ef813f1116ec25f9143f77f78f6e26571e23248fb1c06fd1e5ad74186dc8dace7e4035b11078d2eec7d4 SHA512 803118af392da988070464155c3d95fdce70fd1ab8c37e59cb4ce9f719d2c354a6330cf5c759b0a92e8efe44ecc5cf894efd93e1882ae530027d2f6261321834
27 -DIST pypy-bin-7.1.1-x86+bzip2+libressl+ncurses+sse2.tar.lz 6092434 BLAKE2B 71141a8981fb006412b2a5cae3d93b08a83b68c22a3470eefe8ae15534ecf227c74f0fd878ba790d73b7cb4e0568881aa94b739fafb36e12b3d909fd4ce6f285 SHA512 92f5185a70aad8f2161452f490b001783fc75d275dba800c0ba73704914bdc2363553c33b72ecf8408133fd962ea9f53399b8316bd54a1f794569c6f08f28270
28 -DIST pypy-bin-7.1.1-x86+bzip2+libressl+ncurses.tar.lz 6060032 BLAKE2B 660d834c3a76ed699170b7c13d36f6dc00df3b4811a09c5dec161af7f9b0416c7fda461ca04481ad656bea39b6ed25f5220b8d38c8ec02c9634a025e3b3d6cfc SHA512 21baa8cd6bd255a335c67a1197ccef856553987740f517e1b33c27758e57b61c22b8274419b445a257ad32511d3c07901d4550151047e04adcd39c9cbf20058e
29 -DIST pypy-bin-7.1.1-x86+bzip2+ncurses+sse2.tar.lz 6091202 BLAKE2B c173cf6890143e27677e6d6ee68b2a1f55ec97897817622559c25f2f49ca5bbb5a0a2c32785a3356a6bb8f4899ff19164e550fd2762003ee018faadf80227c95 SHA512 a630e380177da78daef288e69f15a4cb333c4ef1ab2da8b4b6cf76ec139c1961d692873c7ec119e54f596ef4e1435a6c6b3ef933edca2b0b5cd6fc24963d3b0d
30 -DIST pypy-bin-7.1.1-x86+bzip2+ncurses.tar.lz 6088838 BLAKE2B 555bca61d4693b3e5d3c8344bac3781cfe06acc4a50bcd74add2d122c68f177258ef438a7801ca4633a006e8a001500110287934f232ceb52789f3cc72b9b34b SHA512 0748e14e903b0863bb2a067b558826f47cad2063c31c935b84249eee2a9cf96cfa36a5d5ef92f0facca61356499f4b9cfee6496a6cc3228bae7729e50edf6be0
31 DIST pypy-bin-7.2.0-amd64+bzip2+jit+ncurses.tar.lz 13208672 BLAKE2B 526e2f4eeb57d1f169344244384f3aa35d77bd0f9dc4e1f463248eeac023e7c98a21e565080d0cc3e56c1950128450b1fc6e830e33032e8267aa21c5beb4f80b SHA512 d49942d1cd97ab580850b95590cf0982eb7f53e0b88681408392266cdad814d00d195edd757b106e4016d8df9e0d3c53bf937de145f9257313f33ffb86c2229e
32 DIST pypy-bin-7.2.0-amd64+bzip2+ncurses.tar.lz 7865924 BLAKE2B 1d3cf776274285aee433de2dc8ebd5e0bf52a7cc700f1bbfb16ca071ac5b6017dddad211d9dcdf809f97289e12d38e5758023dbd80c6a68323ffaa02e8c72614 SHA512 ad481a62359c615a0fcb1bb3e57b84c536b43d569ac88393000bd8b9e9d0fc3e685c3907cfcf241c3dc60479589d042009ffe1382a27be2581c8ab421e7f0397
33 DIST pypy-bin-7.2.0-x86+bzip2+jit+ncurses+sse2.tar.lz 9887935 BLAKE2B 177780ff596b1256f623982ba44ec2ec1c951e420a4521520ffee93e6e480864c59e8e55769f583841a0622693a578f84f408f6e577f97e7812ced7fb7594104 SHA512 dd0c71bff27beaef98ab0ce114108cd586863ef2d6eac999dbb0bdbef7cda1f5f568b465e803339a7b92262354bfe674cc6161ee1c0d479545c6d7bcd58ec3cd
34 DIST pypy-bin-7.2.0-x86+bzip2+ncurses+sse2.tar.lz 6092349 BLAKE2B e285f4c5443c356cba90c0e56dcf9ad75357613bcf486e80816d4304bc9459ba53250a58f09155382f6ebb624610780a9f77c312aeb55a28236474cedf994e26 SHA512 0a4d782f5b074cc5fb206cd2843a59ea59c3a17ac8fd8bf2c74f0997d906e5f722142f0d33a20cdb3a7c7eb476f3799a797d5c2ccac2632c425317d38cb54b7c
35 -DIST pypy2.7-v7.1.1-src.tar.bz2 20027876 BLAKE2B a411d7312ed3b9be9297e7ff4cc569530529272156117ca037bbe29ad477e7ce3b8903d13c6a5a35e9867a8ccbfaa418061a7b37317b4b713508c429a41ffe9a SHA512 f998931ecf4f9aeee24f0fed95589716175971816c00e50bc53de6de0cfe2a8537b89c1aee636d15faecf91df8c29943295485686185f5247a3e0913fa514f48
36 DIST pypy2.7-v7.2.0-src.tar.bz2 20219532 BLAKE2B 225e2cebdfa3ceb310f2a047b1d9e1d375b181c10707822890f39fc0a5ec9e6ddd7a8cf6e073074067960b766a0a813294042513a08b8e7e02b011f612e17917 SHA512 8f724490f9fa06686c8e25ddd3592b260bbffae460395de4c7d29d983780ce9b8925fa87434aac6446aac2034381cc1a13074faf252f5d1ac466a252f219f1ae
37 DIST python-gentoo-patches-2.7.15.tar.xz 16208 BLAKE2B 5739c2b3a236d48f8e33f0fe6515bfe7a8f99096f6223b402653988feac2513d37d26b6e40e5e049852f42657358170e468ca60097e0e2294e760787c12ad591 SHA512 687fd008d1d41b1e65ce5417f6f6aba84ffd42f7af44ef97c03a7806b28e6888f8df043a0c15187a8b229cc17642853e6feb25494db97f4d10f8a66f8ebcbcca
38
39 diff --git a/dev-python/pypy-bin/pypy-bin-7.1.1.ebuild b/dev-python/pypy-bin/pypy-bin-7.1.1.ebuild
40 deleted file mode 100644
41 index 53daf3ce27b..00000000000
42 --- a/dev-python/pypy-bin/pypy-bin-7.1.1.ebuild
43 +++ /dev/null
44 @@ -1,208 +0,0 @@
45 -# Copyright 1999-2019 Gentoo Authors
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=7
49 -
50 -inherit pax-utils python-utils-r1 unpacker
51 -
52 -BINHOST="https://dev.gentoo.org/~mgorny/dist/pypy-bin/${PV}"
53 -CPY_PATCHSET_VERSION="2.7.15"
54 -MY_P=pypy2.7-v${PV}
55 -
56 -DESCRIPTION="Pre-built version of PyPy"
57 -HOMEPAGE="http://pypy.org/"
58 -SRC_URI="https://bitbucket.org/pypy/pypy/downloads/${MY_P}-src.tar.bz2
59 - https://dev.gentoo.org/~floppym/python/python-gentoo-patches-${CPY_PATCHSET_VERSION}.tar.xz
60 - amd64? (
61 - !libressl? (
62 - jit? ( ${BINHOST}/${P}-amd64+bzip2+jit+ncurses.tar.lz )
63 - !jit? ( ${BINHOST}/${P}-amd64+bzip2+ncurses.tar.lz )
64 - )
65 - libressl? (
66 - jit? ( ${BINHOST}/${P}-amd64+bzip2+jit+libressl+ncurses.tar.lz )
67 - !jit? ( ${BINHOST}/${P}-amd64+bzip2+libressl+ncurses.tar.lz )
68 - )
69 - )
70 - x86? (
71 - !libressl? (
72 - cpu_flags_x86_sse2? (
73 - jit? ( ${BINHOST}/${P}-x86+bzip2+jit+ncurses+sse2.tar.lz )
74 - !jit? ( ${BINHOST}/${P}-x86+bzip2+ncurses+sse2.tar.lz )
75 - )
76 - !cpu_flags_x86_sse2? (
77 - !jit? ( ${BINHOST}/${P}-x86+bzip2+ncurses.tar.lz )
78 - )
79 - )
80 - libressl? (
81 - cpu_flags_x86_sse2? (
82 - jit? ( ${BINHOST}/${P}-x86+bzip2+jit+libressl+ncurses+sse2.tar.lz )
83 - !jit? ( ${BINHOST}/${P}-x86+bzip2+libressl+ncurses+sse2.tar.lz )
84 - )
85 - !cpu_flags_x86_sse2? (
86 - !jit? ( ${BINHOST}/${P}-x86+bzip2+libressl+ncurses.tar.lz )
87 - )
88 - )
89 - )"
90 -
91 -# Supported variants
92 -REQUIRED_USE="x86? ( !cpu_flags_x86_sse2? ( !jit ) )"
93 -
94 -LICENSE="MIT"
95 -# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")'
96 -# pypy 7.0.0: install directory changed to 'pypy2.7'
97 -SLOT="0/41-py27"
98 -KEYWORDS="~amd64 ~x86"
99 -IUSE="gdbm +jit libressl sqlite cpu_flags_x86_sse2 test tk"
100 -
101 -RDEPEND="
102 - app-arch/bzip2:0/1
103 - dev-libs/expat:0/0
104 - dev-libs/libffi:0/7
105 - sys-devel/gcc:*
106 - >=sys-libs/glibc-2.28
107 - sys-libs/ncurses:0/6
108 - sys-libs/zlib:0/1
109 - gdbm? ( sys-libs/gdbm:0= )
110 - !libressl? ( dev-libs/openssl:0/1.1[-bindist] )
111 - libressl? ( dev-libs/libressl:0/44 )
112 - sqlite? ( dev-db/sqlite:3= )
113 - tk? (
114 - dev-lang/tk:0=
115 - dev-tcltk/tix:0=
116 - )
117 - !dev-python/pypy:0"
118 -DEPEND="${RDEPEND}
119 - app-arch/lzip
120 - app-arch/xz-utils"
121 -
122 -S=${WORKDIR}/${MY_P}-src
123 -
124 -QA_PREBUILT="
125 - usr/lib/pypy2.7/pypy-c
126 - usr/lib/pypy2.7/libpypy-c.so"
127 -
128 -src_prepare() {
129 - eapply "${FILESDIR}/7.0.0-gentoo-path.patch"
130 - eapply "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
131 -
132 - sed -e "s^@EPREFIX@^${EPREFIX}^" \
133 - -i lib-python/2.7/distutils/command/install.py || die
134 -
135 - # apply CPython stdlib patches
136 - pushd lib-python/2.7 > /dev/null || die
137 - # TODO: cpy turkish locale patch now fixes C code
138 - # probably needs better port to pypy, if it is broken there
139 - eapply "${FILESDIR}"/5.8.0_all_distutils_cxx.patch
140 - eapply -p2 "${WORKDIR}"/patches/0011-use_pyxml.patch
141 - popd > /dev/null || die
142 -
143 - eapply_user
144 -}
145 -
146 -src_compile() {
147 - # Tadaam! PyPy compiled!
148 - mv "${WORKDIR}"/${P}*/{libpypy-c.so,pypy-c} . || die
149 - mv "${WORKDIR}"/${P}*/include/*.h include/ || die
150 - # (not installed by pypy)
151 - rm pypy/module/cpyext/include/_numpypy/numpy/README || die
152 - mv pypy/module/cpyext/include/* include/ || die
153 - mv pypy/module/cpyext/parse/*.h include/ || die
154 -
155 - pax-mark m pypy-c libpypy-c.so
156 -
157 - einfo "Generating caches and CFFI modules ..."
158 -
159 - # Generate Grammar and PatternGrammar pickles.
160 - ./pypy-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
161 - || die "Generation of Grammar and PatternGrammar pickles failed"
162 -
163 - # Generate cffi modules
164 - # Please keep in sync with pypy/tool/build_cffi_imports.py!
165 -#cffi_build_scripts = {
166 -# "sqlite3": "_sqlite3_build.py",
167 -# "audioop": "_audioop_build.py",
168 -# "tk": "_tkinter/tklib_build.py",
169 -# "curses": "_curses_build.py" if sys.platform != "win32" else None,
170 -# "syslog": "_syslog_build.py" if sys.platform != "win32" else None,
171 -# "gdbm": "_gdbm_build.py" if sys.platform != "win32" else None,
172 -# "pwdgrp": "_pwdgrp_build.py" if sys.platform != "win32" else None,
173 -# "resource": "_resource_build.py" if sys.platform != "win32" else None,
174 - cffi_targets=( audioop curses syslog pwdgrp resource )
175 - use gdbm && cffi_targets+=( gdbm )
176 - use sqlite && cffi_targets+=( sqlite3 )
177 - use tk && cffi_targets+=( tkinter/tklib )
178 -
179 - local t
180 - # all modules except tkinter output to .
181 - # tkinter outputs to the correct dir ...
182 - cd lib_pypy || die
183 - for t in "${cffi_targets[@]}"; do
184 - # tkinter doesn't work via -m
185 - ../pypy-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"
186 - done
187 -
188 - # Cleanup temporary objects
189 - find -name "_cffi_*.[co]" -delete || die
190 - find -type d -empty -delete || die
191 -}
192 -
193 -src_test() {
194 - # (unset)
195 - local -x PYTHONDONTWRITEBYTECODE=
196 -
197 - local ignored_tests=(
198 - # network
199 - --ignore=lib-python/2.7/test/test_urllibnet.py
200 - --ignore=lib-python/2.7/test/test_urllib2net.py
201 - # lots of free space
202 - --ignore=lib-python/2.7/test/test_zipfile64.py
203 - # no module named 'worker' -- a lot
204 - --ignore=lib-python/2.7/test/test_xpickle.py
205 - )
206 -
207 - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \
208 - "${ignored_tests[@]}" lib-python || die
209 -}
210 -
211 -src_install() {
212 - local dest=/usr/lib/pypy2.7
213 - einfo "Installing PyPy ..."
214 - exeinto "${dest}"
215 - doexe pypy-c libpypy-c.so
216 - pax-mark m "${ED%/}${dest}/pypy-c" "${ED%/}${dest}/libpypy-c.so"
217 - insinto "${dest}"
218 - # preserve mtimes to avoid obsoleting caches
219 - insopts -p
220 - doins -r include lib_pypy lib-python
221 - dosym ../lib/pypy2.7/pypy-c /usr/bin/pypy
222 - dodoc README.rst
223 -
224 - if ! use gdbm; then
225 - rm -r "${ED%/}${dest}"/lib_pypy/gdbm.py \
226 - "${ED%/}${dest}"/lib-python/*2.7/test/test_gdbm.py || die
227 - fi
228 - if ! use sqlite; then
229 - rm -r "${ED%/}${dest}"/lib-python/*2.7/sqlite3 \
230 - "${ED%/}${dest}"/lib_pypy/_sqlite3.py \
231 - "${ED%/}${dest}"/lib-python/*2.7/test/test_sqlite.py || die
232 - fi
233 - if ! use tk; then
234 - rm -r "${ED%/}${dest}"/lib-python/*2.7/{idlelib,lib-tk} \
235 - "${ED%/}${dest}"/lib_pypy/_tkinter \
236 - "${ED%/}${dest}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die
237 - fi
238 -
239 - local -x PYTHON=${ED%/}${dest}/pypy-c
240 - # we can't use eclass function since PyPy is dumb and always gives
241 - # paths relative to the interpreter
242 - local PYTHON_SITEDIR=${EPREFIX}/usr/lib/pypy2.7/site-packages
243 - python_export pypy EPYTHON
244 -
245 - echo "EPYTHON='${EPYTHON}'" > epython.py || die
246 - python_domodule epython.py
247 -
248 - einfo "Byte-compiling Python standard library..."
249 -
250 - # compile the installed modules
251 - python_optimize "${ED%/}${dest}"
252 -}