Date: Tuesday, August 9, 2022 @ 10:36:51 Author: yan12125 Revision: 1263512
upgpkg: python-aws-sam-translator 1.49.0-1; add a not-yet-merged patch for jsonschema 4.x See: https://github.com/aws/serverless-application-model/pull/2441 Modified: python-aws-sam-translator/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-09 10:02:34 UTC (rev 1263511) +++ PKGBUILD 2022-08-09 10:36:51 UTC (rev 1263512) @@ -2,7 +2,7 @@ pkgname=python-aws-sam-translator # https://github.com/aws/serverless-application-model/releases -pkgver=1.48.0 +pkgver=1.49.0 pkgrel=1 pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS' arch=(any) @@ -14,13 +14,16 @@ 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=('dd496ed1bc830cf06b2592e061e2f4f93a79b14fd11fabac28c2a1678272e303') +source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz" + "$pkgname-jsonschema-4.patch"::"https://github.com/aws/serverless-application-model/pull/2441.patch") +sha256sums=('94058cc53765d59976c3a1e0afcba72912903e95926cfc0a34400109399d2069' + '7bba093258d9d7768112463f9a6fbe63bb78e060081d9585637582caf0da1d20') prepare() { cd serverless-application-model-$pkgver # skip pytest-coverage sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini + patch -Np1 -i ../$pkgname-jsonschema-4.patch } build() {