pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-moto py-moto: update to 3.0.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0610696ccda9
branches:  trunk
changeset: 373952:0610696ccda9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 15 15:32:09 2022 +0000

description:
py-moto: update to 3.0.3.

Changelog not found - five years of regular releases.

diffstat:

 net/py-moto/Makefile |    43 +-
 net/py-moto/PLIST    |  1268 ++++++++++++++++++++++++++++++++++++++++++++++++-
 net/py-moto/distinfo |     8 +-
 3 files changed, 1256 insertions(+), 63 deletions(-)

diffs (truncated from 1706 to 300 lines):

diff -r e9bfd95684d9 -r 0610696ccda9 net/py-moto/Makefile
--- a/net/py-moto/Makefile      Tue Feb 15 15:18:05 2022 +0000
+++ b/net/py-moto/Makefile      Tue Feb 15 15:32:09 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/01/14 09:37:36 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/02/15 15:32:09 wiz Exp $
 
-DISTNAME=      moto-1.1.19
+DISTNAME=      moto-3.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    net devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/moto/}
 
@@ -11,29 +10,24 @@
 COMMENT=       Mock-up of the boto library
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-boto>=2.36.0:../../net/py-boto
-DEPENDS+=      ${PYPKGPREFIX}-boto3>=1.2.1:../../net/py-boto3
-DEPENDS+=      ${PYPKGPREFIX}-cookies-[0-9]*:../../www/py-cookies
-DEPENDS+=      ${PYPKGPREFIX}-cryptography>=2.0.0:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
-DEPENDS+=      ${PYPKGPREFIX}-dicttoxml-[0-9]*:../../textproc/py-dicttoxml
-DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
-DEPENDS+=      ${PYPKGPREFIX}-jinja2>=2.8:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-DEPENDS+=      ${PYPKGPREFIX}-pyaml-[0-9]*:../../textproc/py-pyaml
-DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=      ${PYPKGPREFIX}-boto3>=1.9.201:../../net/py-boto3
+DEPENDS+=      ${PYPKGPREFIX}-botocore-[0-9]*:../../net/py-botocore
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=3.3.1:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.5:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
 DEPENDS+=      ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
-DEPENDS+=      ${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
+DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
+DEPENDS+=      ${PYPKGPREFIX}-responses>=0.9.0:../../net/py-responses
+DEPENDS+=      ${PYPKGPREFIX}-jinja2>=2.10.1:../../textproc/py-jinja2
+# unlisted but used
+DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+DEPENDS+=      ${PYPKGPREFIX}-pyaml-[0-9]*:../../textproc/py-pyaml
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+# unlisted but used
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-TEST_DEPENDS+= ${PYPKGPREFIX}-gdbm-[0-9]*:../../databases/py-gdbm
-TEST_DEPENDS+= ${PYPKGPREFIX}-lxml>=4.0.0:../../textproc/py-lxml
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-sure>=1.2.24:../../devel/py-sure
-TEST_DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
 
 USE_PKG_RESOURCES=     yes
 
@@ -41,11 +35,16 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-sure
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == "py37"
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} moto_server moto_server${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
-       #cd ${WRKSRC}/tests && nosetests-${PYVERSSUFFIX}
        cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
diff -r e9bfd95684d9 -r 0610696ccda9 net/py-moto/PLIST
--- a/net/py-moto/PLIST Tue Feb 15 15:18:05 2022 +0000
+++ b/net/py-moto/PLIST Tue Feb 15 15:32:09 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/12/20 14:13:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/02/15 15:32:09 wiz Exp $
 bin/moto_server${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -30,6 +30,18 @@
 ${PYSITELIB}/moto/apigateway/exceptions.py
 ${PYSITELIB}/moto/apigateway/exceptions.pyc
 ${PYSITELIB}/moto/apigateway/exceptions.pyo
+${PYSITELIB}/moto/apigateway/integration_parsers/__init__.py
+${PYSITELIB}/moto/apigateway/integration_parsers/__init__.pyc
+${PYSITELIB}/moto/apigateway/integration_parsers/__init__.pyo
+${PYSITELIB}/moto/apigateway/integration_parsers/aws_parser.py
+${PYSITELIB}/moto/apigateway/integration_parsers/aws_parser.pyc
+${PYSITELIB}/moto/apigateway/integration_parsers/aws_parser.pyo
+${PYSITELIB}/moto/apigateway/integration_parsers/http_parser.py
+${PYSITELIB}/moto/apigateway/integration_parsers/http_parser.pyc
+${PYSITELIB}/moto/apigateway/integration_parsers/http_parser.pyo
+${PYSITELIB}/moto/apigateway/integration_parsers/unknown_parser.py
+${PYSITELIB}/moto/apigateway/integration_parsers/unknown_parser.pyc
+${PYSITELIB}/moto/apigateway/integration_parsers/unknown_parser.pyo
 ${PYSITELIB}/moto/apigateway/models.py
 ${PYSITELIB}/moto/apigateway/models.pyc
 ${PYSITELIB}/moto/apigateway/models.pyo
@@ -42,9 +54,78 @@
 ${PYSITELIB}/moto/apigateway/utils.py
 ${PYSITELIB}/moto/apigateway/utils.pyc
 ${PYSITELIB}/moto/apigateway/utils.pyo
+${PYSITELIB}/moto/apigatewayv2/__init__.py
+${PYSITELIB}/moto/apigatewayv2/__init__.pyc
+${PYSITELIB}/moto/apigatewayv2/__init__.pyo
+${PYSITELIB}/moto/apigatewayv2/exceptions.py
+${PYSITELIB}/moto/apigatewayv2/exceptions.pyc
+${PYSITELIB}/moto/apigatewayv2/exceptions.pyo
+${PYSITELIB}/moto/apigatewayv2/models.py
+${PYSITELIB}/moto/apigatewayv2/models.pyc
+${PYSITELIB}/moto/apigatewayv2/models.pyo
+${PYSITELIB}/moto/apigatewayv2/responses.py
+${PYSITELIB}/moto/apigatewayv2/responses.pyc
+${PYSITELIB}/moto/apigatewayv2/responses.pyo
+${PYSITELIB}/moto/apigatewayv2/urls.py
+${PYSITELIB}/moto/apigatewayv2/urls.pyc
+${PYSITELIB}/moto/apigatewayv2/urls.pyo
+${PYSITELIB}/moto/applicationautoscaling/__init__.py
+${PYSITELIB}/moto/applicationautoscaling/__init__.pyc
+${PYSITELIB}/moto/applicationautoscaling/__init__.pyo
+${PYSITELIB}/moto/applicationautoscaling/exceptions.py
+${PYSITELIB}/moto/applicationautoscaling/exceptions.pyc
+${PYSITELIB}/moto/applicationautoscaling/exceptions.pyo
+${PYSITELIB}/moto/applicationautoscaling/models.py
+${PYSITELIB}/moto/applicationautoscaling/models.pyc
+${PYSITELIB}/moto/applicationautoscaling/models.pyo
+${PYSITELIB}/moto/applicationautoscaling/responses.py
+${PYSITELIB}/moto/applicationautoscaling/responses.pyc
+${PYSITELIB}/moto/applicationautoscaling/responses.pyo
+${PYSITELIB}/moto/applicationautoscaling/urls.py
+${PYSITELIB}/moto/applicationautoscaling/urls.pyc
+${PYSITELIB}/moto/applicationautoscaling/urls.pyo
+${PYSITELIB}/moto/applicationautoscaling/utils.py
+${PYSITELIB}/moto/applicationautoscaling/utils.pyc
+${PYSITELIB}/moto/applicationautoscaling/utils.pyo
+${PYSITELIB}/moto/appsync/__init__.py
+${PYSITELIB}/moto/appsync/__init__.pyc
+${PYSITELIB}/moto/appsync/__init__.pyo
+${PYSITELIB}/moto/appsync/exceptions.py
+${PYSITELIB}/moto/appsync/exceptions.pyc
+${PYSITELIB}/moto/appsync/exceptions.pyo
+${PYSITELIB}/moto/appsync/models.py
+${PYSITELIB}/moto/appsync/models.pyc
+${PYSITELIB}/moto/appsync/models.pyo
+${PYSITELIB}/moto/appsync/responses.py
+${PYSITELIB}/moto/appsync/responses.pyc
+${PYSITELIB}/moto/appsync/responses.pyo
+${PYSITELIB}/moto/appsync/urls.py
+${PYSITELIB}/moto/appsync/urls.pyc
+${PYSITELIB}/moto/appsync/urls.pyo
+${PYSITELIB}/moto/athena/__init__.py
+${PYSITELIB}/moto/athena/__init__.pyc
+${PYSITELIB}/moto/athena/__init__.pyo
+${PYSITELIB}/moto/athena/exceptions.py
+${PYSITELIB}/moto/athena/exceptions.pyc
+${PYSITELIB}/moto/athena/exceptions.pyo
+${PYSITELIB}/moto/athena/models.py
+${PYSITELIB}/moto/athena/models.pyc
+${PYSITELIB}/moto/athena/models.pyo
+${PYSITELIB}/moto/athena/responses.py
+${PYSITELIB}/moto/athena/responses.pyc
+${PYSITELIB}/moto/athena/responses.pyo
+${PYSITELIB}/moto/athena/urls.py
+${PYSITELIB}/moto/athena/urls.pyc
+${PYSITELIB}/moto/athena/urls.pyo
+${PYSITELIB}/moto/athena/utils.py
+${PYSITELIB}/moto/athena/utils.pyc
+${PYSITELIB}/moto/athena/utils.pyo
 ${PYSITELIB}/moto/autoscaling/__init__.py
 ${PYSITELIB}/moto/autoscaling/__init__.pyc
 ${PYSITELIB}/moto/autoscaling/__init__.pyo
+${PYSITELIB}/moto/autoscaling/exceptions.py
+${PYSITELIB}/moto/autoscaling/exceptions.pyc
+${PYSITELIB}/moto/autoscaling/exceptions.pyo
 ${PYSITELIB}/moto/autoscaling/models.py
 ${PYSITELIB}/moto/autoscaling/models.pyc
 ${PYSITELIB}/moto/autoscaling/models.pyo
@@ -57,21 +138,69 @@
 ${PYSITELIB}/moto/awslambda/__init__.py
 ${PYSITELIB}/moto/awslambda/__init__.pyc
 ${PYSITELIB}/moto/awslambda/__init__.pyo
+${PYSITELIB}/moto/awslambda/exceptions.py
+${PYSITELIB}/moto/awslambda/exceptions.pyc
+${PYSITELIB}/moto/awslambda/exceptions.pyo
 ${PYSITELIB}/moto/awslambda/models.py
 ${PYSITELIB}/moto/awslambda/models.pyc
 ${PYSITELIB}/moto/awslambda/models.pyo
+${PYSITELIB}/moto/awslambda/policy.py
+${PYSITELIB}/moto/awslambda/policy.pyc
+${PYSITELIB}/moto/awslambda/policy.pyo
 ${PYSITELIB}/moto/awslambda/responses.py
 ${PYSITELIB}/moto/awslambda/responses.pyc
 ${PYSITELIB}/moto/awslambda/responses.pyo
 ${PYSITELIB}/moto/awslambda/urls.py
 ${PYSITELIB}/moto/awslambda/urls.pyc
 ${PYSITELIB}/moto/awslambda/urls.pyo
+${PYSITELIB}/moto/awslambda/utils.py
+${PYSITELIB}/moto/awslambda/utils.pyc
+${PYSITELIB}/moto/awslambda/utils.pyo
+${PYSITELIB}/moto/backend_index.py
+${PYSITELIB}/moto/backend_index.pyc
+${PYSITELIB}/moto/backend_index.pyo
 ${PYSITELIB}/moto/backends.py
 ${PYSITELIB}/moto/backends.pyc
 ${PYSITELIB}/moto/backends.pyo
+${PYSITELIB}/moto/batch/__init__.py
+${PYSITELIB}/moto/batch/__init__.pyc
+${PYSITELIB}/moto/batch/__init__.pyo
+${PYSITELIB}/moto/batch/exceptions.py
+${PYSITELIB}/moto/batch/exceptions.pyc
+${PYSITELIB}/moto/batch/exceptions.pyo
+${PYSITELIB}/moto/batch/models.py
+${PYSITELIB}/moto/batch/models.pyc
+${PYSITELIB}/moto/batch/models.pyo
+${PYSITELIB}/moto/batch/responses.py
+${PYSITELIB}/moto/batch/responses.pyc
+${PYSITELIB}/moto/batch/responses.pyo
+${PYSITELIB}/moto/batch/urls.py
+${PYSITELIB}/moto/batch/urls.pyc
+${PYSITELIB}/moto/batch/urls.pyo
+${PYSITELIB}/moto/batch/utils.py
+${PYSITELIB}/moto/batch/utils.pyc
+${PYSITELIB}/moto/batch/utils.pyo
+${PYSITELIB}/moto/budgets/__init__.py
+${PYSITELIB}/moto/budgets/__init__.pyc
+${PYSITELIB}/moto/budgets/__init__.pyo
+${PYSITELIB}/moto/budgets/exceptions.py
+${PYSITELIB}/moto/budgets/exceptions.pyc
+${PYSITELIB}/moto/budgets/exceptions.pyo
+${PYSITELIB}/moto/budgets/models.py
+${PYSITELIB}/moto/budgets/models.pyc
+${PYSITELIB}/moto/budgets/models.pyo
+${PYSITELIB}/moto/budgets/responses.py
+${PYSITELIB}/moto/budgets/responses.pyc
+${PYSITELIB}/moto/budgets/responses.pyo
+${PYSITELIB}/moto/budgets/urls.py
+${PYSITELIB}/moto/budgets/urls.pyc
+${PYSITELIB}/moto/budgets/urls.pyo
 ${PYSITELIB}/moto/cloudformation/__init__.py
 ${PYSITELIB}/moto/cloudformation/__init__.pyc
 ${PYSITELIB}/moto/cloudformation/__init__.pyo
+${PYSITELIB}/moto/cloudformation/custom_model.py
+${PYSITELIB}/moto/cloudformation/custom_model.pyc
+${PYSITELIB}/moto/cloudformation/custom_model.pyo
 ${PYSITELIB}/moto/cloudformation/exceptions.py
 ${PYSITELIB}/moto/cloudformation/exceptions.pyc
 ${PYSITELIB}/moto/cloudformation/exceptions.pyo
@@ -90,9 +219,42 @@
 ${PYSITELIB}/moto/cloudformation/utils.py
 ${PYSITELIB}/moto/cloudformation/utils.pyc
 ${PYSITELIB}/moto/cloudformation/utils.pyo
+${PYSITELIB}/moto/cloudfront/__init__.py
+${PYSITELIB}/moto/cloudfront/__init__.pyc
+${PYSITELIB}/moto/cloudfront/__init__.pyo
+${PYSITELIB}/moto/cloudfront/exceptions.py
+${PYSITELIB}/moto/cloudfront/exceptions.pyc
+${PYSITELIB}/moto/cloudfront/exceptions.pyo
+${PYSITELIB}/moto/cloudfront/models.py
+${PYSITELIB}/moto/cloudfront/models.pyc
+${PYSITELIB}/moto/cloudfront/models.pyo
+${PYSITELIB}/moto/cloudfront/responses.py
+${PYSITELIB}/moto/cloudfront/responses.pyc
+${PYSITELIB}/moto/cloudfront/responses.pyo
+${PYSITELIB}/moto/cloudfront/urls.py
+${PYSITELIB}/moto/cloudfront/urls.pyc
+${PYSITELIB}/moto/cloudfront/urls.pyo
+${PYSITELIB}/moto/cloudtrail/__init__.py
+${PYSITELIB}/moto/cloudtrail/__init__.pyc
+${PYSITELIB}/moto/cloudtrail/__init__.pyo
+${PYSITELIB}/moto/cloudtrail/exceptions.py
+${PYSITELIB}/moto/cloudtrail/exceptions.pyc
+${PYSITELIB}/moto/cloudtrail/exceptions.pyo
+${PYSITELIB}/moto/cloudtrail/models.py
+${PYSITELIB}/moto/cloudtrail/models.pyc
+${PYSITELIB}/moto/cloudtrail/models.pyo
+${PYSITELIB}/moto/cloudtrail/responses.py
+${PYSITELIB}/moto/cloudtrail/responses.pyc
+${PYSITELIB}/moto/cloudtrail/responses.pyo
+${PYSITELIB}/moto/cloudtrail/urls.py
+${PYSITELIB}/moto/cloudtrail/urls.pyc
+${PYSITELIB}/moto/cloudtrail/urls.pyo
 ${PYSITELIB}/moto/cloudwatch/__init__.py
 ${PYSITELIB}/moto/cloudwatch/__init__.pyc
 ${PYSITELIB}/moto/cloudwatch/__init__.pyo
+${PYSITELIB}/moto/cloudwatch/exceptions.py
+${PYSITELIB}/moto/cloudwatch/exceptions.pyc
+${PYSITELIB}/moto/cloudwatch/exceptions.pyo
 ${PYSITELIB}/moto/cloudwatch/models.py
 ${PYSITELIB}/moto/cloudwatch/models.pyc
 ${PYSITELIB}/moto/cloudwatch/models.pyo
@@ -105,12 +267,96 @@
 ${PYSITELIB}/moto/cloudwatch/utils.py
 ${PYSITELIB}/moto/cloudwatch/utils.pyc
 ${PYSITELIB}/moto/cloudwatch/utils.pyo
-${PYSITELIB}/moto/compat.py



Home | Main Index | Thread Index | Old Index