git: da33eaab9218 - main - devel/b2: rename devel/py-b2

From: Craig Leres <leres_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 17:46:24 UTC
The branch main has been updated by leres:

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

commit da33eaab92181d1989c9ef3c70d617eca579ed9f
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-11-14 17:45:51 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-11-14 17:45:51 +0000

    devel/b2: rename devel/py-b2
    
    PR:             241138
---
 MOVED                         | 1 +
 devel/Makefile                | 2 +-
 devel/{b2 => py-b2}/Makefile  | 3 ++-
 devel/{b2 => py-b2}/distinfo  | 0
 devel/{b2 => py-b2}/pkg-descr | 0
 5 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/MOVED b/MOVED
index 2407afb282b0..6e24a0447e78 100644
--- a/MOVED
+++ b/MOVED
@@ -3721,3 +3721,4 @@ lang/gcc11-devel|lang/gcc11|2024-11-12|GCC 11 reached end of life; use the final
 sysutils/hammer2|filesystems/hammer2|2024-11-13|Moved to new category filesystems
 sysutils/ods2|filesystems/ods2|2024-11-13|Moved to new category filesystems
 sysutils/ztop|filesystems/ztop|2024-11-13|Moved to new category filesystems
+devel/b2|py-b2|2024-11-14|Add py- prefix
diff --git a/devel/Makefile b/devel/Makefile
index e64fa0f42543..1e9a4180b102 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -282,7 +282,6 @@
     SUBDIR += aws-sdk-php
     SUBDIR += axmldec
     SUBDIR += ayatana-ido
-    SUBDIR += b2
     SUBDIR += babelflow
     SUBDIR += babeltrace
     SUBDIR += bacnet-stack
@@ -4525,6 +4524,7 @@
     SUBDIR += py-azure-synapse-artifacts
     SUBDIR += py-azure-synapse-managedprivateendpoints
     SUBDIR += py-azure-synapse-spark
+    SUBDIR += py-b2
     SUBDIR += py-b2sdk
     SUBDIR += py-babel
     SUBDIR += py-babelfish
diff --git a/devel/b2/Makefile b/devel/py-b2/Makefile
similarity index 94%
rename from devel/b2/Makefile
rename to devel/py-b2/Makefile
index e3ae8a41d3b2..3b24a0f771ac 100644
--- a/devel/b2/Makefile
+++ b/devel/py-b2/Makefile
@@ -2,6 +2,7 @@ PORTNAME=	b2
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.2.0
 CATEGORIES=	devel
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	leres@FreeBSD.org
 COMMENT=	Command Line Interface for Backblaze's B2 storage service
@@ -25,7 +26,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argcomplete>=2:devel/py-argcomplete@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}tqdm>=4.65.0:misc/py-tqdm@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent pep517
+USE_PYTHON=	autoplist concurrent optsuffix pep517
 
 CONFLICTS_INSTALL=	boost_build
 
diff --git a/devel/b2/distinfo b/devel/py-b2/distinfo
similarity index 100%
rename from devel/b2/distinfo
rename to devel/py-b2/distinfo
diff --git a/devel/b2/pkg-descr b/devel/py-b2/pkg-descr
similarity index 100%
rename from devel/b2/pkg-descr
rename to devel/py-b2/pkg-descr