[arch-commits] Commit in python-aws-sam-translator/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jul 9 12:54:59 UTC 2021


    Date: Friday, July 9, 2021 @ 12:54:59
  Author: yan12125
Revision: 976208

upgpkg: python-aws-sam-translator 1.37.0-1; use pytest-env; strip only coverage options from pytest.ini

Modified:
  python-aws-sam-translator/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-09 12:46:58 UTC (rev 976207)
+++ PKGBUILD	2021-07-09 12:54:59 UTC (rev 976208)
@@ -1,7 +1,7 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=python-aws-sam-translator
-pkgver=1.36.0
+pkgver=1.37.0
 pkgrel=1
 pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS'
 arch=(any)
@@ -9,18 +9,18 @@
 license=(Apache)
 depends=(python python-boto3 python-jsonschema python-six)
 makedepends=(python-setuptools)
-checkdepends=(python-pytest python-yaml python-mock python-parameterized)
+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=('8922e45d2823086b700e89bd2905eab236a7a1f2f845d0e68d59f23001fcafc1'
+sha256sums=('9033e2b428422a91241ac32b961e9144fcd5390e9215ab12e5f03c8f3177c9e8'
             '44545f773c5b8ea750f2aa03a1fb12bfe289bacd0f7c1da0b7e47fd53d8b0c18')
 
 prepare() {
   cd serverless-application-model-$pkgver
   # skip pytest-coverage
-  sed -i '/addopts/d' pytest.ini
+  sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini
 
   patch -Np1 -i ../no-install-integration-tests.diff
 }




More information about the arch-commits mailing list