head	1.21;
access;
symbols
	pkgsrc-2026Q1:1.21.0.2
	pkgsrc-2026Q1-base:1.21
	pkgsrc-2025Q4:1.20.0.2
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.18.0.2
	pkgsrc-2025Q3-base:1.18
	pkgsrc-2025Q2:1.17.0.2
	pkgsrc-2025Q2-base:1.17
	pkgsrc-2025Q1:1.16.0.2
	pkgsrc-2025Q1-base:1.16
	pkgsrc-2024Q4:1.15.0.2
	pkgsrc-2024Q4-base:1.15
	pkgsrc-2024Q3:1.14.0.6
	pkgsrc-2024Q3-base:1.14
	pkgsrc-2024Q2:1.14.0.4
	pkgsrc-2024Q2-base:1.14
	pkgsrc-2024Q1:1.14.0.2
	pkgsrc-2024Q1-base:1.14
	pkgsrc-2023Q4:1.13.0.2
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.12.0.2
	pkgsrc-2023Q3-base:1.12
	pkgsrc-2023Q2:1.11.0.2
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.10.0.4
	pkgsrc-2023Q1-base:1.10
	pkgsrc-2022Q4:1.10.0.2
	pkgsrc-2022Q4-base:1.10
	pkgsrc-2022Q3:1.7.0.6
	pkgsrc-2022Q3-base:1.7
	pkgsrc-2022Q2:1.7.0.4
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.7.0.2
	pkgsrc-2022Q1-base:1.7
	pkgsrc-2021Q4:1.3.0.2
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.2.0.32
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.30
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.28
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.26
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.24
	pkgsrc-2020Q3-base:1.2
	pkgsrc-2020Q2:1.2.0.22
	pkgsrc-2020Q2-base:1.2
	pkgsrc-2020Q1:1.2.0.18
	pkgsrc-2020Q1-base:1.2
	pkgsrc-2019Q4:1.2.0.20
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.2.0.16
	pkgsrc-2019Q3-base:1.2
	pkgsrc-2019Q2:1.2.0.14
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.12
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.2.0.10
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.8
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.2.0.6
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.2.0.4
	pkgsrc-2018Q1-base:1.2
	pkgsrc-2017Q4:1.2.0.2
	pkgsrc-2017Q4-base:1.2;
locks; strict;
comment	@# @;


1.21
date	2026.03.09.08.52.01;	author adam;	state Exp;
branches;
next	1.20;
commitid	3cpvSRgRhFY8khxG;

1.20
date	2025.11.18.06.06.49;	author adam;	state Exp;
branches;
next	1.19;
commitid	QpgdfhlqODuDYZiG;

1.19
date	2025.10.09.07.57.52;	author wiz;	state Exp;
branches;
next	1.18;
commitid	t4nMY0Dt3rBjSRdG;

1.18
date	2025.07.07.05.58.05;	author wiz;	state Exp;
branches;
next	1.17;
commitid	7SbUh2xyzdDHeM1G;

1.17
date	2025.04.15.09.28.17;	author adam;	state Exp;
branches;
next	1.16;
commitid	ExXKjoBSwMod48RF;

1.16
date	2025.02.07.22.07.53;	author adam;	state Exp;
branches;
next	1.15;
commitid	cCHYUktGdIulqAIF;

1.15
date	2024.11.11.07.28.49;	author wiz;	state Exp;
branches;
next	1.14;
commitid	1fBDq3LwS98NncxF;

1.14
date	2024.01.27.19.05.56;	author adam;	state Exp;
branches;
next	1.13;
commitid	nrbvdQMXOpVfx7WE;

1.13
date	2023.10.28.19.57.13;	author wiz;	state Exp;
branches;
next	1.12;
commitid	jP8MYROLWZ3yJqKE;

1.12
date	2023.07.30.15.04.31;	author adam;	state Exp;
branches;
next	1.11;
commitid	Vd5AVwZmuP971QyE;

1.11
date	2023.03.29.09.34.12;	author wiz;	state Exp;
branches;
next	1.10;
commitid	dE79P0WicMkX80jE;

1.10
date	2022.11.02.08.45.29;	author adam;	state Exp;
branches;
next	1.9;
commitid	UeDw6ejDhmddB60E;

1.9
date	2022.10.26.12.58.04;	author adam;	state Exp;
branches;
next	1.8;
commitid	TbrCIRoln4iOdeZD;

1.8
date	2022.10.19.13.56.32;	author nia;	state Exp;
branches;
next	1.7;
commitid	SJILZksUbr0GLkYD;

1.7
date	2022.02.15.15.32.09;	author wiz;	state Exp;
branches;
next	1.6;
commitid	fyXe2pxfhPKRcJsD;

1.6
date	2022.01.14.09.37.36;	author wiz;	state Exp;
branches;
next	1.5;
commitid	VT3uBfgl9j92hAoD;

1.5
date	2022.01.05.15.41.17;	author wiz;	state Exp;
branches;
next	1.4;
commitid	FQ77UruBIUsgzsnD;

1.4
date	2022.01.04.20.54.29;	author wiz;	state Exp;
branches;
next	1.3;
commitid	CYyhdK9qtoffkmnD;

1.3
date	2021.11.24.11.28.52;	author wiz;	state Exp;
branches;
next	1.2;
commitid	V32il9Htu6lSw2iD;

1.2
date	2017.12.20.14.13.56;	author adam;	state Exp;
branches;
next	1.1;
commitid	qMKjzidTEgG2zDjA;

1.1
date	2017.09.29.21.31.20;	author joerg;	state Exp;
branches;
next	;
commitid	jT99GTybzL1KC89A;


desc
@@


1.21
log
@py-moto: updated to 5.1.22

5.1.22

New Methods:
    * APIGateway:
        * delete_model()

    * Athena:
        * tag_resource()
        * untag_resource()

    * Pipes:
        * list_tags_for_resource()

    * OSIS:
        * delete_resource_policy()
        * get_resource_policy()
        * put_resource_policy()

    * RDS:
        * copy_db_cluster_parameter_group()

    * STS:
        * get_access_key_info()

    * Transfer:
        * list_servers()

Miscellaneous:
    * CloudFormation now supports the creation/update/deletion of AWS::CloudWatch::Dashboard resources
    * CloudFormation now supports the creation/update/deletion of AWS::KMS::Alias resources
    * CloudFormation now supports the creation/update/deletion of AWS::SSM::Document resources
    * EC2: create_fleet() now supports the parameters DryRun and LaunchTemplateConfigs.Overrides
    * EC2: describe_network_interfaces() now supports the 'attachment.attachment-id'-filter
    * EC2: Instances created from a LaunchTemplate now have the 'aws:ec2launchtemplate:id' and 'aws:ec2launchtemplate:version' tags
    * RDS: create_db_cluster_parameter_group() now validates the provided group name/description/familiy
    * RDS: delete_db_cluster_parameter_group() now validates that the provided group exists
    * S3: delete_object() now supports IfMatch
    * SecretsManager: create-secret() now throw ResourceExistsException for duplicate requests with different token (broken since 5.1.11)
    * SQS: send_message() now returns the SequenceNumber-attribute
    * VPCLattice: list_access_log_subscriptions() now also supports arns as resourceIdentifiers
@
text
@# $NetBSD: Makefile,v 1.20 2025/11/18 06:06:49 adam Exp $

DISTNAME=	moto-5.1.22
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	net devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=m/moto/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/getmoto/moto
COMMENT=	Mock-up of the boto library
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-boto3>=1.9.201:../../net/py-boto3
DEPENDS+=	${PYPKGPREFIX}-botocore>=1.35.47:../../net/py-botocore
DEPENDS+=	${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
DEPENDS+=	${PYPKGPREFIX}-jinja2>=2.10.1:../../textproc/py-jinja2
DEPENDS+=	${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+=	${PYPKGPREFIX}-requests>=2.5:../../devel/py-requests
DEPENDS+=	${PYPKGPREFIX}-responses>=0.25.6:../../net/py-responses
DEPENDS+=	${PYPKGPREFIX}-werkzeug>=2.2.2:../../www/py-werkzeug
DEPENDS+=	${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
# proxy
DEPENDS+=	${PYPKGPREFIX}-multipart-[0-9]*:../../www/py-multipart
# server
DEPENDS+=	${PYPKGPREFIX}-flask>=2.2.2:../../www/py-flask
DEPENDS+=	${PYPKGPREFIX}-flask-cors-[0-9]*:../../www/py-flask-cors
DEPENDS+=	${PYPKGPREFIX}-pyaml>=5.1:../../textproc/py-pyaml
# unlisted but used
TEST_DEPENDS+=	${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
TEST_DEPENDS+=	${PYPKGPREFIX}-openapi-spec-validator>=0.2.8:../../textproc/py-openapi-spec-validator
TEST_DEPENDS+=	${PYPKGPREFIX}-sure>=1.2.24:../../devel/py-sure
# not packaged
#TEST_DEPENDS+=	${PYPKGPREFIX}-docker-[0-9]*:../../devel/py-docker

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
.for bin in moto_proxy moto_server
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor

PYTHON_VERSIONED_DEPENDENCIES+=	cryptography
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.20
log
@py-moto: updated to 5.1.17

5.1.17

General:
    * The MotoServer dashboard (available on http://localhost:5000/moto-api) now has an new and improved look, making it easier to search for and find your resources

New Methods:
    * CloudFront:
        * tag_resource()
        * untag_resource()

    * DMS:
        * create_replication_subnet_group()
        * describe_connection()
        * describe_replication_subnet_group()
        * delete_endpoint()
        * delete_replication_instance()
        * delete_replication_subnet_group()
        * test_endpoint()

    * EC2:
        * describe_reserved_instances_offerings()

    * RDS:
        * add_role_to_db_cluster()
        * add_role_to_db_instance()

    * S3Vectors:
        * create_index()
        * delete_index()
        * get_index()
        * list_indexes()

    * ServiceCatalog:
        * create_product()
        * describe_product()
        * delete_product()

Miscellaneous:
    * ACM-PCA: get_certificate() now returns the CertificateChain-attribute, if appropriate
    * DMS: Manual control of the State Transition is now available for the `dms:connection` and `dms:replicationinstance` models.
    * Organizations: describe_account() now returns the State-attribute.
    * ResourceGroupsTaggingAPI: get_resources() now supports all Comprehend models
    * StepFunctions: create_execution() now takes the execution input into account when checking idempotency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/10/09 07:57:52 wiz Exp $
d3 1
a3 1
DISTNAME=	moto-5.1.17
@


1.19
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/07/07 05:58:05 wiz Exp $
d3 1
a3 1
DISTNAME=	moto-5.1.3
d9 1
a9 1
HOMEPAGE=	https://github.com/spulec/moto
@


1.18
log
@*: mark more packages as not for Python<3.11

From shadow x86_64 bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/04/15 09:28:17 adam Exp $
d38 1
a38 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.17
log
@py-moto: updated to 5.1.3

5.1.3

New Methods:
    * DMS:
        * create_replication_instance()
        * describe_replication_instances()

    * Service Catalog:
        * describe_portfolio()

Miscellaneous:
    * ACM: request_certificate() now correctly handles IPv4-addresses
    * DynamoDB: update_item(): Fixed a bug where the PathOverlap-exception was thrown erroneously
    * EC2: Improved the behaviour of SecurityGroupRules with multiple IP ranges
    * MediaConnect: create_flow() now supports the Maintenance-parameter
    * RDS: Managed Secrets are now actually created in Secrets Manager
    * S3: delete_objects(): The BypassGovernanceMode-parameter is now compatible with botocore==1.27.25
    * SNS: SMS messages are now exposed via the Moto API

5.1.2

* New Services:
    * KinesisAnalyticsV2:
        * create_application()
        * describe_application()
        * list_applications()
        * list_tags_for_resource()
        * tag_resource()

    * Service Catalog:
        * create_portfolio()
        * create_portfolio_share()
        * delete_portfolio()
        * delete_portfolio_share()
        * describe_portfolio_shares()
        * list_portfolio_access()
        * list_portfolios()

* New Methods:
    * DirectoryServices:
        * create_log_subscription()
        * delete_log_subscription()
        * list_log_subscriptions()

    * EC2:
        * modify_launch_template()

    * Glue:
        * get_data_catalog_encryption_settings()
        * put_data_catalog_encryption_settings()

    * Lambda:
        * add_layer_version_permission()
        * get_layer_version_policy()
        * remove_layer_version_permission()

    * RDS:
        * copy_db_parameter_group()

    * SESv2:
        * create_email_identity()
        * get_email_identity()
        * list_email_identities()

    * QuickSight:
        * create_dashboard()
        * describe_account_settings()
        * describe_dashboard()
        * list_dashboards()
        * update_account_settings()
        * update_public_sharing_settings()

* Miscellaneous:
    * ApplicationAutoscaling: register_scalable_target() now returns the ScalableTargetARN-attribute
    * Autoscaling: create_auto_scaling_group() now supports the LaunchTemplate-parameter
    * DynamoDB: Add validation around attribute name use checks
    * DynamoDB: Add path overlap checks for all updates
    * ECS: create_service() now supports the role-parameter
    * ECR: describe_image_scan_findings() now allows the configuration of custom results
    * EKS: create_cluster() now supports the RemoteNetworkConfig-parameter
    * ElastiCache: create_cache_cluster() now supports parameters AutoMinorVersionUpgrade and TransitEncryptionEnabled
    * NetworkManager: list_core_networks() now returns the OwnerAccountId-attribute
    * ResourceGroupTaggingAPI: get_resources() now supports AppSync's GraphQL-API resources
    * ResourceGroupTaggingAPI: get_resources() now supports CloudFront's Distribution resources
    * RDS: create_db_cluster() now supports the AutoMinorVersionUpgrade-parameter
    * S3: get_object()/head_object() now return the 'x-amz-checksum-' header when appropriate
    * TimestreamWrite: list_tables() no longer requires the DatabaseName-parameter
    * WAF: Resources in CloudFront scope now use the us-east-1 region in the ARN, instead of 'global'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/02/07 22:07:53 adam Exp $
d38 2
@


1.16
log
@py-moto: updated to 5.0.28

5.0.28

* General:
    * Bootstrapping a CDK project is now supported

* New Services:
    * S3 Tables:
        * create_namespace()
        * create_table()
        * create_table_bucket()
        * delete_namespace()
        * delete_table()
        * delete_table_bucket()
        * get_metadata_location()
        * get_table()
        * get_table_bucket()
        * list_namespaces()
        * list_table_buckets()
        * list_tables()
        * rename_table()
        * update_metadata_location()

* Miscellaneous:
    * DynamoDB: delete_item() now returns ConsumedCapacity
    * DynamoDB: transact_write_items() now returns a ReturnValuesOnConditionCheckFailure for all operations
    * ECR: Lifecycle Policies() now support the tagPatternList-parameter
    * S3: get_object() now returns the ETag when returning a 304 (Not Modified)
    * SecretsManager: get_secret_value() no longer throws an error after calling rotate_secret(RotateImmediately=False)
    * SecretsManager: list_secrets() now filters values with special chars correctly
    * Organizations: list_roots() now returns the roots of the parent organization, if called from within a child organization
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/11/11 07:28:49 wiz Exp $
d3 1
a3 1
DISTNAME=	moto-5.0.28
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=40.6.0:../../devel/py-setuptools
@


1.15
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/01/27 19:05:56 adam Exp $
d3 1
a3 1
DISTNAME=	moto-4.1.14
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-botocore>=1.12.201:../../net/py-botocore
d20 1
a20 1
DEPENDS+=	${PYPKGPREFIX}-responses>=0.13.0:../../net/py-responses
d23 6
a29 4
DEPENDS+=	${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
DEPENDS+=	${PYPKGPREFIX}-pyaml-[0-9]*:../../textproc/py-pyaml
# unlisted but used
TEST_DEPENDS+=	${PYPKGPREFIX}-flask-cors-[0-9]*:../../www/py-flask-cors
a37 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

d39 1
d41 2
a42 1
	${MV} moto_server moto_server-${PYVERSSUFFIX} || ${TRUE}
a43 1
.include "../../lang/python/wheel.mk"
d46 1
@


1.14
log
@py-moto: updated to 4.2.14

4.2.14

New Services:
    * Backup:
        * create_backup_plan()
        * create_backup_vault()
        * get_backup_plan()
        * describe_backup_vault()
        * delete_backup_plan()
        * list_backup_plans()
        * list_backup_vaults()
        * list_tags()
        * tag_resource()
        * untag_resource()

New Methods:
    * RDS:
        * describe_db_cluster_snapshot_attributes()
        * describe_db_snapshot_attributes()
        * modify_db_cluster_snapshot_attribute()
        * modify_db_snapshot_attribute()
        * restore_db_instance_to_point_in_time()

    * SageMaker:
        * create_feature_group()

    * SageMakerRuntime:
        * invoke_endpoint_async()

Miscellaneous:
    * Cognito: The ID-token now contains custom attributes
    * DynamoDB: query() now returns the correct ScannedCount
    * EC2: Security Group Rules now have tag support
    * LakeFormation: grant_permissions() now has better support for known principal-resource pairs
    * SNS: set_subscription_attributes() can now unset the FilterPolicy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/10/28 19:57:13 wiz Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.13
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/07/30 15:04:31 adam Exp $
d3 1
a3 1
DISTNAME=	moto-4.1.13
a4 1
PKGREVISION=	1
a26 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
a42 3
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

@


1.12
log
@py-moto: updated to 4.1.13

4.1.13
General:
    * The ISO-regions introduced in 4.1.12 are now locked behind an environment variable: `MOTO_ENABLE_ISO_REGIONS`
    * General performance improvements in the URL matching logic - especially `mock_all` users should notice improvements

New Methods:
    * APIGatewayV2:
        * create_stage()
        * delete_stage()
        * get_stage()
        * get_stages()

    * CloudFront:
        * create_origin_access_control()
        * delete_origin_access_control()
        * get_origin_access_control()
        * list_origin_access_controls()
        * update_origin_access_control()

    * Lambda:
        * list_aliases()

    * Logs:
        * delete_destination()
        * describe_destinations()
        * get_destination()
        * put_destination()
        * put_destination_policy()

    * Route53:
        * get_health_check_status()

    * SSM:
        * deregister_task_from_maintenance_window()
        * describe_maintenance_window_tasks()
        * register_task_with_maintenance_window()

Miscellaneous:
    * Batch: create_compute_environment() now validates instanceRole and minvCpu
    * CloudFront: create_distribution() now correctly handles a single alias
    * CloudFront - CustomOrigins now have default timeouts if not supplied
    * DynamoDB: delete_item() now throws the correct error when the table is not found
    * EC2: describe_security_group_rules() now returns the GroupId
    * ECR: create_repository() now validates the repositoryName-parameter
    * Lambda: create_function() now returns the ImageConfigResponse and EphemeralStorage parameters
    * IOTData: publish() can now handle non-Unicode bytes
    * RDS: Automated snapshots now have the appropriate SnapshotType
    * Route53: create_hosted_zone() now returns the Location
    * Scheduler: get_schedule() now returns the CreationDate and LastModificationDate
    * SecretsManager: delete_secret() now throws an error when setting the Recovery to 0 days
    * StepFunctions: start_execution() now validates the name-length
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/03/29 09:34:12 wiz Exp $
d5 1
@


1.11
log
@*: use PYTHON_VERSION instead of _PYTHON_VERSION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/11/02 08:45:29 adam Exp $
d3 1
a3 1
DISTNAME=	moto-4.0.9
d13 2
a18 1
DEPENDS+=	${PYPKGPREFIX}-markupsafe>=2.0.1:../../textproc/py-markupsafe
d33 2
d36 1
a36 1
USE_PKG_RESOURCES=	yes
a39 6
.include "../../lang/python/pyversion.mk"

.if ${PYTHON_VERSION} == 307
DEPENDS+=	${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif

d47 1
a47 1
.include "../../lang/python/egg.mk"
@


1.10
log
@py-moto: updated to 4.0.9

4.0.9

Miscellaneous:
* CloudTrail: describe_trails() now returns the correct (MultiRegion) trails
* CloudWatch:tag_resource() now allows tagting new Alarms that didn't have tags yet
* EC2: create_instances() now supports the `IamInstanceProfile`-parameter
* EC2: describe_route_tables() now supports the `route.vpc-peering-connection-id`-filter
* EC2: modify_vpc_attribute() now supports the enableNetworkAddressUsageMetrics-attribute
* S3: delete_objects() now works against the JS SDK v3.197.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/10/26 12:58:04 adam Exp $
d38 2
a39 1
.if ${_PYTHON_VERSION} == 37
@


1.9
log
@py-moto: updated to 4.0.8

4.0.8

General:
    * Unpins the werkzeug-dependency - Moto now works with werkzeug==2.2.2
    * Fixes the Docker-build to run on M1 Macbooks.

New Services:
    * ServiceQuotas:
        * get_service_quota()
        * list_aws_default_service_quotas()

New Methods:
    * CloudFront: list_invalidations()
    * RDS: modify_db_cluster()

Miscellaneous:
    * Lambda:delete_function() - fixed an issue where the wrong Function would be deleted when providing a qualifier
    * ECR:put_image() now removes any existing images that have the provided tag
    * IAM:detach_user/group/role_policy() now throws the correct error message when the policy is not attached in the first place
    * S3:list_object_versions(): Fix delimiter to take prefix into account
    * S3: Now closes file handles as early as possible when deleting files/multipart uploads
    * Sagamaker:describe_training_job() now throws the correct exception when trying to explain a non-existing job
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/10/19 13:56:32 nia Exp $
d3 1
a3 1
DISTNAME=	moto-4.0.8
@


1.8
log
@fighting a losing battle against py-cryptography rustification, part 2

Switch users to versioned_dependencies.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/02/15 15:32:09 wiz Exp $
d3 1
a3 1
DISTNAME=	moto-3.0.3
d14 5
a18 1
DEPENDS+=	${PYPKGPREFIX}-botocore-[0-9]*:../../net/py-botocore
d20 2
a22 5
DEPENDS+=	${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
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
a25 1

d28 1
d30 1
d35 1
a35 3
TEST_ENV+=	PYTHONPATH=${WRKSRC}/build/lib

PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-sure
d38 1
a38 2

.if ${PYPKGPREFIX} == "py37"
d43 2
a44 1
	cd ${DESTDIR}${PREFIX}/bin && ${MV} moto_server moto_server${PYVERSSUFFIX} || ${TRUE}
d47 1
a47 1
	cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
@


1.7
log
@py-moto: update to 3.0.3.

Changelog not found - five years of regular releases.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/01/14 09:37:36 wiz Exp $
a14 1
DEPENDS+=	${PYPKGPREFIX}-cryptography>=3.3.1:../../security/py-cryptography
d50 2
@


1.6
log
@py-moto: restrict to python 3+ because of py-sure
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:17 wiz Exp $
d3 1
a3 1
DISTNAME=	moto-1.1.19
a4 1
PKGREVISION=	2
d13 7
a19 4
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
d21 3
a23 1
DEPENDS+=	${PYPKGPREFIX}-dicttoxml-[0-9]*:../../textproc/py-dicttoxml
a24 2
DEPENDS+=	${PYPKGPREFIX}-jinja2>=2.8:../../textproc/py-jinja2
DEPENDS+=	${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
a25 5
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
d27 2
a29 4
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
a30 1
TEST_DEPENDS+=	${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
d38 6
a47 1
	#cd ${WRKSRC}/tests && nosetests-${PYVERSSUFFIX}
@


1.5
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:29 wiz Exp $
d42 2
@


1.4
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/11/24 11:28:52 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
d38 2
@


1.3
log
@py-moto: use TEST_DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/12/20 14:13:56 adam Exp $
d5 1
@


1.2
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/09/29 21:31:20 joerg Exp $
d29 9
a37 7
# 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
d43 2
a44 1
	cd ${WRKSRC}/tests && nosetests-${PYVERSSUFFIX}
@


1.1
log
@Add py-moto-1.1.10:

A library that allows your python tests to easily mock out the boto
library.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2017/07/07 04:14:47 adam Exp $
d3 1
a3 1
DISTNAME=	moto-1.1.10
d5 1
a5 1
CATEGORIES=	net python devel
d11 1
a11 1
LICENSE=	mit
d15 5
d21 7
d29 2
a30 1
# Tests
d32 3
a34 5
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
d37 3
d41 1
a41 5
	# 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
@

