Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 00:03:08 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: cfc623011220 - main - www/py-django50: Convert to USE_PYTHON=pep517
Message-ID:  <202404060003.436038tt080798@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=cfc6230112209958be5ddf47057e04c3edffe2c5

commit cfc6230112209958be5ddf47057e04c3edffe2c5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-06 00:00:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-06 00:00:06 +0000

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

diff --git a/www/py-django50/Makefile b/www/py-django50/Makefile
index 5022c389d84e..5c130e312c3c 100644
--- a/www/py-django50/Makefile
+++ b/www/py-django50/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	django
 PORTVERSION=	5.0.4
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI \
 		https://media.djangoproject.com/releases/${PORTVERSION:R}/
@@ -15,12 +16,14 @@ WWW=		https://www.djangoproject.com/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgiref>=3.7.0:www/py-asgiref@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.1:databases/py-sqlparse@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}
 
 USES=		cpe python shebangfix
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-django50/files/patch-setup.cfg b/www/py-django50/files/patch-setup.cfg
new file mode 100644
index 000000000000..b03c25e3e38d
--- /dev/null
+++ b/www/py-django50/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig	2024-04-03 14:34:02 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = Django
++name = django
+ version = attr: django.__version__
+ url = https://www.djangoproject.com/
+ author = Django Software Foundation



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