From nobody Sun Mar 31 03:40:14 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 4V6fzg2dZfz5GhMp; Sun, 31 Mar 2024 03:40:15 +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 4V6fzg0sW7z4GYv; Sun, 31 Mar 2024 03:40:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711856415; 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=e3YQaFnM3ssB7J//rsAbGO1DTlZ8WPEwMPJKfgN+EPI=; b=bXx4U63q7KnukNjKgtc9wT8ltG13LwDuSVHUdORWG443/N/K2mOvrr6xXpnoVJqrJHelKX pYDzbCrqLtIjB82d4mYkNrexOM2Hc10bkLeXfmDtwv2sI9HqcLzs4wg/JYs6502BTWfFYx 0dpmgQjtfAGdvYNjmNIxT3K2EW+DmRVe7PHOMx2OXPRtPV8qU7Xlcv5oh0einhmqUsUqqe niKVgu/x6BqMNKDjndcDDkeOg+egMChyuIMEG8H+3AzMP5b2gEUUtMxWtOM1K2uNb4e4nD lhOtzB8JDZ0acFaY9xXLGPuad4zOd1HP/4E8Mlprsp6Mo2qiPoRuIZvUE9ZIrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711856415; a=rsa-sha256; cv=none; b=gv9zJCGgVd0BYfhk7Tr+124poSDEw3Y0Zz4Fw2c7o0qNRuijrFJRXBSIrB28ZYc5XNKdy4 v/jsAB4i7Wo7xUT8nbb/nMCgID4/bgA4MCT90WbzlzlM0p3OPGI3BCS0GnY0gWoNojmhIf ovqScA5HNVKmefWQDv8Im58mo742f6dRtoeJ82aVbEAr+p8Ic7MSv1tAGg96FmBRMmecEA QvsR23+AAF15UXi4fcqr3G15dHk6gUY0AxybC7zrUOF7kmWe0/0ElIzjVINHrV4/TEp0im zBdZseDvKIwO2nuGhLK5LquQBknhdiVLn/CfjXMl+d0b6nkOVcfwroScBs+1fA== 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=1711856415; 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=e3YQaFnM3ssB7J//rsAbGO1DTlZ8WPEwMPJKfgN+EPI=; b=XuCV9OutzwFzqv4iGWwj94oyoevasOq6yACzP4VMFpFT+hW7NV+fviUW8mVIKISZDl9dxN sX66k+YPV5yN5KKFGSLmNYOef9kGH9wL7s9QLmnCmNA0KVitSnEV2biHMHNG/vgUyB9V7E NvDtAc/Tj4zGHMm4BgyP8VxRZhiW2WIN4ZDuptr36EsI3IXcaP7YZOOPwWdMXYEDFUFaJk Dbh0f1UY0H0pmbORcdWpLxPdoD9YdGGokg6WFNZFKxD7qs20uudQfJxgaIIGZwS/dXDhs/ lD4s+xWnNlVZzipqe38GRrWcQuemLXBDzX4nVKS0uFo6lZhjDyNgrEIvJSB3pA== 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 4V6fzf6yW1zLw5; Sun, 31 Mar 2024 03:40:14 +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 42V3eEpS085224; Sun, 31 Mar 2024 03:40:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42V3eECw085212; Sun, 31 Mar 2024 03:40:14 GMT (envelope-from git) Date: Sun, 31 Mar 2024 03:40:14 GMT Message-Id: <202403310340.42V3eECw085212@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: c267814fa939 - main - devel/py-platformdirs: Update to 4.2.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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c267814fa9390e4ba23bf85adfc0130b5b8349db Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c267814fa9390e4ba23bf85adfc0130b5b8349db commit c267814fa9390e4ba23bf85adfc0130b5b8349db Author: Po-Chuan Hsieh AuthorDate: 2024-03-31 03:06:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-31 03:06:36 +0000 devel/py-platformdirs: Update to 4.2.0 Changes: https://github.com/platformdirs/platformdirs/releases --- devel/py-platformdirs/Makefile | 9 +++----- devel/py-platformdirs/distinfo | 6 +++--- .../files/patch-src-platformdirs-__init__.py | 24 ---------------------- 3 files changed, 6 insertions(+), 33 deletions(-) diff --git a/devel/py-platformdirs/Makefile b/devel/py-platformdirs/Makefile index 46164bcc49e8..3adbc7cdd2e4 100644 --- a/devel/py-platformdirs/Makefile +++ b/devel/py-platformdirs/Makefile @@ -1,5 +1,5 @@ PORTNAME= platformdirs -PORTVERSION= 3.11.0 +PORTVERSION= 4.2.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,15 +12,12 @@ WWW= https://platformdirs.readthedocs.io/en/latest/ \ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hatchling>=1.17.1:devel/py-hatchling@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.18:devel/py-hatchling@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${RM} ${WRKSRC}/src/platformdirs/__init__.py.orig - .include diff --git a/devel/py-platformdirs/distinfo b/devel/py-platformdirs/distinfo index 35ceb5a5fb03..e5a8c77ae8c9 100644 --- a/devel/py-platformdirs/distinfo +++ b/devel/py-platformdirs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696432932 -SHA256 (platformdirs-3.11.0.tar.gz) = cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 -SIZE (platformdirs-3.11.0.tar.gz) = 19914 +TIMESTAMP = 1711466154 +SHA256 (platformdirs-4.2.0.tar.gz) = ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768 +SIZE (platformdirs-4.2.0.tar.gz) = 20055 diff --git a/devel/py-platformdirs/files/patch-src-platformdirs-__init__.py b/devel/py-platformdirs/files/patch-src-platformdirs-__init__.py deleted file mode 100644 index 888ea5137b6b..000000000000 --- a/devel/py-platformdirs/files/patch-src-platformdirs-__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -Workaround for setuptools-scm 6.x - ->>> import platformdirs -Traceback (most recent call last): - File "", line 1, in - File "/usr/local/lib/python3.9/site-packages/platformdirs/__init__.py", line 17, in - from .version import __version__ -ImportError: cannot import name '__version__' from 'platformdirs.version' (/usr/local/lib/python3.9/site-packages/platformdirs/version.py) - -Reference: https://github.com/pypa/setuptools_scm/commit/b45e19f9f275a31873fd5e07faabef16fd0bbec0 - ---- src/platformdirs/__init__.py.orig 2020-02-02 00:00:00 UTC -+++ src/platformdirs/__init__.py -@@ -9,8 +9,8 @@ import sys - from typing import TYPE_CHECKING - - from .api import PlatformDirsABC --from .version import __version__ --from .version import __version_tuple__ as __version_info__ -+from .version import version -+from .version import version_tuple as __version_info__ - - if TYPE_CHECKING: - from pathlib import Path