View | Details | Raw Unified | Return to bug 279262 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/Makefile (+1 lines)
Lines 1150-1155 Link Here
1150
    SUBDIR += py-ptyprocess
1150
    SUBDIR += py-ptyprocess
1151
    SUBDIR += py-puremagic
1151
    SUBDIR += py-puremagic
1152
    SUBDIR += py-py-cpuinfo
1152
    SUBDIR += py-py-cpuinfo
1153
    SUBDIR += py-pyinfra
1153
    SUBDIR += py-python-bareos
1154
    SUBDIR += py-python-bareos
1154
    SUBDIR += py-python-consul
1155
    SUBDIR += py-python-consul
1155
    SUBDIR += py-python-consul2
1156
    SUBDIR += py-python-consul2
(-)b/sysutils/py-pyinfra/Makefile (+59 lines)
Added Link Here
1
PORTNAME=	pyinfra
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	3.0.2
4
CATEGORIES=	sysutils python
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	dev@submerge.ch
8
COMMENT=	Automates infrastructure using Python
9
WWW=		https://pyinfra.com/
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENSE.md
13
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>2:devel/py-click@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}distro>=1.6<2:sysutils/py-distro@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}gevent>=1.5:devel/py-gevent@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}Jinja2>2<4:devel/py-Jinja2@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}packaging>=16.1:devel/py-packaging@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}paramiko>=2.7<4:security/py-paramiko@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}python-dateutil>2<3:devel/py-python-dateutil@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}pywinrm>0:security/py-pywinrm@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}typeguard>0:devel/py-typeguard@${PY_FLAVOR}
26
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
27
		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
28
29
USES=		pytest python
30
USE_GITHUB=	yes
31
GH_ACCOUNT=	pyinfra-dev
32
USE_PYTHON=	autoplist distutils
33
34
# Most of the ignored tests fail because docker is missing.
35
# The *_ensure_newline_* ones fail when pyinfra is not installed first.
36
PYTEST_IGNORED_TESTS=	test_int_docker_install_package_ubuntu \
37
			test_e2e_ssh_sudo_password \
38
			test_int_local_file_no_changes \
39
			test_int_local_directory_no_changes \
40
			test_int_local_link_no_changes \
41
			test_int_local_line_no_changes \
42
			test_int_local_line_ensure_newline_true \
43
			test_int_local_line_ensure_newline_false
44
45
.include <bsd.port.pre.mk>
46
47
.if ${PYTHON_REL} < 30900
48
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}graphlib-backport>0:graphics/py-graphlib-backport@${PY_FLAVOR}
49
.endif
50
51
.if ${PYTHON_REL} < 31000
52
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>3.6:devel/py-importlib-metadata@${PY_FLAVOR}
53
.endif
54
55
.if ${PYTHON_REL} < 31100
56
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
57
.endif
58
59
.include <bsd.port.post.mk>
(-)b/sysutils/py-pyinfra/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1721915646
2
SHA256 (pyinfra-dev-pyinfra-v3.0.2_GH0.tar.gz) = f004c5e13b751fc90d2df81bd2fb5f10b14f869b0ca488ed7bc8c355ecb9ef70
3
SIZE (pyinfra-dev-pyinfra-v3.0.2_GH0.tar.gz) = 319429
(-)b/sysutils/py-pyinfra/pkg-descr (-1 / +6 lines)
Added Link Here
0
- 
1
pyinfra turns Python code into shell commands and runs them on your servers.
2
Execute ad-hoc commands and write declarative operations. Target SSH servers,
3
local machine and Docker containers. Fast and scales from one server to
4
thousands.
5
6
Think ansible but Python instead of YAML, and a lot faster.

Return to bug 279262