Skip to content

Commit

Permalink
devel/py-apispec: Update to 5.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix authored and lwhsu committed Jun 8, 2022
1 parent 575744d commit 4699ae7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 3 additions & 7 deletions devel/py-apispec/Makefile
@@ -1,5 +1,5 @@
PORTNAME= apispec
DISTVERSION= 5.2.1
DISTVERSION= 5.2.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -13,21 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}prance>0:devel/py-prance@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>0:devel/py-marshmallow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR}

# tests_require = prance[osv]>=0.11
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>0:devel/py-openapi-spec-validator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}prance>=0.11:devel/py-prance@${PY_FLAVOR}

USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils pytest

TEST_ENV= PYTHONPATH=${WRKSRC}/src

NO_ARCH= yes

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/py-apispec/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1651838820
SHA256 (apispec-5.2.1.tar.gz) = cf754c439a56df12f0149fc5690a422774e9ac3395fb6798882c17fbc3a29d2d
SIZE (apispec-5.2.1.tar.gz) = 75572
TIMESTAMP = 1654465957
SHA256 (apispec-5.2.2.tar.gz) = 6ea6542e1ebffe9fd95ba01ef3f51351eac6c200a974562c7473059b9cd20aa7
SIZE (apispec-5.2.2.tar.gz) = 75729

0 comments on commit 4699ae7

Please sign in to comment.