diff --git a/infrastructure/db/network.conf b/infrastructure/db/network.conf index 694a8e1294a..ddb8d0e241c 100644 --- a/infrastructure/db/network.conf +++ b/infrastructure/db/network.conf @@ -1,4 +1,4 @@ -# $OpenBSD: network.conf,v 1.26 2024/04/29 05:12:48 matthieu Exp $ +# $OpenBSD: network.conf,v 1.27 2025/01/10 11:44:18 sthen Exp $ # List of OpenBSD sites SITE_OPENBSD ?= \ @@ -141,7 +141,7 @@ SITE_APACHE+= \ https://archive.apache.org/dist/ SITE_PYPI += \ - https://pypi.io/packages/source/ + https://files.pythonhosted.org/packages/source/ SITE_RUBYGEMS += \ https://rubygems.org/downloads/ diff --git a/misc/portroach/Makefile b/misc/portroach/Makefile index 13d24af29b6..5a73c16dcc5 100644 --- a/misc/portroach/Makefile +++ b/misc/portroach/Makefile @@ -3,7 +3,7 @@ COMMENT= OpenBSD ports distfile version scanner GH_ACCOUNT= jasperla GH_PROJECT= portroach GH_TAGNAME= 2.0.11 -REVISION= 7 +REVISION= 8 CATEGORIES= misc diff --git a/misc/portroach/patches/patch-Portroach_SiteHandler_PyPI_pm b/misc/portroach/patches/patch-Portroach_SiteHandler_PyPI_pm new file mode 100644 index 00000000000..814cfbd104c --- /dev/null +++ b/misc/portroach/patches/patch-Portroach_SiteHandler_PyPI_pm @@ -0,0 +1,12 @@ +Index: Portroach/SiteHandler/PyPI.pm +--- Portroach/SiteHandler/PyPI.pm.orig ++++ Portroach/SiteHandler/PyPI.pm +@@ -73,7 +73,7 @@ sub CanHandle + + my ($url) = @_; + +- return ($url =~ /https:\/\/pypi\.io\//); ++ return ($url =~ /https:\/\/(files\.pythonhosted\.org|pypi\.io)\//); + } + +