Date: Thursday, October 29, 2020 @ 06:25:23 Author: yan12125 Revision: 736463
upgpkg: python-aws-sam-translator 1.28.1-1; update URLs; better approach for avoiding pytest-coverage Modified: python-aws-sam-translator/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-10-29 01:56:22 UTC (rev 736462) +++ PKGBUILD 2020-10-29 06:25:23 UTC (rev 736463) @@ -1,18 +1,24 @@ # Maintainer: Chih-Hsuan Yen <[email protected]> pkgname=python-aws-sam-translator -pkgver=1.27.0 +pkgver=1.28.1 pkgrel=1 pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS' arch=(any) -url='https://github.com/awslabs/serverless-application-model' +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-yaml python-mock python-parameterized) -source=("https://github.com/awslabs/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('e8e482a6a68e00aa449115c317dcad7ed5b24113cbba952b33f89a52dc7b73d2') +source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('f0a10e3464252344db253ce5f8f18d00789d5bbffbeb97793136da72e727dd7c') +prepare() { + cd serverless-application-model-$pkgver + # skip pytest-coverage + sed -i '/addopts/d' pytest.ini +} + build() { cd serverless-application-model-$pkgver python setup.py build @@ -20,8 +26,7 @@ check() { cd serverless-application-model-$pkgver - # disable upstream pytest.ini, which involves coverage - pytest -c /dev/null tests + pytest tests } package() {
