Line
Link Here
|
0 |
-- python-3.6.5.ebuild 2018-04-18 05:08:59.000000000 +0200 |
0 |
++ python-3.6.5-r1.ebuild 2018-04-19 10:42:45.106552580 +0200 |
Lines 17-23
SRC_URI="https://www.python.org/ftp/pyth
Link Here
|
17 |
LICENSE="PSF-2" |
17 |
LICENSE="PSF-2" |
18 |
SLOT="3.6/3.6m" |
18 |
SLOT="3.6/3.6m" |
19 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" |
19 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" |
20 |
IUSE="build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml" |
20 |
IUSE="build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml pgo" |
21 |
RESTRICT="!test? ( test )" |
21 |
RESTRICT="!test? ( test )" |
22 |
|
22 |
|
23 |
# Do not add a dependency on dev-lang/python to this ebuild. |
23 |
# Do not add a dependency on dev-lang/python to this ebuild. |
Lines 164-170
src_compile() {
Link Here
|
164 |
# https://bugs.gentoo.org/594768 |
164 |
# https://bugs.gentoo.org/594768 |
165 |
local -x LC_ALL=C |
165 |
local -x LC_ALL=C |
166 |
|
166 |
|
167 |
emake CPPFLAGS= CFLAGS= LDFLAGS= |
167 |
if use pgo; then |
|
|
168 |
emake profile-opt PROFILE_TASK="-m test.regrtest -w -uall,-audio -x test_gdb test_multiprocessing test_subprocess test_tokenize test_signal test_faulthandler test_asyncio test_ctypes test_compileall test_pyexpat test_runpy test_support test_threaded_import test_xmlrpc_net" |
169 |
else |
170 |
emake CPPFLAGS= CFLAGS= LDFLAGS= |
171 |
fi |
168 |
|
172 |
|
169 |
# Work around bug 329499. See also bug 413751 and 457194. |
173 |
# Work around bug 329499. See also bug 413751 and 457194. |
170 |
if has_version dev-libs/libffi[pax_kernel]; then |
174 |
if has_version dev-libs/libffi[pax_kernel]; then |