summaryrefslogtreecommitdiff
path: root/sysutils/py-pyinfra/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sysutils/py-pyinfra/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/sysutils/py-pyinfra/Makefile b/sysutils/py-pyinfra/Makefile
index 09a93a79e9ec..0e3711db3eb9 100644
--- a/sysutils/py-pyinfra/Makefile
+++ b/sysutils/py-pyinfra/Makefile
@@ -1,19 +1,19 @@
PORTNAME= pyinfra
-DISTVERSIONPREFIX= v
-DISTVERSION= 3.3.1
+DISTVERSION= 3.5
CATEGORIES= sysutils python
+MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= dtxdf@FreeBSD.org
+MAINTAINER= atanubiswas484@gmail.com
COMMENT= Automates infrastructure using Python
WWW= https://pyinfra.com/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>2:devel/py-click@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}distro>=1.6<2:sysutils/py-distro@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gevent>=1.5:devel/py-gevent@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>2<4:devel/py-Jinja2@${PY_FLAVOR} \
@@ -21,20 +21,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>2:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}paramiko>=2.7<4:security/py-paramiko@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>2<3:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pywinrm>0:security/py-pywinrm@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typeguard>0:devel/py-typeguard@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>6:devel/py-pyyaml@${PY_FLAVOR}
USES= pytest python
-USE_GITHUB= yes
-GH_ACCOUNT= pyinfra-dev
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517
-# 'test_sshuserclient' fails because paramiko.PKey doesn't have the 'from_type_string' method
-# which was added in 3.2 and we currently have paramiko==2.x.x
-PYTEST_BROKEN_TESTS= test_sshuserclient
# Most of the ignored tests fail because docker is missing.
# The *_ensure_newline_* ones fail when pyinfra is not installed first.
PYTEST_IGNORED_TESTS= test_int_docker_install_package_ubuntu \
@@ -46,10 +40,6 @@ PYTEST_IGNORED_TESTS= test_int_docker_install_package_ubuntu \
test_int_local_line_ensure_newline_true \
test_int_local_line_ensure_newline_false
-# TestSSHUserConfig.test_missing_hostkey is failing currently, due to an
-# undocumented dependency on code only available in paramiko >= 3.2:
-# https://github.com/pyinfra-dev/pyinfra/issues/1290
-
NO_ARCH= yes
.include <bsd.port.pre.mk>