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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Mon Jun 27 11:16:15 UTC 2022


    Date: Monday, June 27, 2022 @ 11:16:15
  Author: yan12125
Revision: 1239669

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 11:15:58 UTC (rev 1239668)
+++ PKGBUILD	2022-06-27 11:16:15 UTC (rev 1239669)
@@ -1,38 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-aws-sam-translator
-# https://github.com/aws/serverless-application-model/releases
-pkgver=1.45.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)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-pytest-env python-yaml 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=('2e778752f6a277b3adcccd59a7456a258181bad41d7613e9a79a36649e0dc6e5')
-
-prepare() {
-  cd serverless-application-model-$pkgver
-  # skip pytest-coverage
-  sed -i -r 's#--cov\S*\s+\S+##g' 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 1239668, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-27 11:16:15 UTC (rev 1239669)
@@ -0,0 +1,39 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+# https://github.com/aws/serverless-application-model/releases
+pkgver=1.46.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)
+makedepends=(python-setuptools)
+# python-yaml is needed by samtranslator.yaml_helper, while the latter is used in tests only
+checkdepends=(python-pytest python-pytest-env python-yaml 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=('b90cc87d0c4a6ecd52e5b324791338e31753063b573627b03425b8865bb395e0')
+
+prepare() {
+  cd serverless-application-model-$pkgver
+  # skip pytest-coverage
+  sed -i -r 's#--cov\S*\s+\S+##g' 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