git: 4bb76413dcb6 - main - www/py-django40: Fix MASTER_SITES

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 15:40:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4bb76413dcb64a14b8fe7ad974afe9ef749e4727

commit 4bb76413dcb64a14b8fe7ad974afe9ef749e4727
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:33:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:38:08 +0000

    www/py-django40: 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-django40/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/py-django40/Makefile b/www/py-django40/Makefile
index 067116185a25..535adc081a75 100644
--- a/www/py-django40/Makefile
+++ b/www/py-django40/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	django
 PORTVERSION=	4.0.8
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP \
-		https://www.djangoproject.com/m/releases/${PORTVERSION}/
+		https://media.djangoproject.com/releases/${PORTVERSION:R}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 PKGNAMESUFFIX=	40
 DISTNAME=	Django-${PORTVERSION}