From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A8F158094 for ; Thu, 22 Sep 2022 06:23:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEF9BE0C13; Thu, 22 Sep 2022 06:23:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1D82E0C13 for ; Thu, 22 Sep 2022 06:23:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C1C6341189 for ; Thu, 22 Sep 2022 06:23:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE95C576 for ; Thu, 22 Sep 2022 06:23:20 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1663827796.ac31d29bbd1d8d8259979588ded81c87590454a8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aws-sam-translator/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/aws-sam-translator/Manifest dev-python/aws-sam-translator/aws-sam-translator-1.51.0.ebuild X-VCS-Directories: dev-python/aws-sam-translator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ac31d29bbd1d8d8259979588ded81c87590454a8 X-VCS-Branch: master Date: Thu, 22 Sep 2022 06:23:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54dec71c-2aeb-4f04-bff7-94b6fe6572c0 X-Archives-Hash: 40839e5a8568ea18931f305399c167ce commit: ac31d29bbd1d8d8259979588ded81c87590454a8 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 22 06:17:40 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 22 06:23:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac31d29b dev-python/aws-sam-translator: Bump to 1.51.0 Signed-off-by: Michał Górny gentoo.org> dev-python/aws-sam-translator/Manifest | 1 + .../aws-sam-translator-1.51.0.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index efbfc5d3572f..348d4652d017 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1 +1,2 @@ DIST aws-sam-translator-1.50.0.gh.tar.gz 1103467 BLAKE2B 8d9408b7e92a5c515da47075a0722c937223e73dfa99d92d6daf91997a2edf4e1854afb88f7020fdab3457453d1c54ea77cf7e3466ec71ede36bfb3fc9c469fa SHA512 2f8f494218a1ac018893de59e7bede88b73ce446b29cc818d9309275851b080608656f69c422a9b49c885a6e6cbe7f34826f31cf4da9f2ee0667a1663dbee32a +DIST aws-sam-translator-1.51.0.gh.tar.gz 1107033 BLAKE2B be5d46fa4caa7619c0b959eeec65d0902fdb197369c84c930618398a9b4110c2b1e281c80e63c659be266bb6b2f191495c40578fde73ab31c93bd05906bd55e3 SHA512 d21f3d0b3d4947ad25811f0274e5807089a8d1e2aab76310a80a92f48cfe9ac683bcecea3c833692948f94934be5662cf7585aab0a4a949fcf368901d2e1b9a8 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.51.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.51.0.ebuild new file mode 100644 index 000000000000..4194237c6fc3 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.51.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/serverless-application-model-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/boto3-1.19.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri + tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2 + tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_success_one_app + tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_throttling_doesnt_stop_processing + tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sleep_between_sar_checks + tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_unexpected_sar_error_stops_processing + tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_and_on_after_transform_template::test_time_limit_exceeds_between_combined_sar_calls +) + +python_prepare_all() { + # remove pytest-cov dependency + sed -i -e '/addopts/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +}