From nobody Sun May 28 07:24:40 2023 X-Original-To: dev-commits-ports-main@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 4QTVXm3Zg9z4WkWP; Sun, 28 May 2023 07:24:40 +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 4QTVXm33btz3M16; Sun, 28 May 2023 07:24:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685258680; 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=Dp2xesiTokK6LlpsboBOkrtz2sOxq7QcYNwZOF9Rb+g=; b=mGtrq0nfUBbo0uBabflChtfaRPOxHhhFmTqE9dqr0kwXUPSvzMQyHnF1VtxWTRwnw7Z83c qcBELF6ZZefYp45WoNsuPFZ13/kB/YfoL7ML/yaMCCATHbxYBQBfW2iPzulMGe7cB/OMcu avkSvkvNvQ3ZAqKyCu+Ymeclcth8K8idH44/oMD/qHUXLuLb/lKQr3LYJHGMJm8MY9GF04 uzQxp+NTprryC0X4TPBBLfjJ7G1X3UYq+Efx6C0Z++Tj+Alw4hnXdl6MTPXVy5GPHlSZ0X /lfr/0CioxMkPDrIb0SP9cXBC9jfcUJh2Y3Aoe6jArrZRdbctQDwjmnWRef0qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685258680; 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=Dp2xesiTokK6LlpsboBOkrtz2sOxq7QcYNwZOF9Rb+g=; b=wCnT7E6ZLp/gQ/im/ZuatQnImKGYtX44AMsCYuehrs9qgPo5X6HNFAVXwwm3t0EIJv6twr G4FKZlAVJ6cgkKFowzXGxgBk7PDsujIPo9ccp7eE0z2xyNtAhFXwz7H+QFEyav8EqR19qN 1vn/c2/mgSBNaxxRwyyP8nw4SUdi/F9drqhHRtLZaTNGpDgdHMcfDljZo8lQSgzefMsDwk aqdFf4XmSI3LssFSSp7U5UdhW/jmAecV5l8b8MY/AKthWrYq6TvfRNx1uMlalq/czfG/tf A5Octc8KmFFJ72Awiq/xr3XUVIjmtNohHjPLKJGea//X2eJ7DF/oihBKqE/bhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685258680; a=rsa-sha256; cv=none; b=e92+dgF5xQOYVkg4qwbdfC9Oycw0SXhz60HkUwN0CE8wJBB/befSmgRMv1QFOY1M2duzS4 tZ5pzEbpjvnHdcILU4AHAy+BHZPKNZSwTmKGOEaI8/vimfH/WlZlCasJfH4L0FCYJrYJqh HpDD0ysSRoMwp8yUIhd2CiuYRkH2YEYZkdPeRI6PwfAbM0IJeEi0Kgb2N4pkI8VGeKbItp 8EnGWa+iM60IkWw9U7s3DB7IVZ7UoGZAUXrP1w42SO5ohqG353KPHYBNmQISUnFfPLUR73 o3abIe3YWGoDdBs6k0jeZMXKvZYhJGiGlBuBtconYjTA47q4bEqr+gNoKXFmmg== 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 4QTVXm1xcbzMQb; Sun, 28 May 2023 07:24:40 +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 34S7OedF007469; Sun, 28 May 2023 07:24:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34S7Oetp007468; Sun, 28 May 2023 07:24:40 GMT (envelope-from git) Date: Sun, 28 May 2023 07:24:40 GMT Message-Id: <202305280724.34S7Oetp007468@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: 3de14431610e - main - sysutils/py-ansible-core: update to 2.15.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 3de14431610eec82074fabdf15dc511f93899e41 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=3de14431610eec82074fabdf15dc511f93899e41 commit 3de14431610eec82074fabdf15dc511f93899e41 Author: Matthew Seaman AuthorDate: 2023-05-27 11:15:59 +0000 Commit: Matthew Seaman CommitDate: 2023-05-28 07:22:47 +0000 sysutils/py-ansible-core: update to 2.15.0 Switch to USES_PYTHON=pep517 build system. Delete USES=gmake and define our own `do-test` target as upstream has removed the Makefile from the sources. Support python 3.9+ following upstream. PR: 271680 Approved by: 0mp (maintainer) --- sysutils/py-ansible-core/Makefile | 29 ++++++++++++++--------------- sysutils/py-ansible-core/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/sysutils/py-ansible-core/Makefile b/sysutils/py-ansible-core/Makefile index 30816dc4d036..2c401f0dd915 100644 --- a/sysutils/py-ansible-core/Makefile +++ b/sysutils/py-ansible-core/Makefile @@ -1,5 +1,5 @@ PORTNAME= ansible-core -DISTVERSION= 2.14.3 +DISTVERSION= 2.15.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,38 +11,34 @@ WWW= https://www.ansible.com/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45.2.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<0.9:devel/py-resolvelib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>5.1:devel/py-yaml@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<1.1.0:devel/py-resolvelib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ git:devel/git -USES= ansible:env cpe gmake python:3.8+ shebangfix +USES= ansible:env cpe python:3.9+ shebangfix CPE_VENDOR= redhat CPE_PRODUCT= ansible -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 SHEBANG_REGEX= [.]/test/.*[.]py -TEST_ARGS= VERSION=${DISTVERSION} \ - PYTHON=${PYTHON_CMD} \ - DATE= # Pass MAKE_ENV to TEST_ENV so that binary aliases via an updated PATH. -TEST_ENV= ${MAKE_ENV} PYTHON_VERSION=${PYTHON_VER} -TEST_TARGET= tests - -CONFLICTS= py*-ansible-base py*-ansible2 py-ansible-core211 +TEST_ENV= ${MAKE_ENV} # The "python" binary alias is needed for the tests. BINARY_ALIAS= python=${PYTHON_CMD} @@ -99,6 +95,9 @@ pre-test: # Disable some failing tests. They fail to detect that emoji are of width 2 istead of 1. ${RM} ${WRKSRC}/test/units/utils/test_display.py +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ./bin/ansible-test units -v --python ${PYTHON_VER} + .include # Make sure that we override the unique DATADIR and ETCDIR set diff --git a/sysutils/py-ansible-core/distinfo b/sysutils/py-ansible-core/distinfo index 6040e7e18745..ba4fb6d6087e 100644 --- a/sysutils/py-ansible-core/distinfo +++ b/sysutils/py-ansible-core/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1678486345 -SHA256 (ansible-core-2.14.3.tar.gz) = 093a4bc4a1259eaeb56ea37ec1d33cf1836c88f39281d89197f8d3480e068a58 -SIZE (ansible-core-2.14.3.tar.gz) = 11516886 +TIMESTAMP = 1685093572 +SHA256 (ansible-core-2.15.0.tar.gz) = cf690fd4ebb40590e00c5acdc0624758ca4c58d1e4b2b02ec026a034070ebf4d +SIZE (ansible-core-2.15.0.tar.gz) = 10801327