[arch-commits] Commit in python-aws-sam-translator/trunk (2 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sun Mar 14 08:59:17 UTC 2021
Date: Sunday, March 14, 2021 @ 08:59:17
Author: yan12125
Revision: 891014
upgpkg: python-aws-sam-translator 1.35.0-1
Added:
python-aws-sam-translator/trunk/no-install-integration-tests.diff
Modified:
python-aws-sam-translator/trunk/PKGBUILD
-----------------------------------+
PKGBUILD | 10 +++++++---
no-install-integration-tests.diff | 13 +++++++++++++
2 files changed, 20 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-14 08:54:37 UTC (rev 891013)
+++ PKGBUILD 2021-03-14 08:59:17 UTC (rev 891014)
@@ -1,7 +1,7 @@
# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
pkgname=python-aws-sam-translator
-pkgver=1.34.0
+pkgver=1.35.0
pkgrel=1
pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS'
arch=(any)
@@ -12,13 +12,17 @@
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=('ea9128cdbe7e06cf3983f3516a768d85ccd522f27c0b4ad34475d1cbb0c60267')
+source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+ "no-install-integration-tests.diff")
+sha256sums=('07515a95a46542615cd48d1d7efcfaa88c7b86714b3d3efdf98cb3934a96fb5b'
+ '44545f773c5b8ea750f2aa03a1fb12bfe289bacd0f7c1da0b7e47fd53d8b0c18')
prepare() {
cd serverless-application-model-$pkgver
# skip pytest-coverage
sed -i '/addopts/d' pytest.ini
+
+ patch -Np1 -i ../no-install-integration-tests.diff
}
build() {
Added: no-install-integration-tests.diff
===================================================================
--- no-install-integration-tests.diff (rev 0)
+++ no-install-integration-tests.diff 2021-03-14 08:59:17 UTC (rev 891014)
@@ -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