pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-moto



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Dec 20 14:13:56 UTC 2017

Modified Files:
        pkgsrc/net/py-moto: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/py-moto: ALTERNATIVES

Log Message:
py-moto: updated to 1.1.19

Note: versions >= 1.1.20 require py-docker

1.1.19
* Fixing regression from 1.1.15

1.1.15
* Polly implementation
* Added EC2 instance info
* SNS publish by phone number

1.1.14
* ACM implementation
* Added `make scaffold`
* X-Ray implementation

1.1.13
* Created alpine-based Dockerfile (dockerhub: motoserver/moto)
* SNS.SetSMSAttributes & SNS.GetSMSAttributes + Filtering
* S3 ACL implementation
* pushing to Dockerhub on `make publish`

1.1.12
* implemented all AWS managed policies in source
* fixing Dynamodb CapacityUnits format
* S3 ACL implementation

1.1.11
* S3 authentication
* SSM get_parameter
* ELBv2 target group tagging
* EC2 Security group filters


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-moto/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-moto/Makefile pkgsrc/net/py-moto/PLIST \
    pkgsrc/net/py-moto/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-moto/Makefile
diff -u pkgsrc/net/py-moto/Makefile:1.1 pkgsrc/net/py-moto/Makefile:1.2
--- pkgsrc/net/py-moto/Makefile:1.1     Fri Sep 29 21:31:20 2017
+++ pkgsrc/net/py-moto/Makefile Wed Dec 20 14:13:56 2017
@@ -1,34 +1,44 @@
-# $NetBSD: Makefile,v 1.1 2017/09/29 21:31:20 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2017/12/20 14:13:56 adam Exp $
 
-DISTNAME=      moto-1.1.10
+DISTNAME=      moto-1.1.19
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    net python devel
+CATEGORIES=    net devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/moto/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/spulec/moto
 COMMENT=       Mock-up of the boto library
-LICENSE=       mit
+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}-requests>=2.5:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
+DEPENDS+=      ${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
 
-# Tests
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-gdbm-[0-9]*:../../databases/py-gdbm
+# TEST_DEPENDS
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-sure-[0-9]*:../../devel/py-sure
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-dicttoxml-[0-9]*:../../textproc/py-dicttoxml
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-pyaml-[0-9]*:../../textproc/py-pyaml
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-cookies-[0-9]*:../../www/py-cookies
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-gdbm-[0-9]*:../../databases/py-gdbm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-lxml>=4.0.0:../../textproc/py-lxml
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-sure>=1.2.24:../../devel/py-sure
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} moto_server moto_server${PYVERSSUFFIX} || ${TRUE}
+
 do-test:
-       # Bad test case in version 1.1.10
-       rm -f ${WRKSRC}/tests/test_cloudformation/test_server.py
-       set -e; for t in ${WRKSRC}/tests/test*; do cd $$t; \
-           PYTHONPATH=${WRKSRC} py.test-${PYVERSSUFFIX}; \
-       done
+       cd ${WRKSRC}/tests && nosetests-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-moto/PLIST
diff -u pkgsrc/net/py-moto/PLIST:1.1 pkgsrc/net/py-moto/PLIST:1.2
--- pkgsrc/net/py-moto/PLIST:1.1        Fri Sep 29 21:31:20 2017
+++ pkgsrc/net/py-moto/PLIST    Wed Dec 20 14:13:56 2017
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/29 21:31:20 joerg Exp $
-bin/moto_server
+@comment $NetBSD: PLIST,v 1.2 2017/12/20 14:13:56 adam Exp $
+bin/moto_server${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,6 +9,21 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/moto/__init__.py
 ${PYSITELIB}/moto/__init__.pyc
 ${PYSITELIB}/moto/__init__.pyo
+${PYSITELIB}/moto/acm/__init__.py
+${PYSITELIB}/moto/acm/__init__.pyc
+${PYSITELIB}/moto/acm/__init__.pyo
+${PYSITELIB}/moto/acm/models.py
+${PYSITELIB}/moto/acm/models.pyc
+${PYSITELIB}/moto/acm/models.pyo
+${PYSITELIB}/moto/acm/responses.py
+${PYSITELIB}/moto/acm/responses.pyc
+${PYSITELIB}/moto/acm/responses.pyo
+${PYSITELIB}/moto/acm/urls.py
+${PYSITELIB}/moto/acm/urls.pyc
+${PYSITELIB}/moto/acm/urls.pyo
+${PYSITELIB}/moto/acm/utils.py
+${PYSITELIB}/moto/acm/utils.pyc
+${PYSITELIB}/moto/acm/utils.pyo
 ${PYSITELIB}/moto/apigateway/__init__.py
 ${PYSITELIB}/moto/apigateway/__init__.pyc
 ${PYSITELIB}/moto/apigateway/__init__.pyo
@@ -87,6 +102,9 @@ ${PYSITELIB}/moto/cloudwatch/responses.p
 ${PYSITELIB}/moto/cloudwatch/urls.py
 ${PYSITELIB}/moto/cloudwatch/urls.pyc
 ${PYSITELIB}/moto/cloudwatch/urls.pyo
+${PYSITELIB}/moto/cloudwatch/utils.py
+${PYSITELIB}/moto/cloudwatch/utils.pyc
+${PYSITELIB}/moto/cloudwatch/utils.pyo
 ${PYSITELIB}/moto/compat.py
 ${PYSITELIB}/moto/compat.pyc
 ${PYSITELIB}/moto/compat.pyo
@@ -162,6 +180,7 @@ ${PYSITELIB}/moto/ec2/exceptions.pyo
 ${PYSITELIB}/moto/ec2/models.py
 ${PYSITELIB}/moto/ec2/models.pyc
 ${PYSITELIB}/moto/ec2/models.pyo
+${PYSITELIB}/moto/ec2/resources/instance_types.json
 ${PYSITELIB}/moto/ec2/responses/__init__.py
 ${PYSITELIB}/moto/ec2/responses/__init__.pyc
 ${PYSITELIB}/moto/ec2/responses/__init__.pyo
@@ -372,6 +391,9 @@ ${PYSITELIB}/moto/glacier/utils.pyo
 ${PYSITELIB}/moto/iam/__init__.py
 ${PYSITELIB}/moto/iam/__init__.pyc
 ${PYSITELIB}/moto/iam/__init__.pyo
+${PYSITELIB}/moto/iam/aws_managed_policies.py
+${PYSITELIB}/moto/iam/aws_managed_policies.pyc
+${PYSITELIB}/moto/iam/aws_managed_policies.pyo
 ${PYSITELIB}/moto/iam/exceptions.py
 ${PYSITELIB}/moto/iam/exceptions.pyc
 ${PYSITELIB}/moto/iam/exceptions.pyo
@@ -480,6 +502,24 @@ ${PYSITELIB}/moto/packages/responses/set
 ${PYSITELIB}/moto/packages/responses/test_responses.py
 ${PYSITELIB}/moto/packages/responses/test_responses.pyc
 ${PYSITELIB}/moto/packages/responses/test_responses.pyo
+${PYSITELIB}/moto/polly/__init__.py
+${PYSITELIB}/moto/polly/__init__.pyc
+${PYSITELIB}/moto/polly/__init__.pyo
+${PYSITELIB}/moto/polly/models.py
+${PYSITELIB}/moto/polly/models.pyc
+${PYSITELIB}/moto/polly/models.pyo
+${PYSITELIB}/moto/polly/resources.py
+${PYSITELIB}/moto/polly/resources.pyc
+${PYSITELIB}/moto/polly/resources.pyo
+${PYSITELIB}/moto/polly/responses.py
+${PYSITELIB}/moto/polly/responses.pyc
+${PYSITELIB}/moto/polly/responses.pyo
+${PYSITELIB}/moto/polly/urls.py
+${PYSITELIB}/moto/polly/urls.pyc
+${PYSITELIB}/moto/polly/urls.pyo
+${PYSITELIB}/moto/polly/utils.py
+${PYSITELIB}/moto/polly/utils.pyc
+${PYSITELIB}/moto/polly/utils.pyo
 ${PYSITELIB}/moto/rds/__init__.py
 ${PYSITELIB}/moto/rds/__init__.pyc
 ${PYSITELIB}/moto/rds/__init__.pyo
@@ -696,3 +736,18 @@ ${PYSITELIB}/moto/swf/urls.pyo
 ${PYSITELIB}/moto/swf/utils.py
 ${PYSITELIB}/moto/swf/utils.pyc
 ${PYSITELIB}/moto/swf/utils.pyo
+${PYSITELIB}/moto/xray/__init__.py
+${PYSITELIB}/moto/xray/__init__.pyc
+${PYSITELIB}/moto/xray/__init__.pyo
+${PYSITELIB}/moto/xray/exceptions.py
+${PYSITELIB}/moto/xray/exceptions.pyc
+${PYSITELIB}/moto/xray/exceptions.pyo
+${PYSITELIB}/moto/xray/models.py
+${PYSITELIB}/moto/xray/models.pyc
+${PYSITELIB}/moto/xray/models.pyo
+${PYSITELIB}/moto/xray/responses.py
+${PYSITELIB}/moto/xray/responses.pyc
+${PYSITELIB}/moto/xray/responses.pyo
+${PYSITELIB}/moto/xray/urls.py
+${PYSITELIB}/moto/xray/urls.pyc
+${PYSITELIB}/moto/xray/urls.pyo
Index: pkgsrc/net/py-moto/distinfo
diff -u pkgsrc/net/py-moto/distinfo:1.1 pkgsrc/net/py-moto/distinfo:1.2
--- pkgsrc/net/py-moto/distinfo:1.1     Fri Sep 29 21:31:20 2017
+++ pkgsrc/net/py-moto/distinfo Wed Dec 20 14:13:56 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/09/29 21:31:20 joerg Exp $
+$NetBSD: distinfo,v 1.2 2017/12/20 14:13:56 adam Exp $
 
-SHA1 (moto-1.1.10.tar.gz) = 08996831604ffa1679c2fdc99d3102a5e1599322
-RMD160 (moto-1.1.10.tar.gz) = 75cc4fb68b8b15a69fc6c55a2776b2e3c747cb03
-SHA512 (moto-1.1.10.tar.gz) = 3a84da75d523c447c857edccf1b79d0d1c27f89f8d57ba4a24c235ca1793ba4bff8bf894d424cda23aea066b5df489b2c4efb49bf4c6dbf39a8e89dd5dde38cb
-Size (moto-1.1.10.tar.gz) = 778497 bytes
+SHA1 (moto-1.1.19.tar.gz) = 9033422ef3552a1ceb034c2705be08db29ccef36
+RMD160 (moto-1.1.19.tar.gz) = 7350ebea15d393c7acd651f5826584da9fcf92b7
+SHA512 (moto-1.1.19.tar.gz) = 855723f33904059d82ac4a0ce0f889ffae5a4f7483001f33e941dc38585571287e8f15ba1a3f8e26cd10467cf602c084600ebbfa00022f4180b1f5642cf89ffd
+Size (moto-1.1.19.tar.gz) = 1171322 bytes

Added files:

Index: pkgsrc/net/py-moto/ALTERNATIVES
diff -u /dev/null pkgsrc/net/py-moto/ALTERNATIVES:1.1
--- /dev/null   Wed Dec 20 14:13:56 2017
+++ pkgsrc/net/py-moto/ALTERNATIVES     Wed Dec 20 14:13:56 2017
@@ -0,0 +1 @@
+bin/moto_server @PREFIX@/bin/moto_server@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index