From nobody Sun Mar 31 03:40:03 2024 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 4V6fzS3WMBz5GhKn; Sun, 31 Mar 2024 03:40:04 +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 4V6fzR6gKsz4GK4; Sun, 31 Mar 2024 03:40:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711856403; 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=tJCVAEOs3lukPWg/U+7bSaBaWKIAosM2viC2aZFtEyw=; b=ETLJYc+Kt17qrnLvWN+5CQm6RLOy4ga/PZ9Bil2xEiib4BiZrXeIAO/g3E1+ijTe2nBj4k 6rNp9fHpQXd5gg8gCKujPLhDWkxc70ha2jhlE25tx0Jv4WmN4Dwpc5Dfz1fwvtzq8dawPP /QWjunpkof9uFxFLx5ULVtyD4VZBy8LWyfDkLJGmbxS/Mueicms4joLTUpfWEuNV6GlSLb vgA4fpSJImFeqgt64d0lP2M2b/vKMkaCURPCYbJbavCzpvalSQNKrFRJcqPIS1DR3X38uL firTPlN3UTnfjzVrRs+rrz360ORryEf0EQYSbwjnr7flXfnZRisNlpQR1jFT8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711856403; a=rsa-sha256; cv=none; b=RIIXcZCAJeXHRViuy929HTkiupWX6gv1A75LqmrhJ1ifJjtcF9Khtl0SpJVLbHyBkzoVIu Z+9mOQedm37H+44QZnzd1B16yvbhR5eNpIuAvGAUg+DPKGpHAsqpPcsf1Ma8tJ8PFQhZT4 cdzyLMxN/8e+r5SVqenw8WdNfwAOCkfGOvMCuOQw6f39OnMXo6h2ZR3djjH8H+MqeG91dF HpQlMnyttbrjzgpFQ/BkrWL9PSW0zu7Gl4cxv6IulFZ7/lNqT62N3/UqLl7R1Cnah6OsIC bf434uoZfW0xblXwIyXt43FkVTCR3b2B7IPibgKZGXGOQsZAuABUiyzuSvPXHg== 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=1711856403; 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=tJCVAEOs3lukPWg/U+7bSaBaWKIAosM2viC2aZFtEyw=; b=BjOuuQQsWz35VGREqG+t3gu9H0rT40iaM9xncxVX3S8KcRBQ1Mws0WtjpgcrjbFoH+5r/p y0aTY5ezGfRKZYD1U3M8+d3iHKNKwZfG5izjv54iJA4OfmOFC0fNZgzJHzTx8kiWa5wGR+ cWCJ4x+FDT30qpTjCU1uO6H3RL1frya1wyfThiglheL2JBKJE+WxNPZ4g7xC38StrffDyX 50OBxtiZ/fFvNlE5OfT2bl/mIZPWmpgRljsljj7iOsTIC3sCLm9jJ6kkc8imimnfsBDbAb SiEfiwuMBjYE2sjdpVVVq7Xl2Ev+Gg0jG8ajYw9DgITtUogi7D4iOL2YNg/tRQ== 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 4V6fzR6FjbzLZ4; Sun, 31 Mar 2024 03:40:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42V3e31k080496; Sun, 31 Mar 2024 03:40:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42V3e3xS080490; Sun, 31 Mar 2024 03:40:03 GMT (envelope-from git) Date: Sun, 31 Mar 2024 03:40:03 GMT Message-Id: <202403310340.42V3e3xS080490@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: 47f752537748 - main - devel/py-hatch: Allow build with py-hatchling 1.22.0+ 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 47f75253774882868bd64f6f2f7b0d19d9384dcb Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=47f75253774882868bd64f6f2f7b0d19d9384dcb commit 47f75253774882868bd64f6f2f7b0d19d9384dcb Author: Po-Chuan Hsieh AuthorDate: 2024-03-31 03:06:29 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-31 03:06:29 +0000 devel/py-hatch: Allow build with py-hatchling 1.22.0+ - Bump PORTREVISION for package change Obtained from: https://github.com/pypa/hatch/commit/5271279ae85a45ef42ce91bba3b226133ed92e71 --- devel/py-hatch/Makefile | 3 ++- devel/py-hatch/files/patch-hatchling | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/devel/py-hatch/Makefile b/devel/py-hatch/Makefile index 93dcde8cb4de..920b78a1cb22 100644 --- a/devel/py-hatch/Makefile +++ b/devel/py-hatch/Makefile @@ -1,5 +1,6 @@ PORTNAME= hatch PORTVERSION= 1.9.4 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3.0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.21.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.6:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hatchling>=0<1.22.0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.22.0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hyperlink>=21.0.0:www/py-hyperlink@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keyring>=23.5.0,1:security/py-keyring@${PY_FLAVOR} \ diff --git a/devel/py-hatch/files/patch-hatchling b/devel/py-hatch/files/patch-hatchling new file mode 100644 index 000000000000..72e4ae40dcd8 --- /dev/null +++ b/devel/py-hatch/files/patch-hatchling @@ -0,0 +1,24 @@ +Obtained from: https://github.com/pypa/hatch/commit/5271279ae85a45ef42ce91bba3b226133ed92e71 + +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -39,7 +39,7 @@ dependencies = [ + ] + dependencies = [ + "click>=8.0.6", +- "hatchling<1.22", ++ "hatchling", + "httpx>=0.22.0", + "hyperlink>=21.0.0", + "keyring>=23.5.0", +--- src/hatch/cli/build/__init__.py.orig 2020-02-02 00:00:00 UTC ++++ src/hatch/cli/build/__init__.py +@@ -57,7 +57,7 @@ def build(app: Application, location, targets, hooks_o + from hatch.config.constants import AppEnvVars + from hatch.utils.fs import Path + from hatch.utils.structures import EnvVars +- from hatchling.builders.constants import BuildEnvVars ++ from hatchling.builders.constants import EDITABLES_REQUIREMENT, BuildEnvVars + from hatchling.builders.plugin.interface import BuilderInterface + + path = str(Path(location).resolve()) if location else None