1 |
commit: a5bfb676d31addcdbd25724358f77880026a6b11 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 3 12:05:35 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 3 12:05:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a5bfb676 |
7 |
|
8 |
dev-lang/python: bump/sync 3.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6 |
11 |
|
12 |
dev-lang/python/Manifest | 4 +- |
13 |
...{python-3.6.3.ebuild => python-3.6.5-r1.ebuild} | 46 +++++++++++++--------- |
14 |
2 files changed, 29 insertions(+), 21 deletions(-) |
15 |
|
16 |
diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest |
17 |
index 3a746050dc..a69a27b9fa 100644 |
18 |
--- a/dev-lang/python/Manifest |
19 |
+++ b/dev-lang/python/Manifest |
20 |
@@ -4,11 +4,11 @@ DIST Python-2.7.14.tar.xz 12576112 BLAKE2B e03c4134cfdd88678acc26f383130a598ce4d |
21 |
DIST Python-3.4.8.tar.xz 14576444 BLAKE2B 262b82fbc0e4852216d2edf05f9e9194bc93be7b14a2d6ef56789b808cff274e58b2fa7134955464fd05ab36181b5861aeca31e2e05b27f0f58ac66d145bd56b SHA512 478552c72efe606cb1993024b81839c51d01f1c949564c007ab2b76016f110e1f7bd418e5de3f4f93b466ce7dbe6583d3c150830d1f28f75e0809625b568a7ec |
22 |
DIST Python-3.5.4.tar.xz 15332320 BLAKE2B 1fc3ba4eb1ed949062961c13fd1f9851c7f9cbeb4916c06a0389349ee2d4872b2b1c2d30138822e6329b6a715f35a66df704b7a04aa4adeb95b685b8d6e45d61 SHA512 dbbe2740ee1cce5404b7b6436a9b3887e15f415a1006efa22014ec7e5b1e48c43eed0ff98f6f5b365c527b8d2525be4ce72bbe404ce71c0835529fcd6f0267ff |
23 |
DIST Python-3.5.5.tar.xz 15351440 BLAKE2B 217cb7f51e04d57983ce053ff4276d056e17c8223b6f3d87b69f556453fe2ae3d4dc2c1a6b9c2c6aad033cea9b40cd32264d8208cc81a1ec34ff252379bf95b8 SHA512 c9056baee6a2d1fe7f14b1f310db95b78e8972766d086f8ae10954f38f8182956171580bde01ddadebe897f2545a6fbe47669ca3e4887026ac1fae5ee9197f22 |
24 |
-DIST Python-3.6.3.tar.xz 16974296 BLAKE2B 8220fc0c2eaa315d3972085b0f531f169adb6cfad57023ad2c115603b5a484573ea3540eb3216edd0f4514256c8edb07469cf38d17727d69cdc15cdf1f601623 SHA512 32f24a3adcb7880003c7ecdc5e53e838e774adda76b308961d8215e28db630b2fa2828097817924c76afa4212b2df3362eb64d4e10f37c0147f512ec5aa8662b |
25 |
+DIST Python-3.6.5.tar.xz 17049912 BLAKE2B f393e9563a18a46c457afcd2e174d9eacda20fe2b0ae5461e11c582fa4d27b85c01bbe7b602f45511b6b44f635c6330205b12fb3e8325ffd07e87b78a8258889 SHA512 6b26fcd296b9bd8e67861eff10d14db7507711ddba947288d16d6def53135c39326b7f969c04bb2b2993f924d9e7ad3f5c5282a3915760bc0885cf0a8ea5eb51 |
26 |
DIST python-gentoo-patches-2.7.14-0.tar.xz 13428 BLAKE2B 0048e48ddaaa4bef08451354fde95a123042880f26dddc9267c7f9a90fd8abb40955e26ee8c9dfc5a1165556bb3e11585b27288e635d42a4000dd3d7654c41ad SHA512 6da5b52065752b54e9215d0f0809c75167dc3690d0e94fa21dd7595626925bc5c1dd065d31b3bd696d7087f3986de145d3a335a29eb7bd77442637a7ec2863c1 |
27 |
DIST python-gentoo-patches-3.4.6-0.tar.xz 11728 BLAKE2B 2a636f5500f4c7d354f421133f086cba9a25c30d5feaaa2dc25c9c588125d7c9097baecaa11f31548fa598b5dc137ca310ad86222510c0a955fa632a6d0a4b06 SHA512 41c22dc8f1db8800fc0b97eed2b27bf1873e5de1369bd4aecf7a7a91e609a78e45a4b56fc89d575317f33a7704c0c1cad1494e8a993415a198f256e8338f49ab |
28 |
DIST python-gentoo-patches-3.5.4-0.tar.xz 11704 BLAKE2B 4a7d71feff18c7c8c109bed10748348484d314183c3de3ec950d5ca5ce7048bb322c470f3f5bff2d63eb7f2ed99c0fe75c621df050273d9d118681b28926061d SHA512 d395a87695f700598026038d6929ea5038abd7d494294037a4dfa02d5262203dbbaa6ae258a5a7f35ff5542f6266dcf69cc0b9c3df2a047cd2f6699a87e182ec |
29 |
-DIST python-gentoo-patches-3.6.2-0.tar.xz 10744 BLAKE2B 3075754627617ac2ceee879eaf1a0e6564505655cdbdff380233a09df701a6188d64fe1f6a8c642b1fb05ef3c460a07042b6a362d655cd02717d6d9ba47983a1 SHA512 2aac1700c541202aa4f43bff4cb521b996d52ab350133318abaddb43f4b6e20548f37de472ace8024ef325ebf63fdfff0d43f8aa1f717d3c56f974b7aa1764e3 |
30 |
+DIST python-gentoo-patches-3.6.4.tar.xz 12888 BLAKE2B 7cf49ae22df53e855f2e99df51686b5d4bd0da82ef4c22836e24726ea9ed561808352c0305a5659b052d38b843f1ff61b6466a7bc3673b7e5cfb4d81d22fa4bc SHA512 90a1b685f2539872ffd67f96581f70145b7afaf18af19f4a7f4a61214103d2a10bf0069c1769dac229ae011fceaf8538f041082b33c1671905246d018d184dd7 |
31 |
DIST python-prefix-2.7.14-gentoo-patches-r0.tar.xz 14736 BLAKE2B 75422fc7390f559d9864f6e22a0b85982ccbdb07d5f2507db8e528285e56d1f11d4bc0b21a0b78d5340eafd562220d2f1b9d0a78b1f7c811c5689a426a81f9f3 SHA512 bf8e5039fff834d03a5a671269905f1ea10961995f2327ea023f6ad4d9b49bf210ec746ac6f45a01ff7501f1eb616013951d164410f6c64bce04df0e8b9715c8 |
32 |
DIST python-prefix-3.4.8-gentoo-patches-r0.tar.xz 12928 BLAKE2B d270f27485a70b4186c0d509836f66e6ae8218270cbb0a473b4579de7a8d9fa16eb2387d0441979aa62fc88e54a52f863c58d91b3df64dd6a40ad4bc4236cbb2 SHA512 84554d2b320922d7ac6e20012f847a81d6501693a4d9f2146faa8764fca4fbc5e3bf1c0f352853f1ab34ed905ab13097f2e82285ada54c9b4e219e72b39804c2 |
33 |
DIST python-prefix-3.5.4-gentoo-patches-r0.tar.xz 12768 BLAKE2B ab0cbc5430e9588f71cfd7b001a07f9a77097262f17e1f980e3945e39855e1c9437117bf4eb2d424dadf701d37d025e09627d7efdbb9f8867714039f62f261a7 SHA512 334cd8990483f973386cc6bbc962d2843449c493f7d33349fcc8f68120e246c52ea80236c99685555974e439fa877b537b32ef7d181198f58950f5e9b835b1c5 |
34 |
|
35 |
diff --git a/dev-lang/python/python-3.6.3.ebuild b/dev-lang/python/python-3.6.5-r1.ebuild |
36 |
similarity index 91% |
37 |
rename from dev-lang/python/python-3.6.3.ebuild |
38 |
rename to dev-lang/python/python-3.6.5-r1.ebuild |
39 |
index 9a41e071f6..b23636b07f 100644 |
40 |
--- a/dev-lang/python/python-3.6.3.ebuild |
41 |
+++ b/dev-lang/python/python-3.6.5-r1.ebuild |
42 |
@@ -1,25 +1,26 @@ |
43 |
-# Copyright 1999-2017 Gentoo Foundation |
44 |
+# Copyright 1999-2018 Gentoo Foundation |
45 |
# Distributed under the terms of the GNU General Public License v2 |
46 |
|
47 |
-EAPI="5" |
48 |
+EAPI="6" |
49 |
WANT_LIBTOOL="none" |
50 |
|
51 |
-inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs |
52 |
+inherit autotools flag-o-matic pax-utils python-utils-r1 toolchain-funcs epatch |
53 |
|
54 |
MY_P="Python-${PV}" |
55 |
-PATCHSET_VERSION="3.6.2-0" |
56 |
-PREFIX_PATCHREV="r0" |
57 |
+PATCHSET_VERSION="3.6.4" |
58 |
+PREFIX_PATCHREV="3.6.3-gentoo-patches-r0" |
59 |
|
60 |
DESCRIPTION="An interpreted, interactive, object-oriented programming language" |
61 |
HOMEPAGE="https://www.python.org/" |
62 |
SRC_URI="https://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz |
63 |
https://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz |
64 |
- https://dev.gentoo.org/~grobian/distfiles/python-prefix-${PV}-gentoo-patches-${PREFIX_PATCHREV}.tar.xz" |
65 |
+ https://dev.gentoo.org/~grobian/distfiles/python-prefix-${PREFIX_PATCHREV}.tar.xz" |
66 |
|
67 |
LICENSE="PSF-2" |
68 |
SLOT="3.6/3.6m" |
69 |
KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
70 |
-IUSE="aqua build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml" |
71 |
+IUSE="aqua bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml" |
72 |
+RESTRICT="!test? ( test )" |
73 |
|
74 |
# Do not add a dependency on dev-lang/python to this ebuild. |
75 |
# If you need to apply a patch which requires python for bootstrapping, please |
76 |
@@ -32,14 +33,12 @@ RDEPEND="app-arch/bzip2:0= |
77 |
virtual/libffi |
78 |
virtual/libintl |
79 |
gdbm? ( sys-libs/gdbm:0=[berkdb] ) |
80 |
- ncurses? ( |
81 |
- >=sys-libs/ncurses-5.2:0= |
82 |
- readline? ( >=sys-libs/readline-4.1:0= ) |
83 |
- ) |
84 |
+ ncurses? ( >=sys-libs/ncurses-5.2:0= ) |
85 |
+ readline? ( >=sys-libs/readline-4.1:0= ) |
86 |
sqlite? ( >=dev-db/sqlite-3.3.8:3= ) |
87 |
ssl? ( |
88 |
!libressl? ( dev-libs/openssl:0= ) |
89 |
- libressl? ( dev-libs/libressl:= ) |
90 |
+ libressl? ( dev-libs/libressl:0= ) |
91 |
) |
92 |
tk? ( |
93 |
>=dev-lang/tcl-8.0:0= |
94 |
@@ -49,7 +48,10 @@ RDEPEND="app-arch/bzip2:0= |
95 |
) |
96 |
xml? ( >=dev-libs/expat-2.1:0= ) |
97 |
!!<sys-apps/sandbox-2.6-r1" |
98 |
+# bluetooth requires headers from bluez |
99 |
DEPEND="${RDEPEND} |
100 |
+ bluetooth? ( net-wireless/bluez ) |
101 |
+ test? ( app-arch/xz-utils[extra-filters(+)] ) |
102 |
virtual/pkgconfig |
103 |
!sys-devel/gcc[libffi(-)]" |
104 |
RDEPEND+=" !build? ( app-misc/mime-types )" |
105 |
@@ -64,16 +66,20 @@ src_prepare() { |
106 |
rm -fr Modules/_ctypes/libffi* |
107 |
rm -fr Modules/zlib |
108 |
|
109 |
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
110 |
- epatch "${FILESDIR}/${PN}-3.5-distutils-OO-build.patch" |
111 |
- epatch "${FILESDIR}/3.6-blake2.patch" |
112 |
+ local PATCHES=( |
113 |
+ "${WORKDIR}/patches" |
114 |
+ "${FILESDIR}/${PN}-3.5-distutils-OO-build.patch" |
115 |
+ "${FILESDIR}/3.6.5-disable-nis.patch" |
116 |
+ "${FILESDIR}/python-3.6.5-libressl-compatibility.patch" |
117 |
+ "${FILESDIR}/python-3.6.5-hash-unaligned.patch" |
118 |
+ ) |
119 |
|
120 |
- epatch_user |
121 |
+ default |
122 |
|
123 |
# Prefix' round of patches |
124 |
# http://prefix.gentooexperimental.org:8000/python-patches-3_3 |
125 |
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \ |
126 |
- epatch "${WORKDIR}"/python-prefix-${PV}-gentoo-patches-${PREFIX_PATCHREV} |
127 |
+ epatch "${WORKDIR}"/python-prefix-${PREFIX_PATCHREV} |
128 |
|
129 |
# we provide a fully working readline also on Darwin, so don't force |
130 |
# usage of less functional libedit |
131 |
@@ -110,6 +116,8 @@ src_prepare() { |
132 |
|
133 |
src_configure() { |
134 |
local disable |
135 |
+ # disable automagic bluetooth headers detection |
136 |
+ use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no |
137 |
use gdbm || disable+=" gdbm" |
138 |
use ncurses || disable+=" _curses _curses_panel" |
139 |
use readline || disable+=" readline" |
140 |
@@ -334,8 +342,8 @@ src_install() { |
141 |
# if not using a cross-compiler, use the fresh binary |
142 |
if ! tc-is-cross-compiler; then |
143 |
local -x PYTHON=./python$(sed -n '/BUILDEXE=/s/^.*=\s\+//p' Makefile) |
144 |
- local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. |
145 |
- local -x DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}. |
146 |
+ local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD} |
147 |
+ local -x DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}${PWD} |
148 |
else |
149 |
vars=( PYTHON "${vars[@]}" ) |
150 |
fi |