[arch-commits] Commit in python-aws-sam-translator/repos (2 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Dec 7 03:26:54 UTC 2019


    Date: Saturday, December 7, 2019 @ 03:26:54
  Author: yan12125
Revision: 536135

archrelease: copy trunk to community-testing-any

Added:
  python-aws-sam-translator/repos/community-testing-any/
  python-aws-sam-translator/repos/community-testing-any/PKGBUILD
    (from rev 536134, python-aws-sam-translator/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-aws-sam-translator/repos/community-testing-any/PKGBUILD (from rev 536134, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-12-07 03:26:54 UTC (rev 536135)
@@ -0,0 +1,29 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+pkgver=1.19.0
+pkgrel=1
+pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS'
+arch=(any)
+url='https://github.com/awslabs/serverless-application-model'
+license=(Apache)
+depends=(python python-boto3 python-jsonschema python-six)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-pytest-cov python-yaml python-mock python-parameterized)
+source=("https://github.com/awslabs/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('12ce7aff08dac3e61597fa3462b8e55e05c714b424caf7384bd08a5888948c5f')
+
+build() {
+  cd serverless-application-model-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd serverless-application-model-$pkgver
+  pytest -v tests
+}
+
+package() {
+  cd serverless-application-model-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


More information about the arch-commits mailing list