pkgsrc/net/py-moto/Makefile
adam 1ff5257f51 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
2017-12-20 14:13:56 +00:00

44 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2017/12/20 14:13:56 adam Exp $
DISTNAME= moto-1.1.19
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/moto/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/spulec/moto
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}-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
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
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:
cd ${WRKSRC}/tests && nosetests-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"