Date: Thursday, December 2, 2021 @ 21:57:06 Author: felixonmars Revision: 1062769
archrelease: copy trunk to community-staging-any Added: python-aws-sam-translator/repos/community-staging-any/PKGBUILD (from rev 1062768, python-aws-sam-translator/trunk/PKGBUILD) Deleted: python-aws-sam-translator/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-02 21:56:58 UTC (rev 1062768) +++ PKGBUILD 2021-12-02 21:57:06 UTC (rev 1062769) @@ -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=2 -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-staging-any/PKGBUILD (from rev 1062768, python-aws-sam-translator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-02 21:57:06 UTC (rev 1062769) @@ -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.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 +}