head	1.15;
access;
symbols
	pkgsrc-2026Q1:1.15.0.4
	pkgsrc-2026Q1-base:1.15
	pkgsrc-2025Q4:1.15.0.2
	pkgsrc-2025Q4-base:1.15
	pkgsrc-2025Q3:1.13.0.2
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.12.0.2
	pkgsrc-2025Q2-base:1.12
	pkgsrc-2025Q1:1.11.0.4
	pkgsrc-2025Q1-base:1.11
	pkgsrc-2024Q4:1.11.0.2
	pkgsrc-2024Q4-base:1.11
	pkgsrc-2024Q3:1.10.0.8
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.6
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.4
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.10.0.2
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.8.0.2
	pkgsrc-2023Q3-base:1.8
	pkgsrc-2023Q2:1.7.0.2
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.5.0.4
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.5.0.2
	pkgsrc-2022Q4-base:1.5
	pkgsrc-2022Q3:1.4.0.4
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.2
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.3.0.2
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.1.0.2
	pkgsrc-2021Q4-base:1.1;
locks; strict;
comment	@# @;


1.15
date	2025.10.09.07.58.01;	author wiz;	state Exp;
branches;
next	1.14;
commitid	t4nMY0Dt3rBjSRdG;

1.14
date	2025.10.01.19.44.07;	author wiz;	state Exp;
branches;
next	1.13;
commitid	HgtvFP1eIexK2UcG;

1.13
date	2025.07.07.05.58.07;	author wiz;	state Exp;
branches;
next	1.12;
commitid	7SbUh2xyzdDHeM1G;

1.12
date	2025.06.08.18.11.16;	author adam;	state Exp;
branches;
next	1.11;
commitid	GN4Uhir4La44e7YF;

1.11
date	2024.10.14.06.08.41;	author wiz;	state Exp;
branches;
next	1.10;
commitid	sEjywglW9UuuQAtF;

1.10
date	2023.11.09.18.55.58;	author adam;	state Exp;
branches;
next	1.9;
commitid	NsoTZ1yDQ8z71YLE;

1.9
date	2023.10.28.19.57.18;	author wiz;	state Exp;
branches;
next	1.8;
commitid	jP8MYROLWZ3yJqKE;

1.8
date	2023.08.27.13.27.28;	author adam;	state Exp;
branches;
next	1.7;
commitid	Ndk057MuTLl3AqCE;

1.7
date	2023.05.15.20.20.28;	author adam;	state Exp;
branches;
next	1.6;
commitid	3BJSpbaGUIr5d6pE;

1.6
date	2023.05.15.20.18.42;	author adam;	state Exp;
branches;
next	1.5;
commitid	h4DDNSAV2Htbc6pE;

1.5
date	2022.10.26.12.52.34;	author adam;	state Exp;
branches;
next	1.4;
commitid	GY1P0rt0igzRbeZD;

1.4
date	2022.04.09.07.42.19;	author adam;	state Exp;
branches;
next	1.3;
commitid	lU9gkzFeUSP1UuzD;

1.3
date	2022.01.05.15.41.25;	author wiz;	state Exp;
branches;
next	1.2;
commitid	FQ77UruBIUsgzsnD;

1.2
date	2022.01.04.20.55.01;	author wiz;	state Exp;
branches;
next	1.1;
commitid	CYyhdK9qtoffkmnD;

1.1
date	2021.11.23.12.36.48;	author wiz;	state Exp;
branches;
next	;
commitid	SfQBep3vr12dWUhD;


desc
@@


1.15
log
@*: remove reference to (removed) Python 3.9
@
text
@# $NetBSD: Makefile,v 1.14 2025/10/01 19:44:07 wiz Exp $

DISTNAME=	openapi_spec_validator-0.7.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
PKGREVISION=	1
CATEGORIES=	textproc www python
MASTER_SITES=	${MASTER_SITE_PYPI:=o/openapi-spec-validator/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/python-openapi/openapi-spec-validator
COMMENT=	OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core>=2.2.1:../../devel/py-poetry-core
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=4.18.0:../../textproc/py-jsonschema
DEPENDS+=	${PYPKGPREFIX}-jsonschema-path>=0.3.1:../../textproc/py-jsonschema-path
DEPENDS+=	${PYPKGPREFIX}-lazy-object-proxy>=1.7.1:../../devel/py-lazy-object-proxy
DEPENDS+=	${PYPKGPREFIX}-openapi-schema-validator>=0.6.0:../../textproc/py-openapi-schema-validator
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+=	${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} openapi-spec-validator openapi-spec-validator-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.14
log
@py-openapi-spec-validator: fix for latest poetry-core and depend on it

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2025/07/07 05:58:07 wiz Exp $
d24 1
a24 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.13
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.12 2025/06/08 18:11:16 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
@


1.12
log
@py-openapi-spec-validator: updated to 0.7.2

0.7.2

Allow undefined required properties
Extract extra options recursively
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/10/14 06:08:41 wiz Exp $
d23 2
@


1.11
log
@i*: clean up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/11/09 18:55:58 adam Exp $
d3 1
a3 1
DISTNAME=	openapi_spec_validator-0.7.1
@


1.10
log
@py-openapi-spec-validator: updated to 0.7.1

0.7.1

Features

Versions submodule
Move to jsonschema-path package
Validator accepts any schema (schema dictionary or SchemaPath)
validate and validate_url shortcuts

Deprecations

validate_spec shortcut in deprecated. Usevalidate instead.
validate_spec_url shortcut is deprecated. Use validate_url instead.


0.7.0

Features

Allow validate multiple files (also with pre-commit hook)
Validators and keywords refactor
Python 3.12 support
Bump docker image python from 3.11.5-alpine to 3.12.0-alpine

Deprecations

openapi_*_spec_validator objects are deprecated. Use *SpecValidator classes instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/10/28 19:57:18 wiz Exp $
a22 7
PYTHON_VERSIONS_INCOMPATIBLE=	27

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 309
DEPENDS+=	${PYPKGPREFIX}-importlib-resources>=5.8.0:../../devel/py-importlib-resources
.endif

@


1.9
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.8 2023/08/27 13:27:28 adam Exp $
d3 1
a3 1
DISTNAME=	openapi_spec_validator-0.6.0
a4 1
PKGREVISION=	1
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-jsonschema-spec>=0.2.3:../../textproc/py-jsonschema-spec
a17 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
a33 3
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

@


1.8
log
@py-openapi-spec-validator: updated to 0.6.0

0.6.0

Upgrades

Compatibility with jsonschema 4.18, jsonschema-spec 0.2 and openapi-schema-validator 0.6
Update dependencies

Deprecations

spec_url parameter of spec validator is deprecated. Use base_uri instead.

Backward incompatibilities

Drop python 3.7 support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/05/15 20:20:28 adam Exp $
d5 1
@


1.7
log
@py-openapi-spec-validator: fix PKGNAME
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/05/15 20:18:42 adam Exp $
d3 1
a3 1
DISTNAME=	openapi_spec_validator-0.5.6
d14 2
a15 2
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=4.0.0:../../textproc/py-jsonschema
DEPENDS+=	${PYPKGPREFIX}-jsonschema-spec>=0.1.1:../../textproc/py-jsonschema-spec
d17 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-openapi-schema-validator>=0.4.2:../../textproc/py-openapi-schema-validator
@


1.6
log
@py-openapi-spec-validator: updated to 0.5.6

0.5.6

Fix typo in server variables schema for OpenAPI 3.1.0
Include tests in sdist archives
jsonschema 4.17 dependency limit
add python 3.11 support

0.5.5

update openapi-schema-validator dependecy

0.5.4

schema properties validation recursion fix

0.5.3

fix custom format checker not found test
fix property missing reference validation

0.5.2

Use stdlib importlib.resources on python >= 3.9
mypy typing module version fix
Drop no longer used runtime dependency on PyYAML
allow openapi-schema-validator 0.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/10/26 12:52:34 adam Exp $
d4 1
a4 1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
@


1.5
log
@py-openapi-spec-validator: updated to 0.5.1

0.5.1
Responses schema validation

0.5.0
detect spec schema version
static types and Mypy static type check
tests mark network
schemas and validators lazy loading proxy
CLI detect spec version
Shortcuts refactor and validators explicit usage

Backward incompatibilities

redundant shortcuts validate_v*_spec and validate_v*_spec_url removed. Use validate_spec and validate_spec_url with validator parameter instead.
default_handlers (and whole handlers package) removed. Use handlers from jsonschema_spec.handlers instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/04/09 07:42:19 adam Exp $
d3 2
a4 2
DISTNAME=	openapi-spec-validator-0.5.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
d9 1
a9 1
HOMEPAGE=	https://github.com/p1c2u/openapi-spec-validator
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-importlib-resources>=5.8.0:../../devel/py-importlib-resources
d17 4
a20 2
DEPENDS+=	${PYPKGPREFIX}-openapi-schema-validator>=0.3.2:../../textproc/py-openapi-schema-validator
DEPENDS+=	${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
d24 1
a24 1
USE_PKG_RESOURCES=	yes
d26 4
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	27
d35 4
a38 1
.include "../../lang/python/egg.mk"
@


1.4
log
@py-openapi-spec-validator: updated to 0.4.0

0.4.0
Drop Python 2.7, 3.5 and 3.6 support
Add Python 3.10 support
Bump dependency upper bounds
Drop pyrsistent direct dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:25 wiz Exp $
d3 1
a3 1
DISTNAME=	openapi-spec-validator-0.4.0
d13 5
a17 2
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema
DEPENDS+=	${PYPKGPREFIX}-openapi-schema-validator>=0.2.0:../../textproc/py-openapi-schema-validator
@


1.3
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.2 2022/01/04 20:55:01 wiz Exp $
d3 1
a3 1
DISTNAME=	openapi-spec-validator-0.3.1
a4 1
PKGREVISION=	2
d13 3
a15 7
DEPENDS+=	${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema
DEPENDS+=	${PYPKGPREFIX}-openapi-schema-validator-[0-9]*:../../textproc/py-openapi-schema-validator
DEPENDS+=	${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+=	${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
d21 1
a21 1
TEST_ENV+=	PYTHONPATH=${WRKSRC}/build/lib
d23 3
a25 2
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
@


1.2
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.1 2021/11/23 12:36:48 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
d24 2
@


1.1
log
@textproc/py-openapi-spec-validator: import py-openapi-spec-validator-0.3.1

OpenAPI Spec Validator is a Python library that validates OpenAPI
Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0
specification. The validator aims to check for full compliance with
the Specification.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/08/09 23:37:32 joerg Exp $
d5 1
@

