From nobody Fri Feb 27 11:04:17 2026 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 4fMlnz20hSz6Sk7N for ; Fri, 27 Feb 2026 11:04:23 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fMlnz0Xbdz4KjQ for ; Fri, 27 Feb 2026 11:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1772190263; 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=AmXtFJPAzGY6xYs3ARcimQmgJaJKUDZD0QJMUPeCKcE=; b=S5x5HSjV3eaBwY4bsH7H5guuGeE7gt0orL/kVbNvg1D9K1CoH4nU1x0pAheEnK4r3rAwY+ f2zz7nYd+dy51NdAjBBD4Me451tD82pKiPjnkuBdQi6oOIvVdWn20zokzreP53KBn4bzHN 082dfgdFiwfU9cbObNveVREYx/Q47a1lKO3t7NoPr+QnnSuol/8llQq3aW337pD9kQFLLD P64ZDRo5urGOCnI51ba5CaUxO8k3DdTZtqcNqizuFdyULQ+N49geo7URE+5T8xfhuajk4X Q4gOS0AVOlbbQRjgiPR44BlahMSPAqrE0UEXYwEkHJjkClJmaoc7Aikp6ovEjA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1772190263; a=rsa-sha256; cv=none; b=Fb6gBp9QBgRhB+E/qblWsIbinGmc28ashDF3Q3bRR+ai220IsOBm1NxmSw8V66uWVAjyCk 2VF8hnY38SXNp9BM3RSU9N80VsyO6Lr5oN7e87nTxVAff5F7pOrRwTcGaC3CoPHVZhdYcj MzmvdjCt9QGeO1+g+ulOfuigcXuJKZMOjH3GIYagPEx6/4hzVyAYMLxI5V1m7GC5NfqQtF jjMRGhX7CvVKcrDssG2teE997LWEBPeKc2STxlxhlRZe0EJz9FWpA0CRLEKV/F5ePVq2rP t+jUq0t4rrTX6jEy2jlHfZLpKPjyIq7hmtMDnjpMr0hqepdaTuLsv0M5yit8tw== 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=1772190263; 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=AmXtFJPAzGY6xYs3ARcimQmgJaJKUDZD0QJMUPeCKcE=; b=CVlfZFGcOj8Qh5s4m1ssbUGuGFUrpZ6/37/jeJ0DVAKoujPIJtNyAvWW4nlO34iBqmkuuW GC+GTfsjHDdoKt15Zn1ESUe7BxsSQaCwt4T+sLGGOBXw1UQ5K3SeulnQHxgIlorhKNsLsw v/oYe1SEne3X0+J60xx8GQ2G5VQXkiPTI8xV2vKVG2hkoCAfRJ8j7BHqEcp/95rzBGZm4Z l/rSJYXgETc8yY3XlqQcr2EzTQtNnq9D7PzGAoanT5jfSjNHyLK1BXDlTy9f1qn+p7dTis aFL0C5tFWICurAXEgRAZrluOpp1O+BymkMTJa4EV7qF+Z0NTlOfSMIsN/Jis7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fMlny6ZR7zTk for ; Fri, 27 Feb 2026 11:04:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 382b7 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 27 Feb 2026 11:04:17 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 4c230a4963f7 - main - devel/py-python-discovery: Add new port 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: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4c230a4963f79da26c044565914dd9f0bf5174a2 Auto-Submitted: auto-generated Date: Fri, 27 Feb 2026 11:04:17 +0000 Message-Id: <69a17a31.382b7.17addaa7@gitrepo.freebsd.org> The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c230a4963f79da26c044565914dd9f0bf5174a2 commit 4c230a4963f79da26c044565914dd9f0bf5174a2 Author: Nicola Vitale AuthorDate: 2026-02-27 11:02:39 +0000 Commit: Nicola Vitale CommitDate: 2026-02-27 11:04:12 +0000 devel/py-python-discovery: Add new port You may have multiple Python versions installed on your machine – system Python, versions from pyenv, mise, asdf, uv, or the Windows registry (PEP 514). python-discovery finds the right one for you. Give it a requirement like python3.12 or >=3.11,<3.13, and python-discovery searches all known locations, verifies each candidate, and returns detailed metadata about the match. Results are cached to disk so repeated lookups are fast. https://pypi.org/project/python-discovery/ --- devel/Makefile | 1 + devel/py-python-discovery/Makefile | 23 +++++++++++++++++++++++ devel/py-python-discovery/distinfo | 3 +++ devel/py-python-discovery/pkg-descr | 8 ++++++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 56647ff80497..cae02f39dd8e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5841,6 +5841,7 @@ SUBDIR += py-python-dateutil SUBDIR += py-python-dbusmock SUBDIR += py-python-decouple + SUBDIR += py-python-discovery SUBDIR += py-python-distutils-extra SUBDIR += py-python-dtrace SUBDIR += py-python-easyconfig diff --git a/devel/py-python-discovery/Makefile b/devel/py-python-discovery/Makefile new file mode 100644 index 000000000000..cc5b84d314d3 --- /dev/null +++ b/devel/py-python-discovery/Makefile @@ -0,0 +1,23 @@ +PORTNAME= python-discovery +DISTVERSION= 1.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S|-|_|g}-${DISTVERSION} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Python interpreter discovery +WWW= https://pypi.org/project/python-discovery/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.5.0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.28.0:devel/py-hatchling@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-python-discovery/distinfo b/devel/py-python-discovery/distinfo new file mode 100644 index 000000000000..cb0855159007 --- /dev/null +++ b/devel/py-python-discovery/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1772187914 +SHA256 (python_discovery-1.1.0.tar.gz) = 447941ba1aed8cc2ab7ee3cb91be5fc137c5bdbb05b7e6ea62fbdcb66e50b268 +SIZE (python_discovery-1.1.0.tar.gz) = 55674 diff --git a/devel/py-python-discovery/pkg-descr b/devel/py-python-discovery/pkg-descr new file mode 100644 index 000000000000..461ceb5c3f35 --- /dev/null +++ b/devel/py-python-discovery/pkg-descr @@ -0,0 +1,8 @@ +You may have multiple Python versions installed on your machine – system +Python, versions from pyenv, mise, asdf, uv, or the Windows registry (PEP 514). +python-discovery finds the right one for you. + +Give it a requirement like python3.12 or >=3.11,<3.13, and python-discovery +searches all known locations, verifies each candidate, and returns detailed +metadata about the match. Results are cached to disk so repeated lookups are +fast.