aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2022-07-15 06:00:24 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2022-07-15 06:17:47 +0000
commitd583034b05814900228b8f519f6901c67e85290c (patch)
tree9e96bf5f7f6ff4a64feefc74fd638cc728184a7f
parentc043df3f4191c3b1e07c419a482f2bea60e13324 (diff)
downloadports-d583034b05814900228b8f519f6901c67e85290c.tar.gz
ports-d583034b05814900228b8f519f6901c67e85290c.zip
sysutils/py-ansible-compat: update to 2.2.0
Add USES += pytest, but tests fail to run because of upstream incompatibilities: ``` E pytest.PytestRemovedIn8Warning: The (fspath: py.path.local) argument to MarkdownFile is deprecated. Please use the (path: pathlib.Path) argument instead. E See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path ``` ChangeLog: https://github.com/ansible/ansible-compat/releases/tag/v2.2.0
-rw-r--r--sysutils/py-ansible-compat/Makefile7
-rw-r--r--sysutils/py-ansible-compat/distinfo6
2 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/py-ansible-compat/Makefile b/sysutils/py-ansible-compat/Makefile
index a8372b41d7c2..b316d6a3c669 100644
--- a/sysutils/py-ansible-compat/Makefile
+++ b/sysutils/py-ansible-compat/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ansible-compat
-PORTVERSION= 2.1.0
+PORTVERSION= 2.2.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45.0.0:devel/py-setuptools@${P
${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}subprocess-tee>=0.3.5:devel/py-subprocess-tee@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}subprocess-tee>=0.3.5:devel/py-subprocess-tee@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.6.0:devel/py-jsonschema@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pip-tools>0:devel/py-pip-tools@${PY_FLAVOR} \
@@ -25,7 +26,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-plus>0:devel/py-pytest-plus@${PY_FLAVOR}
USES= python:3.8+
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
diff --git a/sysutils/py-ansible-compat/distinfo b/sysutils/py-ansible-compat/distinfo
index beb8354b6b77..7fffc554ca34 100644
--- a/sysutils/py-ansible-compat/distinfo
+++ b/sysutils/py-ansible-compat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653727271
-SHA256 (ansible-compat-2.1.0.tar.gz) = 62bae1bb5c20663d5ee1bfec04f073c08be721040af9ef5bddc7904e6678d184
-SIZE (ansible-compat-2.1.0.tar.gz) = 37840
+TIMESTAMP = 1657824179
+SHA256 (ansible-compat-2.2.0.tar.gz) = 676db8ec0449d1f07038625b8ebb8ceef5f8ad3a1af3ee82d4ed66b9b04cb6fa
+SIZE (ansible-compat-2.2.0.tar.gz) = 38772