git: 7df0ad6647fc - main - www/py-django41: Fix MASTER_SITES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 15:40:59 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7df0ad6647fc626b1438ff7142af100bfb5e7247 commit 7df0ad6647fc626b1438ff7142af100bfb5e7247 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-10-09 15:33:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-10-09 15:38:08 +0000 www/py-django41: Fix MASTER_SITES https://www.djangoproject.com/m/releases/ redirects to https://media.djangoproject.com/releases/ but the URL is incorrect (returns 404). --- www/py-django41/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/py-django41/Makefile b/www/py-django41/Makefile index 90e4cbc678ed..bc0956025721 100644 --- a/www/py-django41/Makefile +++ b/www/py-django41/Makefile @@ -1,9 +1,8 @@ PORTNAME= django PORTVERSION= 4.1.2 CATEGORIES= www python -MASTER_SITES= https://media.djangoproject.com/releases/4.1/ \ - CHEESESHOP \ - https://www.djangoproject.com/m/releases/${PORTVERSION}/ +MASTER_SITES= CHEESESHOP \ + https://media.djangoproject.com/releases/${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 41 DISTNAME= Django-${PORTVERSION}