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: Sat, 05 Jan 2019 13:40:04
Message-Id: 1546695587.20b8a80cf6f1d168cae14077b5ca1298783b5f84.mgorny@gentoo
1 commit: 20b8a80cf6f1d168cae14077b5ca1298783b5f84
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 5 13:26:49 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 5 13:39:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b8a80c
7
8 dev-python/pypy-bin: Remove 5.10.0
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-5.10.0.ebuild | 197 -----------------------------
14 2 files changed, 208 deletions(-)
15
16 diff --git a/dev-python/pypy-bin/Manifest b/dev-python/pypy-bin/Manifest
17 index 0b5e0611511..5bd84b6a7da 100644
18 --- a/dev-python/pypy-bin/Manifest
19 +++ b/dev-python/pypy-bin/Manifest
20 @@ -1,13 +1,3 @@
21 -DIST pypy-bin-5.10.0-amd64+bzip2+jit+libressl+ncurses.tar.lz 12749801 BLAKE2B 7fa3ef4f1b5dd155fae35a840ea037039e8fe3255c83ede6024e9cbe8684ea4c66fc2281983315a812decd5ef130939621a497eea4e1cbc2751b251d03c9f86c SHA512 21a6df3f03194759ee24fac026942df1c8013cee7eaf0e97c717df2631e4e0579406eb8c45c451e45d89acd5cef0c6176b34070bbaa2b0a4cc130bbc4aa2de18
22 -DIST pypy-bin-5.10.0-amd64+bzip2+jit+ncurses.tar.lz 12926081 BLAKE2B ca5277804b218043c25a95f3e45e67a0a3f99aaea582c1fcae093f6bbe3ffd061aaae86855388dced3f8a62e37bd7fb692801cbe88b1e5f6e4233feebf063322 SHA512 426040e5b1baa8a2029da85a02fc9de225d07666889f1721b99618ba1e81f1f841292e8ba43b02138a39bb5a53ae31264ab6ccfca864da89fc98856e9ecc1237
23 -DIST pypy-bin-5.10.0-amd64+bzip2+libressl+ncurses.tar.lz 7406840 BLAKE2B 9626651ebff3a470f3172d34891ca65cf7b4c1c58879532e7b6b5665af56b2c8e92f79c63503c09f2bd97d7ba8d18507204edbd6a8e8ded086fc2a6165103f58 SHA512 8713d148ee7c417ad26c5681adaa1e7569c29f3924188f2e7a63a142b924f81224ab2f228a96f1fdc062f386c94e0fc29f69d6b1cb1fdb8bc33902eaa03fde1a
24 -DIST pypy-bin-5.10.0-amd64+bzip2+ncurses.tar.lz 7496681 BLAKE2B 2b8bea302ff2fd45a0b02600ae922063f4e5928df293af60df7512b2b5399da3f453d5a2f01d2ea7e2337984523e27582b09b8c174828019fd01432aa25cb9ec SHA512 9befa9a5225fb520609504520fb59d6eaf387d9115edfdaf68b13fbebfa9b85f755cc96e78fb4ca72c2b7af5c2abae95ef35c6e82cb991ed6f4442a12d30d9a8
25 -DIST pypy-bin-5.10.0-x86+bzip2+jit+libressl+ncurses+sse2.tar.lz 10334239 BLAKE2B 84f88b4d3c214d5f6f05c353e92e57fcc563d55c849ffcb4d0539ff4cfa215abbe63a6e187d219ccc75a9e3d32108b3abf7601b88b1d3a5c393bf51e787ecf03 SHA512 948477992673a5928cd9171f274dce7a180d5129ae6395ae9f4a4cdf5bf16b1fba80211a479cb4f5c093a13b82ca9b12a761c1f33526ca2ddffcafad5739d58c
26 -DIST pypy-bin-5.10.0-x86+bzip2+jit+ncurses+sse2.tar.lz 9700133 BLAKE2B a57ec7bd7c6a1db61b0001ecf821271d9e8c69bf803a8c20577cdeca83bd7cce9a49dcd587453d543bec6835c31e63f4151fea15fe39b2f0400435af14f2b601 SHA512 92ce40203365e5321c6b4ea641a77c6b4367466f9c02efdf9382c8bb7c93968c114e04e6586a9a26511cd3218863e62d0a583610e8a73d1b68b6979853a4345c
27 -DIST pypy-bin-5.10.0-x86+bzip2+libressl+ncurses+sse2.tar.lz 6264162 BLAKE2B 67bb6849c8c35c31c453452e3dc8c5d268e5921a69de72ba46694c9324c270a866f263f723edd30a31c6fab7c259c78bcfcadbb694e9761aaa83e9d4057e3c2f SHA512 aaba99aca142395b80cc3d7a28d86c02cedbcdb5842db2676a4b8b2c655d0b4503529febe27ecf9b4ebb5fc9a13f693e8647ca526a52e2431fd3baa977c7dfb2
28 -DIST pypy-bin-5.10.0-x86+bzip2+libressl+ncurses.tar.lz 6252626 BLAKE2B 6f036b0a526a2ef2c6ea0d559baaae13d4ec0da2d4705c959ec84c85fdde171319da9be1a2d859ebf2c7d6168464dccb057904596a64c0ddc33724a706e699da SHA512 5f284ae0230b22775978525d2f53b57f5c808b6a47b783b6bdccbb9727af412f640abe79e7c05792acdda861719ed9a0c392a9c906237514ad4285f50e283ff0
29 -DIST pypy-bin-5.10.0-x86+bzip2+ncurses+sse2.tar.lz 5912628 BLAKE2B 5859cb60c9cc68cba1bf3e1f3f58ff8e86d352aef990a837baf5a1802116dda4bc9e550a3c38163d7a165efc65ff26fc1c004dbb845a4df401ca6c986866a658 SHA512 d2aee265718cd75e02ad4e8dc7cedcf006180960128a10cc4b3b1920092860a1d1a110c27b60d45b88ef99822e0a2e9c74c2c7d3c899ef049adc9916ea5fefb4
30 -DIST pypy-bin-5.10.0-x86+bzip2+ncurses.tar.lz 5912272 BLAKE2B e50e3f5cc2c8411700f00009bfb6d9fe0c06b32faed6fc5b94dfd3eeb404e37fe353741aeb0851a4e42dc86e2bed524750cfe527bfc005abbec4cfa6e65444e1 SHA512 ea63b7ff20633bcec55258cf02d0035e213e94595032cf7a43342292cbdd4bf4276ea36d299bb3342e6de8919dadb338f879393950770473329ed6a0fd982897
31 DIST pypy-bin-6.0.0-amd64+bzip2+jit+libressl+ncurses.ffi7.tar.lz 13018301 BLAKE2B b851ec3e73d4203a4c1eece2cf81dada7cc2b8f7047c9f4e06bd4f24008c1650d95fbd29697fafbdbed953d19595c8e77143a7bd9c8306ab3a15b2c62be48bcf SHA512 8edaf5fdad14886f4120358066fbb09be17d2b7f10dd7600f256a3f3d4b66c90502b85e8a500a70113135ce408ae2877296e1a9cb82d06ae0d031db26e09066c
32 DIST pypy-bin-6.0.0-amd64+bzip2+jit+libressl+ncurses.tar.lz 12940199 BLAKE2B c3790050d17e98a0fc78fa12218267aea62580287fef06559df136b15fbbd791b43ad191f4a91865ceb4e6f0954af40676beb89182a0d6f720644d4aea98f439 SHA512 967a2332439ae349d47713c33518e88f350769c4ba2c8191f63c145b4d036b53308232adcbf08199e0111ba1cf9bb9df78beb16f6933f9b377f617f34af4dee1
33 DIST pypy-bin-6.0.0-amd64+bzip2+jit+ncurses.ffi7.ossl11.tar.lz 12981891 BLAKE2B b098e2ee15bbdfbeab5b9ab0b2b818f24160badadc8d7e3e8921eca85251a2246a595964ec491e1d23f84150253f2db23642038b476ebe930129d1b9ad170ff8 SHA512 65202d2970e52df83e206068d66079e7fd3254c9d6fa3e410f23f379b3accf324af09fd3da4c13a483c00b9de523485b8f3008f4160f134b5935948f05028c80
34 @@ -33,6 +23,5 @@ DIST pypy-bin-6.0.0-x86+bzip2+ncurses+sse2.tar.lz 5979890 BLAKE2B 8f47c34f88b7f4
35 DIST pypy-bin-6.0.0-x86+bzip2+ncurses.ffi7.ossl11.tar.lz 5940234 BLAKE2B ba4133f9c261c7b8d7c3a5c04de61398f48c1d34d146009535c5445dd8abab17e914fa675c6c9f4717cafb1be5ee8defcb6d1ecb20cda60223677bf5c2b22db9 SHA512 afe12fcac3a93b8b139a0cbbc5475edd23eceddf3b6e58e5d425459dbc51056ad10459133adee3f7d282c403e881fa0d4d1f9c30955163e580c87be7e1b7825a
36 DIST pypy-bin-6.0.0-x86+bzip2+ncurses.ffi7.tar.lz 5939972 BLAKE2B 86ca6f1dd9f00d993986476fbeb253b2a7efb862dec7c8b90945c32e9418d52460d3d305fd0e182e9351e6de148928cf786f461cb3174601d84f5604ca1ae132 SHA512 4d14693ba0bcf3d6f56c9e8a45959d84ba5aacbccee0a643a8c713569a0e5de1449e726e7c813a93105c8dd145f1be6a7f78eec22bbb5c5a8aba31f15cffdbe5
37 DIST pypy-bin-6.0.0-x86+bzip2+ncurses.tar.lz 5941591 BLAKE2B 45a4c150e1403fd5a579c3d452cd09f4954238fff18702c5cafc1b23f12134f07a05c1aa9277b76b5d8c4e1da48d64699a2540feb4000b6bd1c285ab59b6c4a1 SHA512 3a69284917e0c233ac27fd96707b43499a5d9e05da946cad21f89fd605d34483454703887efc1049abeeb1d503800061027794d277123ad874583074203ce3a0
38 -DIST pypy2-v5.10.0-src.tar.bz2 19181430 BLAKE2B 4a0808c74fb167a7e98625f1d5b8559bb3a0383445387a0c48f951d75d009c57806eb600a141a84a7cb800e2f53fe091367cbb0b23192bc52b995cb65246c076 SHA512 11892418d753ddc59e928a5f59b3406b7c22b8689ad6995eeb183182dbb5184117e68bb567c770ffa60a14d6763550d658e260584e65da5025ed481f48501379
39 DIST pypy2-v6.0.0-src.tar.bz2 19741694 BLAKE2B 55f5000e590613b516b12c3682a658fe6a17fbe264be3d61a81698cdf098b39177cf4355eb3f28980209c7a0e005498201cbad8884e3aa02cc86a228d1552046 SHA512 d3bdcd65fc83f2fda3203a604733fe6765049a17cca2715cd6045dc302a6159b4741a821c53fa4c97acf7297cef4c62e941a6a6eb7f8a253a93a28dcf2aa2ca0
40 DIST python-gentoo-patches-2.7.14-0.tar.xz 13428 BLAKE2B 0048e48ddaaa4bef08451354fde95a123042880f26dddc9267c7f9a90fd8abb40955e26ee8c9dfc5a1165556bb3e11585b27288e635d42a4000dd3d7654c41ad SHA512 6da5b52065752b54e9215d0f0809c75167dc3690d0e94fa21dd7595626925bc5c1dd065d31b3bd696d7087f3986de145d3a335a29eb7bd77442637a7ec2863c1
41
42 diff --git a/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild b/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild
43 deleted file mode 100644
44 index ef34c44ba08..00000000000
45 --- a/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild
46 +++ /dev/null
47 @@ -1,197 +0,0 @@
48 -# Copyright 1999-2018 Gentoo Foundation
49 -# Distributed under the terms of the GNU General Public License v2
50 -
51 -EAPI=6
52 -
53 -inherit pax-utils python-utils-r1 unpacker versionator
54 -
55 -BINHOST="https://dev.gentoo.org/~mgorny/dist/pypy-bin/${PV}"
56 -CPY_PATCHSET_VERSION="2.7.14-0"
57 -MY_P=pypy2-v${PV}
58 -
59 -DESCRIPTION="Pre-built version of PyPy"
60 -HOMEPAGE="http://pypy.org/"
61 -SRC_URI="https://bitbucket.org/pypy/pypy/downloads/${MY_P}-src.tar.bz2
62 - https://dev.gentoo.org/~floppym/python-gentoo-patches-${CPY_PATCHSET_VERSION}.tar.xz
63 - amd64? (
64 - !libressl? (
65 - jit? ( ${BINHOST}/${P}-amd64+bzip2+jit+ncurses.tar.lz )
66 - !jit? ( ${BINHOST}/${P}-amd64+bzip2+ncurses.tar.lz )
67 - )
68 - libressl? (
69 - jit? ( ${BINHOST}/${P}-amd64+bzip2+jit+libressl+ncurses.tar.lz )
70 - !jit? ( ${BINHOST}/${P}-amd64+bzip2+libressl+ncurses.tar.lz )
71 - )
72 - )
73 - x86? (
74 - !libressl? (
75 - cpu_flags_x86_sse2? (
76 - jit? ( ${BINHOST}/${P}-x86+bzip2+jit+ncurses+sse2.tar.lz )
77 - !jit? ( ${BINHOST}/${P}-x86+bzip2+ncurses+sse2.tar.lz )
78 - )
79 - !cpu_flags_x86_sse2? (
80 - !jit? ( ${BINHOST}/${P}-x86+bzip2+ncurses.tar.lz )
81 - )
82 - )
83 - libressl? (
84 - cpu_flags_x86_sse2? (
85 - jit? ( ${BINHOST}/${P}-x86+bzip2+jit+libressl+ncurses+sse2.tar.lz )
86 - !jit? ( ${BINHOST}/${P}-x86+bzip2+libressl+ncurses+sse2.tar.lz )
87 - )
88 - !cpu_flags_x86_sse2? (
89 - !jit? ( ${BINHOST}/${P}-x86+bzip2+libressl+ncurses.tar.lz )
90 - )
91 - )
92 - )"
93 -
94 -# Supported variants
95 -REQUIRED_USE="x86? ( !cpu_flags_x86_sse2? ( !jit ) )"
96 -
97 -LICENSE="MIT"
98 -# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")'
99 -SLOT="0/41"
100 -KEYWORDS="~amd64 ~x86"
101 -IUSE="gdbm +jit libressl sqlite cpu_flags_x86_sse2 test tk"
102 -
103 -RDEPEND="
104 - app-arch/bzip2:0/1
105 - dev-libs/expat:0/0
106 - dev-libs/libffi:0/0
107 - sys-devel/gcc:*
108 - sys-libs/glibc
109 - sys-libs/ncurses:0/6
110 - sys-libs/zlib:0/1
111 - gdbm? ( sys-libs/gdbm:0= )
112 - !libressl? ( dev-libs/openssl:0/0[-bindist] )
113 - libressl? ( dev-libs/libressl:0/44 )
114 - sqlite? ( dev-db/sqlite:3= )
115 - tk? (
116 - dev-lang/tk:0=
117 - dev-tcltk/tix:0=
118 - )
119 - !dev-python/pypy:0"
120 -DEPEND="${RDEPEND}
121 - app-arch/lzip
122 - app-arch/xz-utils"
123 -
124 -S=${WORKDIR}/${MY_P}-src
125 -
126 -QA_PREBUILT="
127 - usr/lib*/pypy/pypy-c
128 - usr/lib*/pypy/libpypy-c.so"
129 -
130 -src_prepare() {
131 - eapply "${FILESDIR}/4.0.0-gentoo-path.patch"
132 - eapply "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
133 -
134 - sed -e "s^@EPREFIX@^${EPREFIX}^" \
135 - -e "s^@libdir@^$(get_libdir)^" \
136 - -i lib-python/2.7/distutils/command/install.py || die
137 -
138 - # apply CPython stdlib patches
139 - pushd lib-python/2.7 > /dev/null || die
140 - # TODO: cpy turkish locale patch now fixes C code
141 - # probably needs better port to pypy, if it is broken there
142 - eapply "${FILESDIR}"/5.8.0_all_distutils_cxx.patch
143 - eapply "${WORKDIR}"/patches/62_all_xml.use_pyxml.patch
144 - popd > /dev/null || die
145 -
146 - eapply_user
147 -}
148 -
149 -src_compile() {
150 - # Tadaam! PyPy compiled!
151 - mv "${WORKDIR}"/${P}*/{libpypy-c.so,pypy-c} . || die
152 - mv "${WORKDIR}"/${P}*/include/*.h include/ || die
153 - # (not installed by pypy)
154 - rm pypy/module/cpyext/include/_numpypy/numpy/README || die
155 - mv pypy/module/cpyext/include/* include/ || die
156 - mv pypy/module/cpyext/parse/*.h include/ || die
157 -
158 - pax-mark m pypy-c libpypy-c.so
159 -
160 - einfo "Generating caches and CFFI modules ..."
161 -
162 - # Generate Grammar and PatternGrammar pickles.
163 - ./pypy-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
164 - || die "Generation of Grammar and PatternGrammar pickles failed"
165 -
166 - # Generate cffi modules
167 - # Please keep in sync with pypy/tool/build_cffi_imports.py!
168 -#cffi_build_scripts = {
169 -# "sqlite3": "_sqlite3_build.py",
170 -# "audioop": "_audioop_build.py",
171 -# "tk": "_tkinter/tklib_build.py",
172 -# "curses": "_curses_build.py" if sys.platform != "win32" else None,
173 -# "syslog": "_syslog_build.py" if sys.platform != "win32" else None,
174 -# "gdbm": "_gdbm_build.py" if sys.platform != "win32" else None,
175 -# "pwdgrp": "_pwdgrp_build.py" if sys.platform != "win32" else None,
176 -# "resource": "_resource_build.py" if sys.platform != "win32" else None,
177 - cffi_targets=( audioop curses syslog pwdgrp resource )
178 - use gdbm && cffi_targets+=( gdbm )
179 - use sqlite && cffi_targets+=( sqlite3 )
180 - use tk && cffi_targets+=( tkinter/tklib )
181 -
182 - local t
183 - # all modules except tkinter output to .
184 - # tkinter outputs to the correct dir ...
185 - cd lib_pypy || die
186 - for t in "${cffi_targets[@]}"; do
187 - # tkinter doesn't work via -m
188 - ../pypy-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"
189 - done
190 -
191 - # Cleanup temporary objects
192 - find -name "_cffi_*.[co]" -delete || die
193 - find -type d -empty -delete || die
194 -}
195 -
196 -src_test() {
197 - # (unset)
198 - local -x PYTHONDONTWRITEBYTECODE
199 -
200 - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die
201 -}
202 -
203 -src_install() {
204 - local dest=/usr/$(get_libdir)/pypy
205 - einfo "Installing PyPy ..."
206 - exeinto "${dest}"
207 - doexe pypy-c libpypy-c.so
208 - pax-mark m "${ED%/}${dest}/pypy-c" "${ED%/}${dest}/libpypy-c.so"
209 - insinto "${dest}"
210 - # preserve mtimes to avoid obsoleting caches
211 - insopts -p
212 - doins -r include lib_pypy lib-python
213 - dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy
214 - dodoc README.rst
215 -
216 - if ! use gdbm; then
217 - rm -r "${ED%/}${dest}"/lib_pypy/gdbm.py \
218 - "${ED%/}${dest}"/lib-python/*2.7/test/test_gdbm.py || die
219 - fi
220 - if ! use sqlite; then
221 - rm -r "${ED%/}${dest}"/lib-python/*2.7/sqlite3 \
222 - "${ED%/}${dest}"/lib_pypy/_sqlite3.py \
223 - "${ED%/}${dest}"/lib-python/*2.7/test/test_sqlite.py || die
224 - fi
225 - if ! use tk; then
226 - rm -r "${ED%/}${dest}"/lib-python/*2.7/{idlelib,lib-tk} \
227 - "${ED%/}${dest}"/lib_pypy/_tkinter \
228 - "${ED%/}${dest}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die
229 - fi
230 -
231 - local -x PYTHON=${ED%/}${dest}/pypy-c
232 - # we can't use eclass function since PyPy is dumb and always gives
233 - # paths relative to the interpreter
234 - local PYTHON_SITEDIR=${EPREFIX}/usr/$(get_libdir)/pypy/site-packages
235 - python_export pypy EPYTHON
236 -
237 - echo "EPYTHON='${EPYTHON}'" > epython.py || die
238 - python_domodule epython.py
239 -
240 - einfo "Byte-compiling Python standard library..."
241 -
242 - # compile the installed modules
243 - python_optimize "${ED%/}${dest}"
244 -}