Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2024 16:29:03 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: 8eaa211af27c - main - devel/py-statsd: Convert to USE_PYTHON=pep517
Message-ID:  <202407061629.466GT3N7083562@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=8eaa211af27cc3746c84e89ab51fd37336ec8499

commit 8eaa211af27cc3746c84e89ab51fd37336ec8499
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:12:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:12:12 +0000

    devel/py-statsd: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-statsd/Makefile       | 9 +++++----
 devel/py-statsd/files/setup.py | 3 ---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/devel/py-statsd/Makefile b/devel/py-statsd/Makefile
index ea61b7171ac6..37ea8df4c329 100644
--- a/devel/py-statsd/Makefile
+++ b/devel/py-statsd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	statsd
 PORTVERSION=	4.0.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,12 @@ WWW=		https://github.com/jsocol/pystatsd
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-post-patch:
-	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
 .include <bsd.port.mk>
diff --git a/devel/py-statsd/files/setup.py b/devel/py-statsd/files/setup.py
deleted file mode 100644
index 606849326a40..000000000000
--- a/devel/py-statsd/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()



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