Date: Wednesday, May 4, 2022 @ 12:43:49 Author: yan12125 Revision: 1193749
upgpkg: python-moto 3.1.7-1; switch to a future-proof way for reproducibility For the new optdepends, see https://github.com/spulec/moto/pull/5013 Modified: python-moto/trunk/PKGBUILD Deleted: python-moto/trunk/sdist-no-pyc.diff -------------------+ PKGBUILD | 15 ++++++--------- sdist-no-pyc.diff | 9 --------- 2 files changed, 6 insertions(+), 18 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-05-04 12:43:45 UTC (rev 1193748) +++ PKGBUILD 2022-05-04 12:43:49 UTC (rev 1193749) @@ -4,7 +4,7 @@ pkgname=python-moto _pkgname=moto # https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.0.6 +pkgver=3.1.7 pkgrel=1 pkgdesc='Moto is a library to mock out the boto library.' arch=(any) @@ -34,15 +34,14 @@ 'python-aws-xray-sdk: for xray' 'python-cfn-lint: for cloudformation' 'python-sshpubkeys: for ec2 and efs' + 'python-pyparsing: for glue' 'python-flask: for moto_server' 'python-flask-cors: for moto_server' ) checkdepends+=(python-yaml python-jose python-docker python-graphql-core python-jsondiff python-aws-xray-sdk - python-cfn-lint python-sshpubkeys python-flask python-flask-cors) -source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz" - sdist-no-pyc.diff) -sha256sums=('53ab3b6647382f61ad5aef8351ccba3712fa9595b7826883e4a38a4ac5c9b5a7' - '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208') + python-cfn-lint python-sshpubkeys python-pyparsing python-flask python-flask-cors) +source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz") +sha256sums=('20607a0fd0cf6530e05ffb623ca84d3f45d50bddbcec2a33705a0cf471e71289') prepare() { cd $_pkgname-$pkgver @@ -59,8 +58,6 @@ grep __future__ "%" || sed -i "1i import pytest" "%" ' - patch -Np1 -i ../sdist-no-pyc.diff - # Remove upper bounds of dependencies sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py diff -u setup.py{.orig,} || true @@ -75,7 +72,7 @@ check() { cd $_pkgname-$pkgver - TZ=UTC pytest tests -m 'not needs_docker' + PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' } package() { Deleted: sdist-no-pyc.diff =================================================================== --- sdist-no-pyc.diff 2022-05-04 12:43:45 UTC (rev 1193748) +++ sdist-no-pyc.diff 2022-05-04 12:43:49 UTC (rev 1193749) @@ -1,9 +0,0 @@ -diff --git a/MANIFEST.in b/MANIFEST.in -index 51d1b223..30ca14c0 100644 ---- a/MANIFEST.in -+++ b/MANIFEST.in -@@ -6,3 +6,4 @@ include moto/cognitoidp/resources/*.json - include moto/dynamodb2/parsing/reserved_keywords.txt - recursive-include moto/templates * - recursive-include tests * -+global-exclude *.py[cod]
