Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:21:18 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 29d7a8542c06 - main - www/py-flask-socketio: Convert to USE_PYTHON=pep517
Message-ID:  <202306300721.35U7LIcC078359@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 29d7a8542c063be58650d8cf986613fcfbb79920
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:06:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:06:11 +0000

    www/py-flask-socketio: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 www/py-flask-socketio/Makefile              | 5 ++++-
 www/py-flask-socketio/files/patch-setup.cfg | 9 +++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/www/py-flask-socketio/Makefile b/www/py-flask-socketio/Makefile
index e7c61736c5f3..f96435b27623 100644
--- a/www/py-flask-socketio/Makefile
+++ b/www/py-flask-socketio/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	flask-socketio
 PORTVERSION=	5.3.4
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +13,13 @@ WWW=		https://github.com/miguelgrinberg/Flask-SocketIO
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0.9:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-socketio>=5.0.2:devel/py-python-socketio@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-flask-socketio/files/patch-setup.cfg b/www/py-flask-socketio/files/patch-setup.cfg
new file mode 100644
index 000000000000..4885f98ac2ca
--- /dev/null
+++ b/www/py-flask-socketio/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig	2023-05-03 10:34:08 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = Flask-SocketIO
++name = flask-socketio
+ version = 5.3.4
+ author = Miguel Grinberg
+ author_email = miguel.grinberg@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300721.35U7LIcC078359>