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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Tue Aug 9 10:37:07 UTC 2022


    Date: Tuesday, August 9, 2022 @ 10:37:06
  Author: yan12125
Revision: 1263513

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 10:36:51 UTC (rev 1263512)
+++ PKGBUILD	2022-08-09 10:37:06 UTC (rev 1263513)
@@ -1,39 +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.48.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=('dd496ed1bc830cf06b2592e061e2f4f93a79b14fd11fabac28c2a1678272e303')
-
-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 1263512, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-09 10:37:06 UTC (rev 1263513)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+# https://github.com/aws/serverless-application-model/releases
+pkgver=1.49.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"
+        "$pkgname-jsonschema-4.patch"::"https://github.com/aws/serverless-application-model/pull/2441.patch")
+sha256sums=('94058cc53765d59976c3a1e0afcba72912903e95926cfc0a34400109399d2069'
+            '7bba093258d9d7768112463f9a6fbe63bb78e060081d9585637582caf0da1d20')
+
+prepare() {
+  cd serverless-application-model-$pkgver
+  # skip pytest-coverage
+  sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini
+  patch -Np1 -i ../$pkgname-jsonschema-4.patch
+}
+
+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