diff options
author | Zac Medico <zachary.medico@sony.com> | 2019-06-21 18:19:08 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-06-24 18:33:41 -0700 |
commit | 96a88c91fb4a92931628fe5f1201717e851aef84 (patch) | |
tree | f7484e406de90fe46a8d2093eb643c590d1f268d /dev-python/aws-sam-translator | |
parent | dev-python/jsondiff: New package (diff) | |
download | gentoo-96a88c91fb4a92931628fe5f1201717e851aef84.tar.gz gentoo-96a88c91fb4a92931628fe5f1201717e851aef84.tar.bz2 gentoo-96a88c91fb4a92931628fe5f1201717e851aef84.zip |
dev-python/aws-sam-translator: New package
Bug: https://bugs.gentoo.org/688034
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/aws-sam-translator')
-rw-r--r-- | dev-python/aws-sam-translator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/aws-sam-translator/aws-sam-translator-1.11.0.ebuild | 28 | ||||
-rw-r--r-- | dev-python/aws-sam-translator/metadata.xml | 13 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest new file mode 100644 index 000000000000..eb46b6cecbd4 --- /dev/null +++ b/dev-python/aws-sam-translator/Manifest @@ -0,0 +1 @@ +DIST aws-sam-translator-1.11.0.tar.gz 96492 BLAKE2B 4025492501d17699b64041a94704d0ec491ffb02a4b7e48c2647101be4d504b6a8c08a9a043c2d964a51d1ef7b40e4fd1d993f9d3b38b5b75460a7d0117b9f49 SHA512 e008248ef3401ffe58590c6d68667f67e5963e416656daea545c8d938ab8cb5d8b1c9c7f5aea2d53cedfd74b1fb8677e99a93a8a78235198b18c14df957d0c74 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.11.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.11.0.ebuild new file mode 100644 index 000000000000..43c8b5ac9611 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.11.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE="https://github.com/awslabs/serverless-application-model https://pypi.org/project/aws-sam-translator/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" +RDEPEND="virtual/python-enum34[${PYTHON_USEDEP}] + >=dev-python/boto3-1.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/six-1.11[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" +RESTRICT="test" + +python_test() { + PYTHONPATH=${BUILD_DIR}/lib \ + esetup.py test || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/aws-sam-translator/metadata.xml b/dev-python/aws-sam-translator/metadata.xml new file mode 100644 index 000000000000..de0ced977a97 --- /dev/null +++ b/dev-python/aws-sam-translator/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> + <upstream> + <remote-id type="github">awslabs/serverless-application-model</remote-id> + <remote-id type="pypi">aws-sam-translator</remote-id> + <bugs-to>https://github.com/awslabs/serverless-application-model/issues</bugs-to> + </upstream> +</pkgmetadata> |