From nobody Mon Apr 18 12:00:47 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B7B9C11D60F1; Mon, 18 Apr 2022 12:00:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KhlrJ1q8Rz3n0d; Mon, 18 Apr 2022 12:00:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650283248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zyHvRrlf5t+xWg7ibkhzmZAnwcHz9uOnn1MXmc4ztT4=; b=VAFIhmHlg8u/9NJQruZ+apysX3zWtY1vQvb3T5DPdouc42UhCXdZtHosR/BgnaS6zVXxBv 6Q6q0XebynuLA6UhIjyFyZN58wznWhaHH8F0jd/CqU3xPQcdtaQGETeKuZ/nqLC6SX/1eM dZj57i3Zgs/ITNssfJNK1si9er/qY5VrAkOBYXadKe1OIyqb+zYFixHvgGdZk1JCsmsuGS FdXwJTB/CBwMh6E5rT37bn/bvbyIk5MhKq92mbgVRnPUOPUDASvKClnYE8OYm1g3aoJH4K o9h5Si+GoLJp69r+1rHeWUfmOINf9OXM5pq/zqt6F+wzH0t+kEs5Ez8JMbL5IQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09BD7125D4; Mon, 18 Apr 2022 12:00:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23IC0lZh017148; Mon, 18 Apr 2022 12:00:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23IC0lfS017147; Mon, 18 Apr 2022 12:00:47 GMT (envelope-from git) Date: Mon, 18 Apr 2022 12:00:47 GMT Message-Id: <202204181200.23IC0lfS017147@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: 5d613390a733 - main - sysutils/py-ansible-compat: New Port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d613390a733415afc8649a444011390a037aa5b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650283248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zyHvRrlf5t+xWg7ibkhzmZAnwcHz9uOnn1MXmc4ztT4=; b=Mac0oufhdtTAlduha7+oNBV8Ox8TFL0u6HYyIrM7bZwKAHgaePJprs+H2SJxm7UBniG3n4 VVT+p4WUwQ/CjQuNT2/XB/BkxQHZqCHlD0sXmq43JMMpzbpoa/7p98y4QtJX8b6M0Cr+Cr MSE/wG+xL3DxHu2BpxsnCRum2coX9drgB7S/NOKvpaeengTrp3RLDRpAyvUI7/fSskNOd1 0Kuh6bMF0bRyUd59aoV53475svW/aJexPjVOHLqsTU6snnFai/znPHWA2604XpicY3/Y21 SpJx/GT4OIXfpIyTYi8FYYbG0XlDSgvBlyRww72P7ZLvOobzXSRHqxprVAy6nQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650283248; a=rsa-sha256; cv=none; b=eT01ulEdj9cJbWQyL5+lGCzDW3BZ0barMbQS2Ps02V8AEDZDu/TXhxwIazMLYEAjej04k4 eQcvrY+Boq7M+1owJCPYqoEYMq12iITY3uq/d0tPO0ZQCt8zb2IKQUGYlyAILUBstBiOZy OmUl0NCgTEsZdiiz0CkSflWYcO2jnxmEXkRPX5TKh2kP3WY2ePb4+6zcomCmN74QJqv4ua /sTGoDrZGs6wjveIXp/4uF803yWRtZVN0UlgQ+Z2PSoh40hoxZYp5im/Q+pY/4vN8pSBdm peO1ZKeS5Z484c6+E+Tif/dbOu6s2J9C9ZYKJcctuKZV/6bdEoiVnLrMp5UWHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d613390a733415afc8649a444011390a037aa5b commit 5d613390a733415afc8649a444011390a037aa5b Author: Matthew Seaman AuthorDate: 2022-04-18 09:21:56 +0000 Commit: Matthew Seaman CommitDate: 2022-04-18 11:59:09 +0000 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 --- sysutils/Makefile | 1 + sysutils/py-ansible-compat/Makefile | 32 +++++++++++++++++++++++++ sysutils/py-ansible-compat/distinfo | 3 +++ sysutils/py-ansible-compat/files/patch-setup.py | 8 +++++++ sysutils/py-ansible-compat/pkg-descr | 4 ++++ 5 files changed, 48 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 196f27551ce7..cd3c44f6611c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -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 diff --git a/sysutils/py-ansible-compat/Makefile b/sysutils/py-ansible-compat/Makefile new file mode 100644 index 000000000000..72ed696633a9 --- /dev/null +++ b/sysutils/py-ansible-compat/Makefile @@ -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 diff --git a/sysutils/py-ansible-compat/distinfo b/sysutils/py-ansible-compat/distinfo new file mode 100644 index 000000000000..1924b64e7315 --- /dev/null +++ b/sysutils/py-ansible-compat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650118955 +SHA256 (ansible-compat-2.0.2.tar.gz) = c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5 +SIZE (ansible-compat-2.0.2.tar.gz) = 35072 diff --git a/sysutils/py-ansible-compat/files/patch-setup.py b/sysutils/py-ansible-compat/files/patch-setup.py new file mode 100644 index 000000000000..12c9d0596446 --- /dev/null +++ b/sysutils/py-ansible-compat/files/patch-setup.py @@ -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) ++ diff --git a/sysutils/py-ansible-compat/pkg-descr b/sysutils/py-ansible-compat/pkg-descr new file mode 100644 index 000000000000..1faa18199a2b --- /dev/null +++ b/sysutils/py-ansible-compat/pkg-descr @@ -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