Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:17:43 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: 69198c65e919 - main - devel/py-pyrfc3339: Convert to USE_PYTHON=pep517
Message-ID:  <202405131417.44DEHhJk086555@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=69198c65e919d17aea5e87779806d4f7412acf2e

commit 69198c65e919d17aea5e87779806d4f7412acf2e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:37 +0000

    devel/py-pyrfc3339: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-pyrfc3339/Makefile             |  5 ++++-
 devel/py-pyrfc3339/files/patch-setup.py | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/devel/py-pyrfc3339/Makefile b/devel/py-pyrfc3339/Makefile
index 4abf7c8574b5..43c84538d9eb 100644
--- a/devel/py-pyrfc3339/Makefile
+++ b/devel/py-pyrfc3339/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyrfc3339
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW=		https://github.com/kurtraschke/pyRFC3339
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils nose
+USE_PYTHON=	autoplist concurrent pep517 nose
 
 NO_ARCH=	yes
 
diff --git a/devel/py-pyrfc3339/files/patch-setup.py b/devel/py-pyrfc3339/files/patch-setup.py
new file mode 100644
index 000000000000..5b7e632846ab
--- /dev/null
+++ b/devel/py-pyrfc3339/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2018-06-10 23:56:54 UTC
++++ setup.py
+@@ -4,7 +4,7 @@ setup(
+     long_description = readme.read()
+ 
+ setup(
+-    name = "pyRFC3339",
++    name = "pyrfc3339",
+     version = "1.1",
+     author = "Kurt Raschke",
+     author_email = "kurt@kurtraschke.com",



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