1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

sysutils/py-ansible-compat: New Port

A python package that contains functions that facilitate working with
various versions of Ansible 2.9 and newer.

PR:     263033
This commit is contained in:
Matthew Seaman 2022-04-18 10:21:56 +01:00
parent de1b6a8c73
commit 5d613390a7
5 changed files with 48 additions and 0 deletions

View File

@ -1022,6 +1022,7 @@
SUBDIR += pxattr
SUBDIR += pxp-agent
SUBDIR += py-ansible-base
SUBDIR += py-ansible-compat
SUBDIR += py-ansible-core
SUBDIR += py-ansible-core211
SUBDIR += py-ansible-lint

View File

@ -0,0 +1,32 @@
PORTNAME= ansible-compat
PORTVERSION= 2.0.2
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Ansible compatibility goodies
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45.0.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.3.1:devel/py-setuptools_scm@${PY_FLAVOR} \
${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}
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} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-markdown>0:devel/py-pytest-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-plus>0:devel/py-pytest-plus@${PY_FLAVOR}
USES= python:3.8+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1650118955
SHA256 (ansible-compat-2.0.2.tar.gz) = c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5
SIZE (ansible-compat-2.0.2.tar.gz) = 35072

View File

@ -0,0 +1,8 @@
--- setup.py.orig 2019-12-09 07:04:35 UTC
+++ setup.py
@@ -0,0 +1,5 @@
+
+import setuptools
+if __name__ == "__main__":
+ setuptools.setup(use_scm_version=True)
+

View File

@ -0,0 +1,4 @@
A python package that contains functions that facilitate working with
various versions of Ansible 2.9 and newer.
WWW: https://github.com/ansible-community/ansible-compat