Date: Thursday, April 28, 2022 @ 23:55:04 Author: yan12125 Revision: 1191722
archrelease: copy trunk to community-any Added: python-aws-sam-translator/repos/community-any/PKGBUILD (from rev 1191721, python-aws-sam-translator/trunk/PKGBUILD) Deleted: python-aws-sam-translator/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-28 23:54:48 UTC (rev 1191721) +++ PKGBUILD 2022-04-28 23:55:04 UTC (rev 1191722) @@ -1,38 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-aws-sam-translator -# https://github.com/aws/serverless-application-model/releases -pkgver=1.42.0 -pkgrel=3 -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=('85c8950dd23f2db86ef8f1974e1d426baafc296670d268ee84b6c74a699ebb78') - -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 1191721, python-aws-sam-translator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-28 23:55:04 UTC (rev 1191722) @@ -0,0 +1,38 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-aws-sam-translator +# https://github.com/aws/serverless-application-model/releases +pkgver=1.45.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) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pytest-env python-yaml 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=('2e778752f6a277b3adcccd59a7456a258181bad41d7613e9a79a36649e0dc6e5') + +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 +}