1 |
commit: bf4f3e89493fd3d03de141147033339ee532f517 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 20:45:11 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 22:04:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4f3e89 |
7 |
|
8 |
dev-python/botocore: Bump to 1.23.12 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/botocore/Manifest | 1 + |
13 |
.../{botocore-9999.ebuild => botocore-1.23.12.ebuild} | 15 +++++++++++++++ |
14 |
dev-python/botocore/botocore-9999.ebuild | 15 +++++++++++++++ |
15 |
3 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
18 |
index b48d19bc9e87..0ae19080008d 100644 |
19 |
--- a/dev-python/botocore/Manifest |
20 |
+++ b/dev-python/botocore/Manifest |
21 |
@@ -3,6 +3,7 @@ DIST botocore-1.22.12.tar.gz 8343683 BLAKE2B df7b2c86f226df14dc8181e8506acc7dd66 |
22 |
DIST botocore-1.22.5.tar.gz 8301083 BLAKE2B 91f9d38e7c5bcb0b8f58c04547ad45489f58d2240c6b7301cf632969a4a73cf4a1d51c8c68c8def27653c10041d2163ad7ca800dcf6fd07972b506bf2566cae3 SHA512 710a9eeee03dc79ca4ffacc4974f09ca769e1e3b8cb143f6f0349240dd8c2af8ee526a1dadb7310a26019363f683fc4149cb4c73d8b94a856a384fab7f84fb5c |
23 |
DIST botocore-1.23.10.tar.gz 8429267 BLAKE2B bcad034d600f17317e1036225a789c143d75ee2375965df60b3398d898fb49e5ceee7a5ac99cd7fb5f44f2bd89da7cee9406df6b493a53c93fcce5363d7735e5 SHA512 c2782cb8e360f1a921a0e630f2a6cc0f97f1ff0a974e89d95c0b602f201ebffe29a507759e9a83153cc3d9797f057d7bc6e4f6568f6965a7448be04b479c5b55 |
24 |
DIST botocore-1.23.11.tar.gz 8445108 BLAKE2B 16e486ff61e2b7822d6db74ed5829ce4e0cdc69b32c6d6b08b5790eca9856c409844b67a0545f9c22e8cbd90bfb5f6f0b0f8be1f1924f9814235390eca71d853 SHA512 625fd439da1bab2be4bf4621ace23ad5c815fe80933dc89d1489016424eb53dcaa2b8f476cf920ae0a800c05bce9dbef594e794c7131cce4e81eee81381f1f64 |
25 |
+DIST botocore-1.23.12.tar.gz 8456254 BLAKE2B 64119372aca49f1a18835b518ca2474b9e1bcfc0f03e13ffa749b04c6658f229d096751d9bd87b0f5852afd62cbfbe8eacd05c1d91e1c423171374a341daca43 SHA512 e54fc3054093bb41d566d24e06c97ffbd68cfed68183564efe67fb5a70f90acd14d95345874a80fa82faa19cafaa3f84839c5cd8443e171a17029279d1ecf949 |
26 |
DIST botocore-1.23.5.tar.gz 8374467 BLAKE2B 467092e7d8aa5ccb756132669049865445a47205913964c1c944b20caaf100b1efdd1bf3af9c5416ff079b487e6d4d08ffe6208e2b352d09655cc5be21c88739 SHA512 6afca19b724f9019f21e5993ce970d605b95d31c1a4e969ec1b4080510a5a120b3fa0cfd5ade973a9203bd6b7983a3dbca2f7a03108a9167392efd60d5e2fe9b |
27 |
DIST botocore-1.23.6.tar.gz 8387968 BLAKE2B 415a177d591a0ef369f17b8f02563be0fb53bc4e65c2767f41ca11300939585a10146874b6ac5297cdd3dcb36cf6fd2065fd09f3c612c4ba1d954b03a5b15579 SHA512 a46e45b7bb67d7c4bcc5508f38448b9ed3778ed6b6080239459b22b7f753adaf12e8d64496f7d7c71b33bb17ae1744000e9269ea0f545286e56fabe39e7f0340 |
28 |
DIST botocore-1.23.7.tar.gz 8391467 BLAKE2B dd6cad44c1b8109b76c44bfffa45e74da0fbeaa027429860640e33134dc5f6e5bb813b46d8b662d80b89af46d437c6fb962f0e0ab1edbeca3ee790f3b6d029bf SHA512 a3270da3b6d906bc2372af221400e14039868598ccd56f40f976bcc2638f300ae9990ff367f76e5b5cdf8d46a8a37716865f9a40ca7e79b73a5b8dbcb2b1af7f |
29 |
|
30 |
diff --git a/dev-python/botocore/botocore-9999.ebuild b/dev-python/botocore/botocore-1.23.12.ebuild |
31 |
similarity index 72% |
32 |
copy from dev-python/botocore/botocore-9999.ebuild |
33 |
copy to dev-python/botocore/botocore-1.23.12.ebuild |
34 |
index 638620b2cbc8..80a198d56414 100644 |
35 |
--- a/dev-python/botocore/botocore-9999.ebuild |
36 |
+++ b/dev-python/botocore/botocore-1.23.12.ebuild |
37 |
@@ -42,9 +42,24 @@ distutils_enable_tests pytest |
38 |
src_prepare() { |
39 |
# unpin deps |
40 |
sed -i -e "s:>=.*':':" setup.py || die |
41 |
+ |
42 |
+ # unbundle deps |
43 |
+ rm -r botocore/vendored || die |
44 |
+ find -name '*.py' -exec sed -i \ |
45 |
+ -e 's:from botocore[.]vendored import:import:' \ |
46 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
47 |
+ {} + || die |
48 |
+ |
49 |
distutils-r1_src_prepare |
50 |
} |
51 |
|
52 |
python_test() { |
53 |
+ local EPYTEST_DESELECT=( |
54 |
+ # rely on bundled six |
55 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
56 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
57 |
+ ) |
58 |
+ |
59 |
+ distutils_install_for_testing --via-venv |
60 |
epytest tests/{functional,unit} |
61 |
} |
62 |
|
63 |
diff --git a/dev-python/botocore/botocore-9999.ebuild b/dev-python/botocore/botocore-9999.ebuild |
64 |
index 638620b2cbc8..80a198d56414 100644 |
65 |
--- a/dev-python/botocore/botocore-9999.ebuild |
66 |
+++ b/dev-python/botocore/botocore-9999.ebuild |
67 |
@@ -42,9 +42,24 @@ distutils_enable_tests pytest |
68 |
src_prepare() { |
69 |
# unpin deps |
70 |
sed -i -e "s:>=.*':':" setup.py || die |
71 |
+ |
72 |
+ # unbundle deps |
73 |
+ rm -r botocore/vendored || die |
74 |
+ find -name '*.py' -exec sed -i \ |
75 |
+ -e 's:from botocore[.]vendored import:import:' \ |
76 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
77 |
+ {} + || die |
78 |
+ |
79 |
distutils-r1_src_prepare |
80 |
} |
81 |
|
82 |
python_test() { |
83 |
+ local EPYTEST_DESELECT=( |
84 |
+ # rely on bundled six |
85 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
86 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
87 |
+ ) |
88 |
+ |
89 |
+ distutils_install_for_testing --via-venv |
90 |
epytest tests/{functional,unit} |
91 |
} |