Skip to content
Snippets Groups Projects
Verified Commit 3e09d339 authored by sunpoet's avatar sunpoet
Browse files

www/py-django42: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
parent 4218c128
No related branches found
No related tags found
No related merge requests found
PORTNAME= django
PORTVERSION= 4.2.11
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.6.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
......
--- setup.cfg.orig 2024-03-04 07:44:07 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment