1 |
commit: 9cdac3724aece553ac6c9846bc0d59e4349630e6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 29 07:57:02 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 08:33:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cdac372 |
7 |
|
8 |
dev-python/aws-sam-translator: Bump to 1.44.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aws-sam-translator/Manifest | 1 + |
13 |
.../aws-sam-translator-1.44.0.ebuild | 55 ++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest |
17 |
index bce6707bb990..ce361c087c7c 100644 |
18 |
--- a/dev-python/aws-sam-translator/Manifest |
19 |
+++ b/dev-python/aws-sam-translator/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST aws-sam-translator-1.40.0.tar.gz 988864 BLAKE2B 5a414bde5ceeb016267c64742e8c8dabf1460471261a84464ab2bffa4b5553eb042ffe2b4ac91b470316f64a68043e27f652b2cc5aabc8a83cf61faa89d7af51 SHA512 99c578cbe4100c30d2e6357dbb35aaf9e93180b8fce27f1b8400253153fef7d18487b5f67e0824920c6adb8bfdfe763a8fd893b3ac4ef3f781673f4761866e0e |
22 |
DIST aws-sam-translator-1.42.0.tar.gz 1017720 BLAKE2B d0166b09b99c64f5f4a4c1ebfe63b6a35ca6db73efb97f76b8748272b646fe2fcf9de06c2f6b29ce69a3edfce9235ba932913055e70f48d88569e4df25a6be0e SHA512 6b1bfd4bde203e31a9d98a385d6c0705ba651c39846358e750faf8a30c4e4e8b2ee57623af27da670ee8f1f5edca795b1b5528b5237ff9f01f911d4b9385ebcd |
23 |
DIST aws-sam-translator-1.43.0.tar.gz 1046840 BLAKE2B 19e405a07c9eb42ee77f26986eb09e6902559fc3fad5f1b7f4df0d09cb529add1c53910afa3fa3d867f048e69fb4c6872004733fc611347d4438013b80605e5c SHA512 9e7a5b4769eafcf1a9d8af7582cd4af3a82843d2c7c474495b9099fcb94f8dd0dd45d02f52ed609de7dc341b77f0f913526410935244836c3201b99c3fb6a292 |
24 |
+DIST aws-sam-translator-1.44.0.tar.gz 1047747 BLAKE2B 54714943b1bb561e32fb0102aa7b3fdb77d9bd864510ff1cc5315591fad70ef112fe7bc080f2c7ba1444fc2dd7ccae212c539b8ec2015a93b1486e9152493fac SHA512 0c165b808b6ead83bfb3d4ee75ff683e733433b505ec035527b3e2ecac4d166acf60ce7c0a16f16181a42adf126bb215f88916e705fc9746b412ba58dbfe1815 |
25 |
|
26 |
diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.44.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.44.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..34c909b06a88 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/aws-sam-translator/aws-sam-translator-1.44.0.ebuild |
31 |
@@ -0,0 +1,55 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/aws/serverless-application-model/ |
45 |
+ https://pypi.org/project/aws-sam-translator/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz |
49 |
+ -> ${P}.tar.gz |
50 |
+" |
51 |
+S="${WORKDIR}/serverless-application-model-${PV}" |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/boto3-1.17[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/six-1.11[${PYTHON_USEDEP}] |
61 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ dev-python/mock[${PYTHON_USEDEP}] |
66 |
+ dev-python/parameterized[${PYTHON_USEDEP}] |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+distutils_enable_tests pytest |
71 |
+ |
72 |
+EPYTEST_DESELECT=( |
73 |
+ tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri |
74 |
+ tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2 |
75 |
+) |
76 |
+ |
77 |
+python_prepare_all() { |
78 |
+ # remove pytest-cov dependency |
79 |
+ sed -r -e 's:--cov(-[[:graph:]]+|)[[:space:]]+[[:graph:]]+::g' \ |
80 |
+ -i pytest.ini || die |
81 |
+ |
82 |
+ # deps are installed by ebuild, don't try to reinstall them via pip |
83 |
+ truncate --size=0 requirements/*.txt || die |
84 |
+ |
85 |
+ distutils-r1_python_prepare_all |
86 |
+} |