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 968A515800A for ; Fri, 1 Sep 2023 05:06:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 801612BC021; Fri, 1 Sep 2023 05:06:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 67CD12BC021 for ; Fri, 1 Sep 2023 05:06:25 +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 99ACC335D17 for ; Fri, 1 Sep 2023 05:06:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E94BA10F8 for ; Fri, 1 Sep 2023 05:06:22 +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: <1693544775.723b31ce34178a152c4f19f0c1bf547cc754fd76.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.74.0.ebuild X-VCS-Directories: dev-python/aws-sam-translator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 723b31ce34178a152c4f19f0c1bf547cc754fd76 X-VCS-Branch: master Date: Fri, 1 Sep 2023 05:06:22 +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: 90026928-5dd8-41c6-8efa-d8d63b50be33 X-Archives-Hash: 9e2b827c094797dcf9b4453a7d1ab4f3 commit: 723b31ce34178a152c4f19f0c1bf547cc754fd76 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 1 04:31:48 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 1 05:06:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723b31ce dev-python/aws-sam-translator: Bump to 1.74.0 Signed-off-by: Michał Górny gentoo.org> dev-python/aws-sam-translator/Manifest | 1 + .../aws-sam-translator-1.74.0.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index f469211c857d..fb7a95cf5cba 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,2 +1,3 @@ DIST serverless-application-model-1.72.0.gh.tar.gz 5074171 BLAKE2B b69fd51e59a223b7003b82f4a27c1724a6be0c16958664ce567b4c5ce57084aca2259c0d92f4f019f0b44fa6a7c8fe06622109c5447b7905029652c548fd20d4 SHA512 e267fc255923c2ab469f1d95723927392453e84ac95d04bddc202e895824410a80eff40bb6900aa2cdfbe6f5ab06d89a24003848e19f9f16423c98a1df951d64 DIST serverless-application-model-1.73.0.gh.tar.gz 5079379 BLAKE2B e7220e4d0e25a725d3dc0828297bcab9c174e067f927b6aab7f6bdd0c9c8de8333464d7783f0ae9965b00a1323ace8f63a51aed92e459f578a2d2e15a34bed52 SHA512 1487b3815f62dc4a5081316b09d469359126fa76d4b4f3ee397b581e5491cea20ebafeeb96d261652eb552e501666de3d90f6bd5a52517474e170420abaeea92 +DIST serverless-application-model-1.74.0.gh.tar.gz 5082475 BLAKE2B 4eea6df8caefd8face0115300739d74dee96f5b303cd2f86e7ffd58535c36567c830c9a0b55f59c712b166376b66ae23d7cc5e9c79445a1a9e4f3e23f0c4b94d SHA512 f34af17d0d2ec540c9ef65c1419812e0ec24da331b527e843f3da88149721a4dbec7130f1ac452c19b8462461ed09e3e6b607a80756aaa5f01fc3abc04740938 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.74.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.74.0.ebuild new file mode 100644 index 000000000000..5a83e871d7a8 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.74.0.ebuild @@ -0,0 +1,60 @@ +# 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 + +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}] + ) +" + +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= +}