1 |
commit: 158c24d1959afa6dcac673d7c43866302135fb9a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 8 19:09:20 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 19:41:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158c24d1 |
7 |
|
8 |
dev-python/pypy-bin: Remove USE=doc |
9 |
|
10 |
Remove USE=doc to match dev-python/pypy. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/643046 |
13 |
|
14 |
dev-python/pypy-bin/pypy-bin-5.10.0.ebuild | 22 ++++------------------ |
15 |
1 file changed, 4 insertions(+), 18 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild b/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild |
18 |
index 8c3b3d419da..ef34c44ba08 100644 |
19 |
--- a/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild |
20 |
+++ b/dev-python/pypy-bin/pypy-bin-5.10.0.ebuild |
21 |
@@ -1,10 +1,9 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
|
28 |
-PYTHON_COMPAT=( python2_7 pypy ) |
29 |
-inherit pax-utils python-any-r1 unpacker versionator |
30 |
+inherit pax-utils python-utils-r1 unpacker versionator |
31 |
|
32 |
BINHOST="https://dev.gentoo.org/~mgorny/dist/pypy-bin/${PV}" |
33 |
CPY_PATCHSET_VERSION="2.7.14-0" |
34 |
@@ -52,7 +51,7 @@ LICENSE="MIT" |
35 |
# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")' |
36 |
SLOT="0/41" |
37 |
KEYWORDS="~amd64 ~x86" |
38 |
-IUSE="doc gdbm +jit libressl sqlite cpu_flags_x86_sse2 test tk" |
39 |
+IUSE="gdbm +jit libressl sqlite cpu_flags_x86_sse2 test tk" |
40 |
|
41 |
RDEPEND=" |
42 |
app-arch/bzip2:0/1 |
43 |
@@ -73,9 +72,7 @@ RDEPEND=" |
44 |
!dev-python/pypy:0" |
45 |
DEPEND="${RDEPEND} |
46 |
app-arch/lzip |
47 |
- app-arch/xz-utils |
48 |
- doc? ( ${PYTHON_DEPS} |
49 |
- dev-python/sphinx )" |
50 |
+ app-arch/xz-utils" |
51 |
|
52 |
S=${WORKDIR}/${MY_P}-src |
53 |
|
54 |
@@ -83,12 +80,6 @@ QA_PREBUILT=" |
55 |
usr/lib*/pypy/pypy-c |
56 |
usr/lib*/pypy/libpypy-c.so" |
57 |
|
58 |
-pkg_setup() { |
59 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
60 |
- use doc && python-any-r1_pkg_setup |
61 |
- fi |
62 |
-} |
63 |
- |
64 |
src_prepare() { |
65 |
eapply "${FILESDIR}/4.0.0-gentoo-path.patch" |
66 |
eapply "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" |
67 |
@@ -119,8 +110,6 @@ src_compile() { |
68 |
|
69 |
pax-mark m pypy-c libpypy-c.so |
70 |
|
71 |
- use doc && emake -C pypy/doc html |
72 |
- |
73 |
einfo "Generating caches and CFFI modules ..." |
74 |
|
75 |
# Generate Grammar and PatternGrammar pickles. |
76 |
@@ -192,9 +181,6 @@ src_install() { |
77 |
"${ED%/}${dest}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die |
78 |
fi |
79 |
|
80 |
- # Install docs |
81 |
- use doc && dodoc -r pypy/doc/_build/html |
82 |
- |
83 |
local -x PYTHON=${ED%/}${dest}/pypy-c |
84 |
# we can't use eclass function since PyPy is dumb and always gives |
85 |
# paths relative to the interpreter |