[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, August 25, 2022 @ 15:09:32 Author: yan12125 Revision: 1278650 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1278649, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-08-25 15:04:43 UTC (rev 1278649) +++ PKGBUILD2022-08-25 15:09:32 UTC (rev 1278650) @@ -1,84 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=4.0.0 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway, cloudformation and cognitoidp' - 'python-openapi-spec-validator: for apigateway and cloudformation' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync and cloudformation' - 'python-jsondiff: for iotdata and cloudformation' - 'python-aws-xray-sdk: for xray and cloudformation' - 'python-cfn-lint: for cloudformation' - 'python-sshpubkeys: for ec2, ebs, efs, directoryservice and cloudformation' - 'python-pyparsing: for glue and cloudformation' - 'python-flask: for moto_server' - 'python-flask-cors: for moto_server' -) -checkdepends+=(python-yaml python-jose python-openapi-spec-validator python-docker - python-graphql-core python-jsondiff python-aws-xray-sdk - 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=('742567fa300b9d51cf63f7b1d0524c70b975e85c6a50e3d94346a6984c19d6e0') - -prepare() { - cd $_pkgname-$pkgver - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1278649, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-08-25 15:09:32 UTC (rev 1278650) @@ -0,0 +1,84 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=4.0.1 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in
[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, August 14, 2022 @ 07:19:31 Author: yan12125 Revision: 1266024 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1266023, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-08-14 07:19:17 UTC (rev 1266023) +++ PKGBUILD2022-08-14 07:19:31 UTC (rev 1266024) @@ -1,84 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.1.17 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway, cloudformation and cognitoidp' - 'python-openapi-spec-validator: for apigateway and cloudformation' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync and cloudformation' - 'python-jsondiff: for iotdata and cloudformation' - 'python-aws-xray-sdk: for xray and cloudformation' - 'python-cfn-lint: for cloudformation' - 'python-sshpubkeys: for ec2, ebs, efs, directoryservice and cloudformation' - 'python-pyparsing: for glue and cloudformation' - 'python-flask: for moto_server' - 'python-flask-cors: for moto_server' -) -checkdepends+=(python-yaml python-jose python-openapi-spec-validator python-docker - python-graphql-core python-jsondiff python-aws-xray-sdk - 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=('f2e5b32e8910c51c0b0de5b73f902bc53e06fb1c1d077d2b848d27e0b0cbe65e') - -prepare() { - cd $_pkgname-$pkgver - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1266023, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-08-14 07:19:31 UTC (rev 1266024) @@ -0,0 +1,84 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=3.1.18 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in
[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, August 8, 2022 @ 06:28:31 Author: yan12125 Revision: 1260601 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1260600, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-08-08 06:28:12 UTC (rev 1260600) +++ PKGBUILD2022-08-08 06:28:31 UTC (rev 1260601) @@ -1,84 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.1.16 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway, cloudformation and cognitoidp' - 'python-openapi-spec-validator: for apigateway and cloudformation' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync and cloudformation' - 'python-jsondiff: for iotdata and cloudformation' - 'python-aws-xray-sdk: for xray and cloudformation' - 'python-cfn-lint: for cloudformation' - 'python-sshpubkeys: for ec2, ebs, efs, directoryservice and cloudformation' - 'python-pyparsing: for glue and cloudformation' - 'python-flask: for moto_server' - 'python-flask-cors: for moto_server' -) -checkdepends+=(python-yaml python-jose python-openapi-spec-validator python-docker - python-graphql-core python-jsondiff python-aws-xray-sdk - 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=('cbe8ad8a949f519771e5d25b670738604757fb67cd474d75d14c20677582e81f') - -prepare() { - cd $_pkgname-$pkgver - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1260600, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-08-08 06:28:31 UTC (rev 1260601) @@ -0,0 +1,84 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=3.1.17 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in
[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, July 2, 2022 @ 09:56:15 Author: yan12125 Revision: 1243615 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1243614, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-07-02 09:56:01 UTC (rev 1243614) +++ PKGBUILD2022-07-02 09:56:15 UTC (rev 1243615) @@ -1,84 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.1.15 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway, cloudformation and cognitoidp' - 'python-openapi-spec-validator: for apigateway and cloudformation' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync and cloudformation' - 'python-jsondiff: for iotdata and cloudformation' - 'python-aws-xray-sdk: for xray and cloudformation' - 'python-cfn-lint: for cloudformation' - 'python-sshpubkeys: for ec2, ebs, efs, directoryservice and cloudformation' - 'python-pyparsing: for glue and cloudformation' - 'python-flask: for moto_server' - 'python-flask-cors: for moto_server' -) -checkdepends+=(python-yaml python-jose python-openapi-spec-validator python-docker - python-graphql-core python-jsondiff python-aws-xray-sdk - 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=('4c82eae1e6a0e7ea1244117e5e4311deb5c48ae089eff74689a024f3d3973719') - -prepare() { - cd $_pkgname-$pkgver - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1243614, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-07-02 09:56:15 UTC (rev 1243615) @@ -0,0 +1,84 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=3.1.16 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in
[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, June 27, 2022 @ 11:41:22 Author: yan12125 Revision: 1239675 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1239674, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 168 ++--- 1 file changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-06-27 11:41:08 UTC (rev 1239674) +++ PKGBUILD2022-06-27 11:41:22 UTC (rev 1239675) @@ -1,84 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.1.12 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway, cloudformation and cognitoidp' - 'python-openapi-spec-validator: for apigateway and cloudformation' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync and cloudformation' - 'python-jsondiff: for iotdata and cloudformation' - 'python-aws-xray-sdk: for xray and cloudformation' - 'python-cfn-lint: for cloudformation' - 'python-sshpubkeys: for ec2, ebs, efs, directoryservice and cloudformation' - 'python-pyparsing: for glue and cloudformation' - 'python-flask: for moto_server' - 'python-flask-cors: for moto_server' -) -checkdepends+=(python-yaml python-jose python-openapi-spec-validator python-docker - python-graphql-core python-jsondiff python-aws-xray-sdk - 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=('c6f407715b7babd1ff7796576ba8d873870d9fe6aa4d32664554a6116cc55afb') - -prepare() { - cd $_pkgname-$pkgver - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1239674, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-06-27 11:41:22 UTC (rev 1239675) @@ -0,0 +1,84 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=3.1.15 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in
[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, June 7, 2022 @ 04:30:14 Author: yan12125 Revision: 1227170 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1227169, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 166 ++--- 1 file changed, 84 insertions(+), 82 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-06-07 04:30:00 UTC (rev 1227169) +++ PKGBUILD2022-06-07 04:30:14 UTC (rev 1227170) @@ -1,82 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.1.8 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway and cognitoidp' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync' - 'python-jsondiff: for iotdata' - '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-pyparsing python-flask python-flask-cors) -source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;) -sha256sums=('bde95005ec42a88448a98809397030f9e886387f469dcd2fcbc7f38d75858872') - -prepare() { - cd $_pkgname-$pkgver - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1227169, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-06-07 04:30:14 UTC (rev 1227170) @@ -0,0 +1,84 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=3.1.12 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. +# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. +# [1] https://github.com/spulec/moto/pull/4142 +depends=(python-boto3 python-botocore python-cryptography python-requests
[arch-commits] Commit in python-moto/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, May 7, 2022 @ 04:32:01 Author: yan12125 Revision: 1196118 archrelease: copy trunk to community-any Added: python-moto/repos/community-any/PKGBUILD (from rev 1196117, python-moto/trunk/PKGBUILD) Deleted: python-moto/repos/community-any/PKGBUILD --+ PKGBUILD | 164 ++--- 1 file changed, 82 insertions(+), 82 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-07 04:31:45 UTC (rev 1196117) +++ PKGBUILD2022-05-07 04:32:01 UTC (rev 1196118) @@ -1,82 +0,0 @@ -# Maintainer: Chih-Hsuan Yen -# Contributor: Guillaume Horel - -pkgname=python-moto -_pkgname=moto -# https://github.com/spulec/moto/blob/master/CHANGELOG.md -pkgver=3.1.7 -pkgrel=1 -pkgdesc='Moto is a library to mock out the boto library.' -arch=(any) -url='https://github.com/spulec/moto' -license=(Apache) -# NOTE: Keep the order of dependencies matching setup.py -# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. -# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. -# [1] https://github.com/spulec/moto/pull/4142 -depends=(python-boto3 python-botocore python-cryptography python-requests python-xmltodict - python-werkzeug python-pytz python-dateutil python-responses - # Below dependencies varied with Python versions - python-jinja python-more-itertools) -# See reqquirements-test.txt, excluding pytest-cov -checkdepends=(python-pytest python-sure python-freezegun) -# Below are optional dependencies. The order matches _dep_* items in upstream `setup.py`. -# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are pins and -# not used by moto. -optdepends=( - 'python-yaml: for apigatewayv2, cloudformation, s3 and ssm' - 'python-jose: for apigateway and cognitoidp' - # SNS and SQS still uses docker indirectly, while upstream explicitly removes them - # https://github.com/spulec/moto/pull/4094 - 'python-docker: for awslambda, batch, cloudformation, dynamodb2 and dynamodbstreams' - 'python-graphql-core: For appsync' - 'python-jsondiff: for iotdata' - '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-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 - - # AWS Lambda and Batch tests require docker/podman, while running docker/podman - # in systemd-nspawn containers appears impossible without special configurations - - # disable them altogether - sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require docker' setup.cfg - find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 bash -c ' -sed -i -E "%" \ - -e "/__future__/a import pytest" \ - -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \ - -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/" -grep __future__ "%" || sed -i "1i import pytest" "%" - ' - - # 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 -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker' -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-moto/repos/community-any/PKGBUILD (from rev 1196117, python-moto/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-07 04:32:01 UTC (rev 1196118) @@ -0,0 +1,82 @@ +# Maintainer: Chih-Hsuan Yen +# Contributor: Guillaume Horel + +pkgname=python-moto +_pkgname=moto +# https://github.com/spulec/moto/blob/master/CHANGELOG.md +pkgver=3.1.8 +pkgrel=1 +pkgdesc='Moto is a library to mock out the boto library.' +arch=(any) +url='https://github.com/spulec/moto' +license=(Apache) +# NOTE: Keep the order of dependencies matching setup.py +# setup.py includes setuptools, which is a work around for missing dependencies in aws-xray-sdk [1]. +# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is not needed here. +# [1] https://github.com/spulec/moto/pull/4142 +depends=(python-boto3 python-botocore python-cryptography python-requests