git: b1d940646da9 - main - devel/py-magic: Add some HTTP MASTER_SITES

Li-Wen Hsu lwhsu at FreeBSD.org
Wed Jun 23 10:10:47 UTC 2021


The branch main has been updated by lwhsu:

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

commit b1d940646da910dee1864a6997f8668f5211fe05
Author:     Li-Wen Hsu <lwhsu at FreeBSD.org>
AuthorDate: 2021-06-23 10:09:12 +0000
Commit:     Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-06-23 10:09:12 +0000

    devel/py-magic: Add some HTTP MASTER_SITES
    
    Requested by:   Loic F <loic.f at hardenedbsd.org>
---
 devel/py-magic/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/devel/py-magic/Makefile b/devel/py-magic/Makefile
index 532d0c712b1b..c7548a65a48d 100644
--- a/devel/py-magic/Makefile
+++ b/devel/py-magic/Makefile
@@ -3,9 +3,11 @@
 PORTNAME=	magic
 PORTVERSION=	5.40
 CATEGORIES=	devel python
-MASTER_SITES=	ftp://ftp.astron.com/pub/file/ \
+MASTER_SITES=	https://astron.com/pub/file/ \
+		ftp://ftp.astron.com/pub/file/ \
 		ftp://ftp.gw.com/mirrors/pub/unix/file/ \
-		ftp://ftp.fu-berlin.de/unix/tools/file/
+		ftp://ftp.fu-berlin.de/unix/tools/file/ \
+		https://www.mirrorservice.org/sites/distfiles.macports.org/file/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	file-${PORTVERSION}
 
@@ -15,7 +17,7 @@ COMMENT=	Python module for determining file type
 LICENSE=	BSD2CLAUSE
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 # both install module as magic.py
 CONFLICTS=	${PYTHON_PKGNAMEPREFIX}python-magic-*


More information about the dev-commits-ports-main mailing list