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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9534A15814C for ; Tue, 24 Oct 2023 05:16:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D515C2BC01D; Tue, 24 Oct 2023 05:16:30 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B63A52BC01D for ; Tue, 24 Oct 2023 05:16:30 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2CB6335C39 for ; Tue, 24 Oct 2023 05:16:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3844512BE for ; Tue, 24 Oct 2023 05:16:27 +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: <1698124581.069d6fef148431727685cc3a325dffa8865e12dc.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.79.0.ebuild X-VCS-Directories: dev-python/aws-sam-translator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 069d6fef148431727685cc3a325dffa8865e12dc X-VCS-Branch: master Date: Tue, 24 Oct 2023 05:16:27 +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: fd34a516-2ebf-4e26-81b5-5cd3c6e2f942 X-Archives-Hash: 0170dbbda82425c0035c2389dd61e474 commit: 069d6fef148431727685cc3a325dffa8865e12dc Author: Michał Górny gentoo org> AuthorDate: Tue Oct 24 04:41:56 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 24 05:16:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069d6fef dev-python/aws-sam-translator: Bump to 1.79.0 Signed-off-by: Michał Górny gentoo.org> dev-python/aws-sam-translator/Manifest | 1 + .../aws-sam-translator-1.79.0.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index f174a93622e9..54caa5703e5f 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,4 @@ DIST serverless-application-model-1.76.0.gh.tar.gz 5114195 BLAKE2B 2d9eb5ea740c02ad3b6ca4024c6a5f6f87fe0a2703535eab5e69488fb30e2172ab3edd67ab4a668a9790040a0edc698c2ac4fc4c244c0b2f8037a5ce6e1175fb SHA512 97bc81cc41ecc5e1b5bc253e9ba0839598a09a49e564bfe06bd3460867412ce2551e1ad79640cf40641bdc9d09261bdd8bdb87d78c860f6c3d2b316fcee9c027 DIST serverless-application-model-1.77.0.gh.tar.gz 5114799 BLAKE2B a5299e6a3dacca20304e3f93d84a96aa8013d435ecd62621e7fcc302c709ad86185cfa509925bebf379597186ed9fe82ac384f6314ecdc66826d8cd7df3f30c6 SHA512 961a1dcd1117b6d2c9b08c1e9b945d02ac19c9b41b91415264aadc9461fd62ece294a7da6e99ec128be685f6df605e8febf91469a1161bc94b12ae3976901f9e DIST serverless-application-model-1.78.0.gh.tar.gz 5115381 BLAKE2B bdb4c26a65b6740bed49ba2f830dce983f396e919b25450aa331208f63e69eb78001ce60284a6e70272c1ae1b68d110a1b865d990d100614c51e4235fbbbbb06 SHA512 36dd8e13f464d7f1502d49af2222e0716f13334f66c2f20d0423067696f2872386ae72859ac149e35a0c26df213c1bdbef8f727505a0f1a96527f7ee0e80939b +DIST serverless-application-model-1.79.0.gh.tar.gz 5119260 BLAKE2B 2cf3db022fc483bc1575328a0ece762285632b7bcb18757aa1afdab77aab1d567a78b8bf9c3b79666e23f546b73406335323d8b5f0ed829fb40f338a769082df SHA512 285c2b5d1728e4758dce362690fad6d1508ad4c61402a0b67d775952cb1e8479ddbdd352b746cc9178d3074164f05ac0c73cfaac68775ae97749e3746efc1bb4 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.79.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.79.0.ebuild new file mode 100644 index 000000000000..08f492fdb3b0 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.79.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +MY_P=serverless-application-model-${PV} +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 + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +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/pydantic-1.8[${PYTHON_USEDEP}] + =dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/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 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -p xdist -n "$(makeopts_jobs)" --dist=worksteal +}