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

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Mar 21 02:27:21 UTC 2020


    Date: Saturday, March 21, 2020 @ 02:27:20
  Author: yan12125
Revision: 602276

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 31 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 02:27:07 UTC (rev 602275)
+++ PKGBUILD	2020-03-21 02:27:20 UTC (rev 602276)
@@ -1,30 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-aws-sam-translator
-pkgver=1.21.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=('795ff31888aae588ac39c4f6d5eef463bde416dfc9843fa43539424cad4d5214')
-
-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
-  rm -rv "$pkgdir"/usr/lib/python*/site-packages/tests
-}

Copied: python-aws-sam-translator/repos/community-any/PKGBUILD (from rev 602275, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-21 02:27:20 UTC (rev 602276)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+pkgver=1.22.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-yaml python-mock python-parameterized)
+source=("https://github.com/awslabs/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('46b28186bc06ebe116e1e5671afd717a1097e1224adb7e66a20ece46dd4d9079')
+
+build() {
+  cd serverless-application-model-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd serverless-application-model-$pkgver
+  # disable upstream pytest.ini, which involves coverage
+  pytest -c /dev/null -v tests
+}
+
+package() {
+  cd serverless-application-model-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  rm -rv "$pkgdir"/usr/lib/python*/site-packages/tests
+}



More information about the arch-commits mailing list