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-lang/python/
Date: Sun, 29 Dec 2019 10:15:12
Message-Id: 1577614349.b9d0b2d76c6f490774e10724f630edb9d1d98ecf.mgorny@gentoo
1 commit: b9d0b2d76c6f490774e10724f630edb9d1d98ecf
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 29 10:12:11 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 10:12:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d0b2d7
7
8 dev-lang/python: Revert "Redo patchset for 2.7.17-r1"
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-lang/python/Manifest | 1 -
13 dev-lang/python/python-2.7.17-r1.ebuild | 11 ++++++++---
14 2 files changed, 8 insertions(+), 4 deletions(-)
15
16 diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
17 index 5ae0d022fd5..c974616a85a 100644
18 --- a/dev-lang/python/Manifest
19 +++ b/dev-lang/python/Manifest
20 @@ -8,7 +8,6 @@ DIST Python-3.7.5.tar.xz 17236432 BLAKE2B fb49a3bfd9b1944d567a45682f789ef840e63e
21 DIST Python-3.7.6.tar.xz 17246360 BLAKE2B b83a440a1ad5b1a2210e03be0522d39f53778774ea725fa41aaaab28cccfcdf007996f1a1d3cb95f8040b71b692189e28db67ba6ec136af82158363a1aadbba6 SHA512 5be022c384728b0c6709d165486f66226d126c521b466ed24d0c4c3c5910ec786a734f4c2c916ac409213c54a492b9fb230fb721c41e3de281676a7e9d8f3171
22 DIST Python-3.8.1.tar.xz 17828408 BLAKE2B db1841625de89b812cadcd538a990401a4e49d43968dce733c289121e9de9749eaf39e1c772a32e10ed2b40bef215b19ae9c7d88e0ec9e99cd3d467406ea063c SHA512 d41381848cc1ec8009643b71875f395a9ac2c8e12a5b1efef33caf8a9e99a337c790d4354695c85352d11b62092ae372b5af62f78724363fcbf3504ff9a6ddca
23 DIST python-gentoo-patches-2.7.16.tar.xz 13904 BLAKE2B 218b46f8656f4a792dcd47eabca6d59a1558276b77676544991ee75914cd76dda84c36f43e72e477b850dd4cb52374d289f20dccd244a3b52ae5debaf3363432 SHA512 83f90545231c663a34c6925352a357a2b15997ac0362578a1893304c5070b5251922585ae8bc1bafb68d306bcddd4cdba4b6406648d473bd3e980eef65fe3ecd
24 -DIST python-gentoo-patches-2.7.17-r1.tar.xz 14708 BLAKE2B f6e25236a471649de122d0f29506f7a4f34044a568ead47a68980411d9722b761fe1f9d653d5edccb6978b65c8c1eecbef55f403b94f32b37c0ad68e061505a8 SHA512 ecdde5e38c6fe5e69691fb3a68c8f4f43da7857d4abaff763d3cf6ad864ba43c769c03b186b60f2736a1ffb1e3e4c9982715d1b8a99ff3f5740096153bb8a90f
25 DIST python-gentoo-patches-2.7.17.tar.xz 13476 BLAKE2B 788688e2941d2d6d4f768168881b2c3639213a97e214557b3a93f8db44d81e2b6d70be847b7462e54e3786660ebee4ee331402081d92167d74ad149279c3f389 SHA512 1641737635d33607a77ed2ee2462854cec603be39737de3f81abb188702aaf46f039d1616f9dcd413da1f4a8040175c66a2883e496132c2e4ebe8f860b36f9f1
26 DIST python-gentoo-patches-3.5.4-0.tar.xz 11704 BLAKE2B 4a7d71feff18c7c8c109bed10748348484d314183c3de3ec950d5ca5ce7048bb322c470f3f5bff2d63eb7f2ed99c0fe75c621df050273d9d118681b28926061d SHA512 d395a87695f700598026038d6929ea5038abd7d494294037a4dfa02d5262203dbbaa6ae258a5a7f35ff5542f6266dcf69cc0b9c3df2a047cd2f6699a87e182ec
27 DIST python-gentoo-patches-3.6.10.tar.xz 10964 BLAKE2B e32c8cb3050c7324ee234f585be7fc40cfacc6ad87759eaa300e57289e6dc6cbaed3913f33ad632b8754638e8d71983d8364ceeaad8ef325cfa6d4d2dfb56df0 SHA512 71fea7306c876c63888c4547eaf14dc2e0413dec343609d748cd1b5888e4605d47888758ebc5120a287ce833b69dd538073f91989460da7c40462b53eefca7ce
28
29 diff --git a/dev-lang/python/python-2.7.17-r1.ebuild b/dev-lang/python/python-2.7.17-r1.ebuild
30 index cadc834964d..424cdec1208 100644
31 --- a/dev-lang/python/python-2.7.17-r1.ebuild
32 +++ b/dev-lang/python/python-2.7.17-r1.ebuild
33 @@ -8,12 +8,12 @@ inherit autotools flag-o-matic pax-utils python-utils-r1 toolchain-funcs
34
35 MY_P="Python-${PV}"
36 PYVER=$(ver_cut 1-2)
37 -PATCHSET="python-gentoo-patches-2.7.17-r1"
38 +PATCHSET_VERSION="2.7.17"
39
40 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
41 HOMEPAGE="https://www.python.org/"
42 SRC_URI="https://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
43 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
44 + https://dev.gentoo.org/~mgorny/dist/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
45 S="${WORKDIR}/${MY_P}"
46
47 LICENSE="PSF-2"
48 @@ -86,7 +86,12 @@ src_prepare() {
49 rm -fr Modules/zlib || die
50
51 local PATCHES=(
52 - "${WORKDIR}/${PATCHSET}"
53 + "${WORKDIR}/patches"
54 + # Fix for cross-compiling.
55 + "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
56 + "${FILESDIR}/python-2.7.9-ncurses-pkg-config.patch"
57 + "${FILESDIR}/python-2.7.10-cross-compile-warn-test.patch"
58 + "${FILESDIR}/python-2.7.10-system-libffi.patch"
59 )
60
61 default