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-python/botocore/
Date: Mon, 27 Sep 2021 22:16:15
Message-Id: 1632780953.72ba8e9499e602ebda8527469f89cf5d884722e1.mgorny@gentoo
1 commit: 72ba8e9499e602ebda8527469f89cf5d884722e1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 27 21:20:50 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 22:15:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ba8e94
7
8 dev-python/botocore: Bump to 1.21.49
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.21.49.ebuild} | 12 ++----------
14 dev-python/botocore/botocore-9999.ebuild | 12 ++----------
15 3 files changed, 5 insertions(+), 20 deletions(-)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index bc912a63173..2695ca34d18 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -8,3 +8,4 @@ DIST botocore-1.21.45.tar.gz 8170610 BLAKE2B e55cc819188ae61c1427a3a7e3ff008d85c
22 DIST botocore-1.21.46.tar.gz 8175719 BLAKE2B 8c171e07e5c68b1d3721c0d5052b09d2c5522f0ed899453441e72c744e117f7479995ff2fde222c2c1fdcfe382464b9bc0898367a3d79b1e53dbfc60d855e10c SHA512 3ec64d160ec682d287fc1cadeb5ef4ed50a3157f98cd18514d75ec9e60ea73b4dde5a419e7a07c490216d8d67c29d214b88ff9fa1ef3a8b0bf176f11fb9cfcab
23 DIST botocore-1.21.47.tar.gz 8183951 BLAKE2B 930fdccd5d45fb1fb88fec2370e65bff5eb7241ea3a666f1f0bfeb11ee3e1e5bb715d658ac1f340c0565f16bbba48fa57c7460aef0e0595486303f62f79df244 SHA512 705fa363bdd4663f774e349e448666d7bfd47c77b57689d6cc12039419c8a4f820d7edd01de9689cd56fee3d59138ea9bd803b4402c8b5fac95cd2de76fb1558
24 DIST botocore-1.21.48.tar.gz 8180642 BLAKE2B 9efa407e69caebd7a8c8f058c356b024ac5f7ad1675c099bef1f593b391aab5901853e4c0b0a9989ac190bdbc8e869a2f0dd2670ce483f14f1f2b993971c4652 SHA512 1319679897ec3ed07a489a52d0d3e6a9abc529bb1c1aa458f1b51d1035d7e8bc203ba830fef2354fd07f058b3bb4ba140af34cb1616b509ecda08f5a18b2ed49
25 +DIST botocore-1.21.49.tar.gz 8202118 BLAKE2B cdda23ddbd1d9540c8dc1e53763bfccf9984a8df65683f1bb9e7541beca866beba75fd76a983c14c953224cdc19749b0e0af7e17529b4bd41869b5a2bfa49d0a SHA512 4a85a0bef518b57942b57fe01b10c588c3cceb1d8c7fa14e4bdc2e0c53fd3bf5b19947659870ce4af57bdabc4036d9a8c15b53530b7ec312e33b5bb91a784781
26
27 diff --git a/dev-python/botocore/botocore-9999.ebuild b/dev-python/botocore/botocore-1.21.49.ebuild
28 similarity index 70%
29 copy from dev-python/botocore/botocore-9999.ebuild
30 copy to dev-python/botocore/botocore-1.21.49.ebuild
31 index cb37cb422ac..638620b2cbc 100644
32 --- a/dev-python/botocore/botocore-9999.ebuild
33 +++ b/dev-python/botocore/botocore-1.21.49.ebuild
34 @@ -37,22 +37,14 @@ PATCHES=(
35
36 distutils_enable_sphinx docs/source \
37 'dev-python/guzzle_sphinx_theme'
38 -distutils_enable_tests nose
39 +distutils_enable_tests pytest
40
41 src_prepare() {
42 # unpin deps
43 sed -i -e "s:>=.*':':" setup.py || die
44 - # very unstable
45 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
46 - tests/functional/retries/test_bucket.py || die
47 distutils-r1_src_prepare
48 }
49
50 python_test() {
51 - # note: suites need to be run separately as one of the unit tests
52 - # seems to be leaking mocks and breaking a few functional tests
53 - nosetests -v tests/unit ||
54 - die "unit tests failed under ${EPYTHON}"
55 - nosetests -v tests/functional ||
56 - die "functional tests failed under ${EPYTHON}"
57 + epytest tests/{functional,unit}
58 }
59
60 diff --git a/dev-python/botocore/botocore-9999.ebuild b/dev-python/botocore/botocore-9999.ebuild
61 index cb37cb422ac..638620b2cbc 100644
62 --- a/dev-python/botocore/botocore-9999.ebuild
63 +++ b/dev-python/botocore/botocore-9999.ebuild
64 @@ -37,22 +37,14 @@ PATCHES=(
65
66 distutils_enable_sphinx docs/source \
67 'dev-python/guzzle_sphinx_theme'
68 -distutils_enable_tests nose
69 +distutils_enable_tests pytest
70
71 src_prepare() {
72 # unpin deps
73 sed -i -e "s:>=.*':':" setup.py || die
74 - # very unstable
75 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
76 - tests/functional/retries/test_bucket.py || die
77 distutils-r1_src_prepare
78 }
79
80 python_test() {
81 - # note: suites need to be run separately as one of the unit tests
82 - # seems to be leaking mocks and breaking a few functional tests
83 - nosetests -v tests/unit ||
84 - die "unit tests failed under ${EPYTHON}"
85 - nosetests -v tests/functional ||
86 - die "functional tests failed under ${EPYTHON}"
87 + epytest tests/{functional,unit}
88 }