Accepting request 707935 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/707935 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aws-sam-translator?expand=0&rev=2
This commit is contained in:
commit
d62aeb0ed2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1334795a85077cd5741822149260f90104fb2a01699171c9e9567c0db76ed74d
|
||||
size 86049
|
@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 5 18:12:58 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Switch to github sources which include tests
|
||||
- Enable tests
|
||||
- Fix dependencies
|
||||
- Add commandline tool
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 20:27:10 UTC 2019 - Scott Wulf <swulf@suse.com>
|
||||
|
||||
- Upgrade to 1.11.0
|
||||
* Add ReservedConcurrentExecutions to globals
|
||||
* Fix ElasticsearchHttpPostPolicy resource reference
|
||||
* Support using AWS::Region in Ref and Sub
|
||||
* Documentation and examples updates
|
||||
* Add VersionDescription property to Serverless::Function
|
||||
* Update ServerlessRepoReadWriteAccessPolicy
|
||||
* Add additional template validation
|
||||
|
||||
- Upgrade to 1.10.0
|
||||
* Add GSIs to DynamoDBReadPolicy and DynamoDBCrudPolicy
|
||||
* Add DynamoDBReconfigurePolicy
|
||||
* Add CostExplorerReadOnlyPolicy and OrganizationsListAccountsPolicy
|
||||
* Add EKSDescribePolicy
|
||||
* Add SESBulkTemplatedCrudPolicy
|
||||
* Add FilterLogEventsPolicy
|
||||
* Add SSMParameterReadPolicy
|
||||
* Add SESEmailTemplateCrudPolicy
|
||||
* Add s3:PutObjectAcl to S3CrudPolicy
|
||||
* Add allow_credentials CORS option
|
||||
* Add support for AccessLogSetting and CanarySetting Serverless::Api properties
|
||||
* Add support for X-Ray in Serverless::Api
|
||||
* Add support for MinimumCompressionSize in Serverless::Api
|
||||
* Add Auth to Serverless::Api globals
|
||||
* Remove trailing slashes from APIGW permissions
|
||||
* Add SNS FilterPolicy and an example application
|
||||
* Add Enabled property to Serverless::Function event sources
|
||||
* Add support for PermissionsBoundary in Serverless::Function
|
||||
* Fix boto3 client initialization
|
||||
* Add PublicAccessBlockConfiguration property to S3 bucket resource
|
||||
* Make PAY_PER_REQUEST default mode for Serverless::SimpleTable
|
||||
* Add limited support for resolving intrinsics in Serverless::LayerVersion
|
||||
* SAM now uses Flake8
|
||||
* Add example application for S3 Events written in Go
|
||||
* Updated several example applications
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 21 12:42:29 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -12,52 +12,45 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-aws-sam-translator
|
||||
Version: 1.9.0
|
||||
Version: 1.11.0
|
||||
Release: 0
|
||||
License: Apache-2.0
|
||||
Summary: AWS SAM template to AWS CloudFormation template translator
|
||||
Url: https://github.com/awslabs/serverless-application-model
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/a/aws-sam-translator/aws-sam-translator-%{version}.tar.gz
|
||||
Url: https://github.com/awslabs/serverless-application-model
|
||||
Source: https://github.com/awslabs/serverless-application-model/archive/v%{version}.tar.gz#/serverless-application-model-%{version}.tar.gz
|
||||
Patch: ast_drop-compatible-releases-operator.patch
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module boto3 >= 1.5}
|
||||
BuildRequires: %{python_module boto3 < 2.0}
|
||||
BuildRequires: %{python_module jsonschema >= 2.6}
|
||||
BuildRequires: %{python_module jsonschema < 3.0}
|
||||
BuildRequires: %{python_module six >= 1.11}
|
||||
BuildRequires: %{python_module six < 2.0}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML >= 4.2}
|
||||
BuildRequires: %{python_module boto3 >= 1.5}
|
||||
BuildRequires: %{python_module coverage >= 4.4.0}
|
||||
BuildRequires: %{python_module jsonschema >= 2.6}
|
||||
BuildRequires: %{python_module mock >= 2.0.0}
|
||||
BuildRequires: %{python_module parameterized >= 0.6.1}
|
||||
BuildRequires: %{python_module pytest >= 3.0.7}
|
||||
BuildRequires: %{python_module pytest-cov >= 2.4.0}
|
||||
BuildRequires: %{python_module py >= 1.4.33}
|
||||
BuildRequires: %{python_module requests >= 2.20.0}
|
||||
BuildRequires: %{python_module six >= 1.11}
|
||||
BuildRequires: python-enum34 >= 1.1
|
||||
# /SECTION
|
||||
Requires: python-PyYAML >= 4.2
|
||||
Requires: python-boto3 >= 1.5
|
||||
Requires: python-boto3 < 2.0
|
||||
Requires: python-docopt >= 0.6.2
|
||||
Requires: python-jsonschema >= 2.6
|
||||
Requires: python-jsonschema < 3.0
|
||||
Requires: python-six >= 1.11
|
||||
Requires: python-six < 2.0
|
||||
Suggests: python-enum34 >= 1.1
|
||||
Suggests: python-enum34 < 2.0
|
||||
Suggests: python-coverage >= 4.4.0
|
||||
Suggests: python-flake8 >= 3.3.0
|
||||
Suggests: python-tox >= 2.2.1
|
||||
Suggests: python-pytest-cov >= 2.4.0
|
||||
Suggests: python-pylint >= 1.7.2
|
||||
Suggests: python-PyYAML == 3.12
|
||||
Suggests: python-pytest >= 3.0.7
|
||||
Suggests: python-py >= 1.4.33
|
||||
Suggests: python-mock >= 2.0.0
|
||||
Suggests: python-nose >= 1.3.7
|
||||
Suggests: python-parameterized >= 0.6.1
|
||||
Suggests: python-requests >= 2.11.1
|
||||
Suggests: python-docopt >= 0.6.2
|
||||
%ifpython2
|
||||
Requires: python-enum34 >= 1.1
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@ -67,8 +60,9 @@ AWS SAM Translator is a library that transform SAM
|
||||
templates into AWS CloudFormation templates
|
||||
|
||||
%prep
|
||||
%setup -q -n aws-sam-translator-%{version}
|
||||
%setup -q -n serverless-application-model-%{version}
|
||||
%patch -p1
|
||||
sed -i -e '1s|#!/usr/bin/env python2|#!/usr/bin/python3|' bin/sam-translate.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -77,9 +71,16 @@ templates into AWS CloudFormation templates
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -D -m 644 bin/sam-translate.py %{buildroot}%{_bindir}/sam-translate
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/sam-translate
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
3
serverless-application-model-1.11.0.tar.gz
Normal file
3
serverless-application-model-1.11.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bf620d1d22ee28781eefe0cb47e121c3f40eab4b04635889936b0ec1847e4f2
|
||||
size 5090907
|
Loading…
Reference in New Issue
Block a user