1 |
commit: cf0f7915308973b75d1b155492a1abec2d53cf6d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 28 07:30:31 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 28 08:16:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0f7915 |
7 |
|
8 |
dev-python/aws-xray-sdk-python: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aws-xray-sdk-python/Manifest | 1 - |
13 |
.../aws-xray-sdk-python-2.6.0.ebuild | 55 ---------------------- |
14 |
2 files changed, 56 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/aws-xray-sdk-python/Manifest b/dev-python/aws-xray-sdk-python/Manifest |
17 |
index 7205c4b9e79..9b5ea842d8d 100644 |
18 |
--- a/dev-python/aws-xray-sdk-python/Manifest |
19 |
+++ b/dev-python/aws-xray-sdk-python/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST aws-xray-sdk-python-2.6.0.gh.tar.gz 255978 BLAKE2B f43204a25027d0ec135222879bf9158aef65ba5ca948e734be0b984d8f2582741bb36d9ae0a874dffae6ffc5209e25fa1c69069c261256c3bee71a4fe717411c SHA512 17a4716467b7f6dc2912d969143e0b7c8c0b9ab15bc57f873ec415876ad2080218c3c526f4aa2c1bbf4d1caaca62eaf122c87debb45c925fd84a1bcf00ab741f |
22 |
DIST aws-xray-sdk-python-2.7.0.gh.tar.gz 265934 BLAKE2B f697c2bbe21db4b20b200ba9e9c264df81e3a6ff64d73639756d8f51a1abe0ecfaf1b852a3befde535757dfa3f75348e2eee1d5124147f04d11f5b5f20976b95 SHA512 d9ff1a190e5503f904258ac47cd7b1c686a9c74d0699f69f053df19ec7ea197da1c9c29a97624ff0758346a0dca9e3a292bf54ba3f340fcd392248602a85bfd9 |
23 |
|
24 |
diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.6.0.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.6.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 7f1b525a3a1..00000000000 |
27 |
--- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.6.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,55 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-PYTHON_COMPAT=( python3_{7..9} ) |
35 |
- |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="AWS X-Ray SDK for Python" |
39 |
-HOMEPAGE="https://github.com/aws/aws-xray-sdk-python https://pypi.org/project/aws-xray-sdk/" |
40 |
-SRC_URI=" |
41 |
- https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz |
42 |
- -> ${P}.gh.tar.gz" |
43 |
- |
44 |
-LICENSE="Apache-2.0" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" |
47 |
-IUSE="" |
48 |
- |
49 |
-RDEPEND=">=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] |
50 |
- dev-python/future[${PYTHON_USEDEP}] |
51 |
- dev-python/jsonpickle[${PYTHON_USEDEP}] |
52 |
- dev-python/wrapt[${PYTHON_USEDEP}]" |
53 |
-BDEPEND=" |
54 |
- test? ( |
55 |
- dev-python/bottle[${PYTHON_USEDEP}] |
56 |
- dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] |
57 |
- dev-python/flask[${PYTHON_USEDEP}] |
58 |
- dev-python/mock[${PYTHON_USEDEP}] |
59 |
- dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
60 |
- dev-python/webtest[${PYTHON_USEDEP}] |
61 |
- )" |
62 |
- |
63 |
-distutils_enable_tests pytest |
64 |
- |
65 |
-src_prepare() { |
66 |
- # unpackaged deps |
67 |
- rm -r tests/ext/{aiobotocore,django,pg8000,psycopg2,pymysql,pynamodb} || die |
68 |
- |
69 |
- # TODO |
70 |
- sed -i -e 's:test_external:_&:' tests/test_patcher.py || die |
71 |
- # require Internet access |
72 |
- rm tests/ext/aiohttp/test_client.py || die |
73 |
- rm -r tests/ext/{httplib,requests} || die |
74 |
- |
75 |
- distutils-r1_src_prepare |
76 |
-} |
77 |
- |
78 |
-src_test() { |
79 |
- local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings |
80 |
- local -x AWS_SECRET_ACCESS_KEY=fake_key |
81 |
- local -x AWS_ACCESS_KEY_ID=fake_id |
82 |
- |
83 |
- distutils-r1_src_test |
84 |
-} |