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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7EB613835B for ; Thu, 17 Dec 2020 23:17:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B396BE0975; Thu, 17 Dec 2020 23:17:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9B246E0975 for ; Thu, 17 Dec 2020 23:17:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B0A43413D2 for ; Thu, 17 Dec 2020 23:17:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9565FD0 for ; Thu, 17 Dec 2020 23:17:18 +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: <1608247032.997a2f2ebc3b9561f9dd116526fcf20f6409944e.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.33.0.ebuild X-VCS-Directories: dev-python/aws-sam-translator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 997a2f2ebc3b9561f9dd116526fcf20f6409944e X-VCS-Branch: master Date: Thu, 17 Dec 2020 23:17:18 +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: db577586-f159-489d-8fb3-684067ed3031 X-Archives-Hash: b5c08eeade4e55ec6a579fc11ea5c6da commit: 997a2f2ebc3b9561f9dd116526fcf20f6409944e Author: Michał Górny gentoo org> AuthorDate: Thu Dec 17 22:55:26 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 17 23:17:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=997a2f2e dev-python/aws-sam-translator: Bump to 1.33.0 Signed-off-by: Michał Górny gentoo.org> dev-python/aws-sam-translator/Manifest | 1 + .../aws-sam-translator-1.33.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index c4f3d38bcd9..489548b8960 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -2,3 +2,4 @@ DIST aws-sam-translator-1.29.0.tar.gz 805869 BLAKE2B 89054fa7e2488b53daf73a78ae1 DIST aws-sam-translator-1.30.1.tar.gz 810865 BLAKE2B 2039e0724d05f7f9d8372b149f04427e0bd1a8a9b503e6dc49ee76cb4e7678d8f759317c43922d190a2bb55a446feffcbf448cdbc9343538b5c77d81b5545e5f SHA512 8fcdf0843f52c8424a78540cf2a9c3922070bcd34a2e0001a17b89b19b471dfbfc4fcd48211b80292d2f7b76eb2881152c68c4d4b56499ab38942c025226d49e DIST aws-sam-translator-1.31.0.tar.gz 813078 BLAKE2B ae87944bcfe7481db62c0556e1f20defbe5890bebd9b6bc8fe4f597b1ff463ec6382384832451becf5a49361149102a31316ca83e5933d12e0e7e18c9861b9c9 SHA512 fd2b775d2127cce9d78cd3c7ac4dd19f88a94be474f94e4db2486dc96bc88d9a3f621a80bd6dd0b9d70a42df32f3a9164c234a44ce69f84913aa6f4c59ae3682 DIST aws-sam-translator-1.32.0.tar.gz 817649 BLAKE2B 34d606bb294700dac1d3385d173d737d3259f460d0ead302521eb4e2660d3781c49ce5db71e1721245068efdac03eefcfe8963d4915d1e1c60fd783880a95bc9 SHA512 e4adce238434983c56b69960fd673db88edf5b3e4f9356ca4dae508f5a7a8e6bbd3c84050ee606e1fbd578d8f58c5d8196890187e058b7ae2bc8249dbb8ac0d4 +DIST aws-sam-translator-1.33.0.tar.gz 817801 BLAKE2B 6e50f299b077f6d0240ee4db80450f766589c5349c323cd846c9ef42dc08bfcb7f8f80099c7d1ecf940d3ba1c2e4628842bf4b1f12e8fcc6c83100f5a375125d SHA512 72fadce4851d782e37e786132d98bcc364c92a1fa48addf715f0d2cf28e286e8cb8835de05fccc67c153d45ed8ba9fd3b7445333f8d96cd70b6c854b8b34c5d6 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.33.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.33.0.ebuild new file mode 100644 index 00000000000..12e3cdc1611 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.33.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +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}.tar.gz" +S="${WORKDIR}/serverless-application-model-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/boto3-1.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/six-1.11[${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() { + # remove pytest-cov dependency + sed -r -e 's:--cov(-[[:graph:]]+|)[[:space:]]+[[:graph:]]+::g' \ + -i pytest.ini || die + + # don't install tests + sed -e 's:"tests",:"tests", "tests.*",:' -i setup.py || 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 +}