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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Sat Nov 6 02:53:04 UTC 2021


    Date: Saturday, November 6, 2021 @ 02:53:04
  Author: yan12125
Revision: 1037408

archrelease: copy trunk to community-any

Added:
  python-aws-sam-translator/repos/community-any/PKGBUILD
    (from rev 1037407, python-aws-sam-translator/trunk/PKGBUILD)
Deleted:
  python-aws-sam-translator/repos/community-any/PKGBUILD
  python-aws-sam-translator/repos/community-any/no-install-integration-tests.diff

-----------------------------------+
 PKGBUILD                          |   76 ++++++++++++++++++------------------
 no-install-integration-tests.diff |   13 ------
 2 files changed, 38 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 02:52:48 UTC (rev 1037407)
+++ PKGBUILD	2021-11-06 02:53:04 UTC (rev 1037408)
@@ -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.39.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-pytest-env 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=('266a53c67b6bb9f7c225e80c37a00b825c6fee8906b389be47ed7ecedae5f764')
-
-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 1037407, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-06 02:53:04 UTC (rev 1037408)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+# https://github.com/aws/serverless-application-model/releases
+pkgver=1.40.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-pytest-env 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=('9c7d7e67100d519dc63fbca6ee66084f9f8415dfb95f24c6fd3f797b9266b1fe')
+
+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
+}

Deleted: no-install-integration-tests.diff
===================================================================
--- no-install-integration-tests.diff	2021-11-06 02:52:48 UTC (rev 1037407)
+++ no-install-integration-tests.diff	2021-11-06 02:53:04 UTC (rev 1037408)
@@ -1,13 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 38af9df..a34a49f 100755
---- a/setup.py
-+++ b/setup.py
-@@ -58,7 +58,7 @@ setup(
-     url="https://github.com/awslabs/serverless-application-model",
-     license="Apache License 2.0",
-     # Exclude all but the code folders
--    packages=find_packages(exclude=("tests", "tests.*", "docs", "examples", "versions")),
-+    packages=find_packages(exclude=("tests", "tests.*", "integration", "integration.*", "docs", "examples", "versions")),
-     install_requires=read_requirements("base.txt"),
-     include_package_data=True,
-     extras_require={"dev": read_requirements("dev.txt")},



More information about the arch-commits mailing list