git: 2bdab657eb20 - main - devel/py-py-stackexchange: Move devel/py-stackexchange to devel/py-py-stackexchange

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:17:32 UTC
The branch main has been updated by sunpoet:

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

commit 2bdab657eb20efb3c0558f11efc1870f92b97c63
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 15:59:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:01:16 +0000

    devel/py-py-stackexchange: Move devel/py-stackexchange to devel/py-py-stackexchange
    
    - Convert to USE_PYTHON=pep517
---
 MOVED                                                     | 1 +
 devel/Makefile                                            | 2 +-
 devel/{py-stackexchange => py-py-stackexchange}/Makefile  | 7 ++++---
 devel/{py-stackexchange => py-py-stackexchange}/distinfo  | 0
 devel/{py-stackexchange => py-py-stackexchange}/pkg-descr | 0
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/MOVED b/MOVED
index 84a5a7bee126..58b1186e1261 100644
--- a/MOVED
+++ b/MOVED
@@ -3378,3 +3378,4 @@ graphics/intel-backlight||2024-07-01|Has expired: Use backlight(8)
 www/yarn-node21||2024-07-02|Removed, part of www/node21
 www/npm-node21||2024-07-02|Removed, part of www/node21
 security/bcrypt||2024-07-02|Has expired: Hasn't seen updates in 15 years, insecure Blowfish ECB mode, unauthenticated encryption
+devel/py-stackexchange|devel/py-py-stackexchange|2024-07-06|Move devel/py-stackexchange to devel/py-py-stackexchange
diff --git a/devel/Makefile b/devel/Makefile
index 6953c730b614..fe5ebab299e9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5378,6 +5378,7 @@
     SUBDIR += py-py
     SUBDIR += py-py-partiql-parser
     SUBDIR += py-py-serializable
+    SUBDIR += py-py-stackexchange
     SUBDIR += py-py-ubjson
     SUBDIR += py-py3nvml
     SUBDIR += py-pyTooling
@@ -5777,7 +5778,6 @@
     SUBDIR += py-sre-yield
     SUBDIR += py-srsly
     SUBDIR += py-stack-data
-    SUBDIR += py-stackexchange
     SUBDIR += py-statgrab
     SUBDIR += py-statsd
     SUBDIR += py-stdlib-list
diff --git a/devel/py-stackexchange/Makefile b/devel/py-py-stackexchange/Makefile
similarity index 66%
rename from devel/py-stackexchange/Makefile
rename to devel/py-py-stackexchange/Makefile
index f46a5b7e120d..46468bc88a47 100644
--- a/devel/py-stackexchange/Makefile
+++ b/devel/py-py-stackexchange/Makefile
@@ -1,9 +1,8 @@
-PORTNAME=	stackexchange
+PORTNAME=	py-stackexchange
 PORTVERSION=	2.2.7
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	py-${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Python binding to the StackExchange website APIs
@@ -12,10 +11,12 @@ WWW=		https://github.com/lucjon/Py-StackExchange
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-stackexchange/distinfo b/devel/py-py-stackexchange/distinfo
similarity index 100%
rename from devel/py-stackexchange/distinfo
rename to devel/py-py-stackexchange/distinfo
diff --git a/devel/py-stackexchange/pkg-descr b/devel/py-py-stackexchange/pkg-descr
similarity index 100%
rename from devel/py-stackexchange/pkg-descr
rename to devel/py-py-stackexchange/pkg-descr