git: 02d497c601ad - main - textproc/py-docstring-parser: Move to textproc/py-docstring_parser

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 25 Mar 2025 07:07:08 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02d497c601ad01bb76b7a9b7214d127a4a41b5eb

commit 02d497c601ad01bb76b7a9b7214d127a4a41b5eb
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-03-25 07:05:37 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-03-25 07:05:37 +0000

    textproc/py-docstring-parser: Move to textproc/py-docstring_parser
    
    * Rename the port to match upstream naming and remove DISTNAME, which is
      no longer needed.
    
    * Bump PORTREVISION of dependent ports for dependency change.
---
 MOVED                                                           | 1 +
 devel/py-livemark/Makefile                                      | 4 ++--
 devel/py-simple-parsing/Makefile                                | 3 ++-
 misc/py-instructor/Makefile                                     | 4 ++--
 textproc/Makefile                                               | 2 +-
 textproc/{py-docstring-parser => py-docstring_parser}/Makefile  | 3 +--
 textproc/{py-docstring-parser => py-docstring_parser}/distinfo  | 0
 textproc/{py-docstring-parser => py-docstring_parser}/pkg-descr | 0
 textproc/py-pytkdocs/Makefile                                   | 3 ++-
 www/py-google-cloud-aiplatform/Makefile                         | 4 ++--
 x11-toolkits/py-magicgui/Makefile                               | 3 ++-
 11 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/MOVED b/MOVED
index 5cc19891f910..162aa5a81071 100644
--- a/MOVED
+++ b/MOVED
@@ -4219,3 +4219,4 @@ net/clash|net/mihomo|2025-03-23|Project is renamed
 x11-toolkits/Xaw3d|x11-toolkits/libXaw3d|2025-03-23|Rename in preparation to rebase the port forom Slackware to freedesktop.org
 sysutils/pprotectd||2025-03-24|Has expired: Obsolete utility, superseded by protect in base
 www/ytdl|www/yt-dlp|2025-03-24|ytdl doesn't work and is archived upstream, www/yt-dlpld be used instead
+textproc/py-docstring-parser|textproc/py-docstring_parser|2025-03-25|Renamed to match upstream naming
diff --git a/devel/py-livemark/Makefile b/devel/py-livemark/Makefile
index f47f9ced3522..5aa630a260c2 100644
--- a/devel/py-livemark/Makefile
+++ b/devel/py-livemark/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	livemark
 PORTVERSION=	0.110.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,7 +18,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=22.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cached-property>=1.5:devel/py-cached-property@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}deepmerge>=0.3:devel/py-deepmerge@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}docstring-parser>=0.10:textproc/py-docstring-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.10:textproc/py-docstring_parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}frictionless>=4.0:devel/py-frictionless@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gitpython>=3.1:devel/py-gitpython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}giturlparse>=0.10:devel/py-giturlparse@${PY_FLAVOR} \
diff --git a/devel/py-simple-parsing/Makefile b/devel/py-simple-parsing/Makefile
index 9141b5a77c95..8ad55f3e811d 100644
--- a/devel/py-simple-parsing/Makefile
+++ b/devel/py-simple-parsing/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	simple-parsing
 PORTVERSION=	0.1.7
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}poetry-dynamic-versioning>=1.0.0<2.0.0:devel/py-poetry-dynamic-versioning@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring-parser>=0.15<1:textproc/py-docstring-parser@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15<1:textproc/py-docstring_parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python
diff --git a/misc/py-instructor/Makefile b/misc/py-instructor/Makefile
index 9751987cb72c..58e41fbb3a2e 100644
--- a/misc/py-instructor/Makefile
+++ b/misc/py-instructor/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	instructor
 DISTVERSION=	0.6.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openai>=1.1.0<2.0.0:misc/py-openai@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.2<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}docstring-parser>=0.15<0.16:textproc/py-docstring-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15<0.16:textproc/py-docstring_parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typer>=0.9.0<1.0.0:devel/py-typer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=13.7.0<14.0.0:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9.1<4.0.0:www/py-aiohttp@${PY_FLAVOR} \
diff --git a/textproc/Makefile b/textproc/Makefile
index bb0a47a2fcd4..421993bb73f4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1364,8 +1364,8 @@
     SUBDIR += py-dict2xml
     SUBDIR += py-diff-match-patch
     SUBDIR += py-docrepr
-    SUBDIR += py-docstring-parser
     SUBDIR += py-docstring-to-markdown
+    SUBDIR += py-docstring_parser
     SUBDIR += py-docutils
     SUBDIR += py-docx-generator
     SUBDIR += py-docx2txt
diff --git a/textproc/py-docstring-parser/Makefile b/textproc/py-docstring_parser/Makefile
similarity index 89%
rename from textproc/py-docstring-parser/Makefile
rename to textproc/py-docstring_parser/Makefile
index 2557944745a3..c7e104a09978 100644
--- a/textproc/py-docstring-parser/Makefile
+++ b/textproc/py-docstring_parser/Makefile
@@ -1,10 +1,9 @@
-PORTNAME=	docstring-parser
+PORTNAME=	docstring_parser
 DISTVERSION=	0.15
 PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	docstring_parser-${DISTVERSION}
 
 MAINTAINER=	kai@FreeBSD.org
 COMMENT=	Parse Python docstrings in ReST, Google and Numpydoc format
diff --git a/textproc/py-docstring-parser/distinfo b/textproc/py-docstring_parser/distinfo
similarity index 100%
rename from textproc/py-docstring-parser/distinfo
rename to textproc/py-docstring_parser/distinfo
diff --git a/textproc/py-docstring-parser/pkg-descr b/textproc/py-docstring_parser/pkg-descr
similarity index 100%
rename from textproc/py-docstring-parser/pkg-descr
rename to textproc/py-docstring_parser/pkg-descr
diff --git a/textproc/py-pytkdocs/Makefile b/textproc/py-pytkdocs/Makefile
index 0a077f92cfd8..e443641fcdd2 100644
--- a/textproc/py-pytkdocs/Makefile
+++ b/textproc/py-pytkdocs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pytkdocs
 DISTVERSION=	0.16.5
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -27,6 +28,6 @@ OPTIONS_DEFINE=		NUMPYSTYLE
 OPTIONS_DEFAULT=	NUMPYSTYLE
 
 NUMPYSTYLE_DESC=	Enable support for Numpy docstrings
-NUMPYSTYLE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring-parser>=0.7:textproc/py-docstring-parser@${PY_FLAVOR}
+NUMPYSTYLE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.7:textproc/py-docstring_parser@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/www/py-google-cloud-aiplatform/Makefile b/www/py-google-cloud-aiplatform/Makefile
index 9490017c6f84..a4c112b6c786 100644
--- a/www/py-google-cloud-aiplatform/Makefile
+++ b/www/py-google-cloud-aiplatform/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	google-cloud-aiplatform
 DISTVERSION=	1.74.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www # machine-learning
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,7 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.34.1:www/py-google-api-co
 		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.3<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2:devel/py-protobuf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}shapely>0:devel/py-shapely@${PY_FLAVOR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}docstring-parser<1:textproc/py-docstring-parser@${PY_FLAVOR} \
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}docstring_parser<1:textproc/py-docstring_parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2<3:devel/py-pydantic2@${PY_FLAVOR}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pandas>=1.0.0:math/py-pandas@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyarrow>=6.0.1:databases/py-pyarrow@${PY_FLAVOR}
diff --git a/x11-toolkits/py-magicgui/Makefile b/x11-toolkits/py-magicgui/Makefile
index 2c3ebf09a3ef..64a485773ff5 100644
--- a/x11-toolkits/py-magicgui/Makefile
+++ b/x11-toolkits/py-magicgui/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	magicgui
 DISTVERSION=	0.10.0
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring-parser>=0.7:textproc/py-docstring-parser@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.7:textproc/py-docstring_parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psygnal>=0.6.1:devel/py-psygnal@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}QtPy>=1.7.0:devel/py-QtPy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}superqt>=0.6.1:x11-toolkits/py-superqt@${PY_FLAVOR} \