Date: Friday, November 29, 2019 @ 14:09:44
  Author: yan12125
Revision: 534352

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 534351, 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 534351, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2019-11-29 14:09:44 UTC (rev 534352)
@@ -0,0 +1,29 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+
+pkgname=python-aws-sam-translator
+pkgver=1.16.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=('d9f8b5df9ded636cb4a5580a7f4e7dc1ad9318c757e2d67e9e222864cab08d95')
+
+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
+}

Reply via email to