Line
Link Here
|
0 |
-- python-3.5.5.ebuild 2018-04-18 05:08:59.000000000 +0200 |
0 |
++ python-3.5.5-r1.ebuild 2018-04-19 10:47:14.240755854 +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.5/3.5m" |
18 |
SLOT="3.5/3.5m" |
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 elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml" |
20 |
IUSE="build elibc_uclibc 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 178-185
src_compile() {
Link Here
|
178 |
local -x LC_ALL=C |
178 |
local -x LC_ALL=C |
179 |
|
179 |
|
180 |
cd "${BUILD_DIR}" || die |
180 |
cd "${BUILD_DIR}" || die |
181 |
|
181 |
if use pgo; then |
182 |
emake CPPFLAGS= CFLAGS= LDFLAGS= |
182 |
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_compileall test_pyexpat test_runpy test_support test_threaded_import test_xmlrpc_net" |
|
|
183 |
else |
184 |
emake CPPFLAGS= CFLAGS= LDFLAGS= |
185 |
fi |
183 |
|
186 |
|
184 |
# Work around bug 329499. See also bug 413751 and 457194. |
187 |
# Work around bug 329499. See also bug 413751 and 457194. |
185 |
if has_version dev-libs/libffi[pax_kernel]; then |
188 |
if has_version dev-libs/libffi[pax_kernel]; then |