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

Chih-Hsuan Yen yan12125 at archlinux.org
Wed Nov 25 13:50:16 UTC 2020


    Date: Wednesday, November 25, 2020 @ 13:50:15
  Author: yan12125
Revision: 761044

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-25 13:49:58 UTC (rev 761043)
+++ PKGBUILD	2020-11-25 13:50:15 UTC (rev 761044)
@@ -1,35 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-aws-sam-translator
-pkgver=1.30.1
-pkgrel=1
-pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS'
-arch=(any)
-url='https://github.com/aws/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/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('5b7524130815525cef368e72244e610da07323e77872b123fde896631766e1b7')
-
-prepare() {
-  cd serverless-application-model-$pkgver
-  # skip pytest-coverage
-  sed -i '/addopts/d' pytest.ini
-}
-
-build() {
-  cd serverless-application-model-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd serverless-application-model-$pkgver
-  pytest tests
-}
-
-package() {
-  cd serverless-application-model-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-aws-sam-translator/repos/community-any/PKGBUILD (from rev 761043, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-25 13:50:15 UTC (rev 761044)
@@ -0,0 +1,37 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+pkgver=1.31.0
+pkgrel=1
+pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS'
+arch=(any)
+url='https://github.com/aws/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)
+# Upstream intentionally exclude tests from sdist
+# https://github.com/aws/serverless-application-model/pull/381#issuecomment-382143094
+source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('8d234910e0b13da59466dc568c14323213f53327339b3505cb9b8cd0f9a842c0')
+
+prepare() {
+  cd serverless-application-model-$pkgver
+  # skip pytest-coverage
+  sed -i '/addopts/d' pytest.ini
+}
+
+build() {
+  cd serverless-application-model-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd serverless-application-model-$pkgver
+  pytest 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