Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2010 09:20:46 GMT
From:      Sofian Brabez <sbrabez@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144759: [patch] Mk/bsd.sites.mk : add pypi mirrors
Message-ID:  <201003150920.o2F9KkUR016320@www.freebsd.org>
Resent-Message-ID: <201003150930.o2F9U66J040569@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144759
>Category:       ports
>Synopsis:       [patch] Mk/bsd.sites.mk : add pypi mirrors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 15 09:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sofian Brabez
>Release:        FreeBSD 8.0-RELEASE-p2 i386
>Organization:
>Environment:
FreeBSD freebsd.ifr.lan 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 26 18:56:36 CET 2010     root@freebsd.ifr.lan:/usr/obj/usr/src/sys/FREEBSD  i386
>Description:
This patch will add new public mirrors in the ${MASTER_SITE_CHEESESHOP} macro in Mk/bsd.sites.mk file.

Like this, we could make happy portlint(1) for python related ports which have often one url into the MASTER_SITES at this moment.

These publics mirrors are from the PyPI replication project [1]. 
They were tested on the devel/py-setproctitle/ ports [2].

[1] http://www.coactivate.org/projects/pypi-mirroring
[2] http://freebsd.pastebin.com/gyRigUaz
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- bsd.sites.mk.orig	2010-03-12 16:24:17.000000000 +0100
+++ bsd.sites.mk	2010-03-12 17:14:28.000000000 +0100
@@ -128,6 +128,13 @@
 .if !defined(IGNORE_MASTER_SITE_CHEESESHOP)
 MASTER_SITE_CHEESESHOP+=	\
 	http://pypi.python.org/packages/%SUBDIR%/ \
+	http://pypi.d9t.de/${DISTNAME:S/${DISTVERSION}//:S/-//} \
+	http://pypi.inqbus.de/${DISTNAME:S/${DISTVERSION}//:S/-//} \
+	http://pypi.it.uwosh.edu/${DISTNAME:S/${DISTVERSION}//:S/-//} \
+	http://pypi.netsight.co.uk/${DISTNAME:S/${DISTVERSION}//:S/-//} \
+	http://pypi.python.jp/${DISTNAME:S/${DISTVERSION}//:S/-//} \
+	http://pypi.websushi.org/${DISTNAME:S/${DISTVERSION}//:S/-//} \
+	http://pypi.zopyx.com/${DISTNAME:S/${DISTVERSION}//:S/-//}
 .endif
 
 .if !defined(IGNORE_MASTER_SITE_COMP_SOURCES)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003150920.o2F9KkUR016320>