From nobody Tue Jul 16 15:41:16 2024 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 4WNjwG5sSQz5RVL6; Tue, 16 Jul 2024 15:41:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WNjwD4Qdqz4W2g; Tue, 16 Jul 2024 15:41:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721144476; 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=3WDFMD0bKAaO2hX6URspQ5M6oEFKue8EHtfUXQjW+U4=; b=y4Jv3WSaAq1lTa0Hw03oIAjek0Snmi9H49MNgCUYHyhrYi3rc7l0HXASRd4kkkpmUO6XAW sgl2SO/nM8cqzpb+0Po6yVeBNOORRVIe2cYFopt/jjdBoFOlfIxYIZjVUqo/YvXVHEFrWb z+/Lyy3qiDKDFAiPVTv9Vj0rPRwWwJZ21m2lm2Ha36oAF0TX5KcOaZZpalIr/K2sG1IMEv LpVgTOtICkdKEFSgSrzP3IUJNXDQR0j2L7w7Q8TuETMCTwS6hJ/6hpZMTXd68Ui5lpUjmw PV32dnPQ831aGyWP1j77zUpV+7yGIzGWWAm4gAtvmtzNKAv6SPxc5xVYJBcj4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721144476; a=rsa-sha256; cv=none; b=LiZSL88z1ZOeoN7EvImE7DRYK8f7nBcXZMlanFhgrUbNIrb+1IyahyKZVbyF2UebURY2PY hDMOKhC3kM41QoADFIUu2iF95V1D/aIhp5i54H05p52n3EWDqNu1xwK80qjj4KN/o1ABqV /9qRiVXTd/Zp7ZkGN/g+TN8H+0Ah5/hjMaqx/mSqxJfFeLC3NufOjsrvVN82IIeOBEjcaP X6lyYPRr1L4tlQ6j7uL1QkjwxR+QcXJ28IlNiIvzIANo+wjJdKKRdPOcZI+2j8vGIthItH gPY6/HGD1ioTmXXIDqM4xCVFn2WcG/E/biik21BdCgQo5WF17LUARcmCNapFBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721144476; 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=3WDFMD0bKAaO2hX6URspQ5M6oEFKue8EHtfUXQjW+U4=; b=JL0HFnviCPTU33nJPIpC3KJ6q4UZpkcav0BuM4iF3FDLyfXdEzVLKiSyvbHI8KHxskcvDk FnXSH3133iPX1pExXoHUiG4+NLVJiWnC2m2ailKse3e4wi9bFQpuuYSb1uMxVob5Wrp8BJ DAJPDOPva73n7fDWL7EcTc2ysvRVzF1odUzdqM5Wg3FYIbWvDRgw4lxPQtvsLgeBVc3FCb koMpypkC701YHg7Aderd12K8WQNC36wdUwiNIS1sVjpmjVLsQnUhNZs84PTvL6SSl/p6AG L1t8XiWsgk4DS10xmshju5wCndFEmYx1XYWoxYO30Uw4d77MnxAhkSfcJgy7HA== 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 4WNjwD3Z2bzhXF; Tue, 16 Jul 2024 15:41:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46GFfG8O018954; Tue, 16 Jul 2024 15:41:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46GFfGS6018951; Tue, 16 Jul 2024 15:41:16 GMT (envelope-from git) Date: Tue, 16 Jul 2024 15:41:16 GMT Message-Id: <202407161541.46GFfGS6018951@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 786b1966fa6c - main - devel/py-unidep: Add PIP_COMPILE, RICH and TOML options 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 786b1966fa6c8f20b3979ac2b3c86aeecbe784ac Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=786b1966fa6c8f20b3979ac2b3c86aeecbe784ac commit 786b1966fa6c8f20b3979ac2b3c86aeecbe784ac Author: Po-Chuan Hsieh AuthorDate: 2024-07-16 15:38:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-16 15:38:55 +0000 devel/py-unidep: Add PIP_COMPILE, RICH and TOML options --- devel/py-unidep/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/devel/py-unidep/Makefile b/devel/py-unidep/Makefile index df42452903c4..eecdc9567383 100644 --- a/devel/py-unidep/Makefile +++ b/devel/py-unidep/Makefile @@ -22,4 +22,18 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include +OPTIONS_DEFINE= PIP_COMPILE RICH TOML +OPTIONS_DEFAULT=TOML +PIP_COMPILE_DESC= pip-compile integration +RICH_DESC= Help formatter via rich + +PIP_COMPILE_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}pip-tools>=0:devel/py-pip-tools@${PY_FLAVOR} +RICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rich-argparse>=0:devel/py-rich-argparse@${PY_FLAVOR} + +.include + +.if ${PORT_OPTIONS:MTOML} && ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include