mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
www/py-django42: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
4218c128a3
commit
3e09d339cf
@ -1,5 +1,6 @@
|
||||
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
|
||||
|
||||
|
9
www/py-django42/files/patch-setup.cfg
Normal file
9
www/py-django42/files/patch-setup.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
--- 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
|
Loading…
Reference in New Issue
Block a user