[arch-commits] Commit in python-aws-sam-translator/repos/community-any (4 files)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Fri Jul 23 07:26:02 UTC 2021
Date: Friday, July 23, 2021 @ 07:26:02
Author: yan12125
Revision: 984146
archrelease: copy trunk to community-any
Added:
python-aws-sam-translator/repos/community-any/PKGBUILD
(from rev 984145, python-aws-sam-translator/trunk/PKGBUILD)
python-aws-sam-translator/repos/community-any/no-install-integration-tests.diff
(from rev 984145, python-aws-sam-translator/trunk/no-install-integration-tests.diff)
Deleted:
python-aws-sam-translator/repos/community-any/PKGBUILD
python-aws-sam-translator/repos/community-any/no-install-integration-tests.diff
-----------------------------------+
PKGBUILD | 86 ++++++++++++++++++------------------
no-install-integration-tests.diff | 26 +++++-----
2 files changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-23 07:25:48 UTC (rev 984145)
+++ PKGBUILD 2021-07-23 07:26:02 UTC (rev 984146)
@@ -1,43 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-aws-sam-translator
-pkgver=1.37.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"
- "no-install-integration-tests.diff")
-sha256sums=('9033e2b428422a91241ac32b961e9144fcd5390e9215ab12e5f03c8f3177c9e8'
- '44545f773c5b8ea750f2aa03a1fb12bfe289bacd0f7c1da0b7e47fd53d8b0c18')
-
-prepare() {
- cd serverless-application-model-$pkgver
- # skip pytest-coverage
- sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini
-
- patch -Np1 -i ../no-install-integration-tests.diff
-}
-
-build() {
- cd serverless-application-model-$pkgver
- python setup.py build
-}
-
-check() {
- cd serverless-application-model-$pkgver
- pytest tests
-}
-
-package() {
- cd serverless-application-model-$pkgver
- # Work around https://bugs.python.org/issue34033
- export PYTHONHASHSEED=0
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-aws-sam-translator/repos/community-any/PKGBUILD (from rev 984145, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-23 07:26:02 UTC (rev 984146)
@@ -0,0 +1,43 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+pkgver=1.38.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"
+ "no-install-integration-tests.diff")
+sha256sums=('2a6143508add87bca072b119f63c95c8a03bbbe5b06d7b9b34050519702ba7f7'
+ '44545f773c5b8ea750f2aa03a1fb12bfe289bacd0f7c1da0b7e47fd53d8b0c18')
+
+prepare() {
+ cd serverless-application-model-$pkgver
+ # skip pytest-coverage
+ sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini
+
+ patch -Np1 -i ../no-install-integration-tests.diff
+}
+
+build() {
+ cd serverless-application-model-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd serverless-application-model-$pkgver
+ pytest tests
+}
+
+package() {
+ cd serverless-application-model-$pkgver
+ # Work around https://bugs.python.org/issue34033
+ export PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
Deleted: no-install-integration-tests.diff
===================================================================
--- no-install-integration-tests.diff 2021-07-23 07:25:48 UTC (rev 984145)
+++ no-install-integration-tests.diff 2021-07-23 07:26:02 UTC (rev 984146)
@@ -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")},
Copied: python-aws-sam-translator/repos/community-any/no-install-integration-tests.diff (from rev 984145, python-aws-sam-translator/trunk/no-install-integration-tests.diff)
===================================================================
--- no-install-integration-tests.diff (rev 0)
+++ no-install-integration-tests.diff 2021-07-23 07:26:02 UTC (rev 984146)
@@ -0,0 +1,13 @@
+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