Date: Mon, 22 Mar 2010 13:38:09 GMT From: Keith Gaughan <k@stereochro.me> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144955: Mk/bsd.sites.mk: PyPI mirror URLs are given incorrectly (missing trailing slashes) Message-ID: <201003221338.o2MDc9k3028693@www.freebsd.org> Resent-Message-ID: <201003221340.o2MDe3hA049621@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144955 >Category: ports >Synopsis: Mk/bsd.sites.mk: PyPI mirror URLs are given incorrectly (missing trailing slashes) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 22 13:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Keith Gaughan >Release: 7.1 >Organization: >Environment: FreeBSD lir 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I noticed the problem when I was working on a patch to update devel/py-gevent from 0.12.0 to 0.12.2. Essentially, while the URL for fetching from the primary PyPI site is fine, the URLs for fetching from the PyPI mirrors are incorrect. For instance, http://pypi.zopyx.com/geventgevent-0.12.0.tar.gz should be http://pypi.zopyx.com/gevent/gevent-0.12.0.tar.gz >How-To-Repeat: Run "make fetch-recursive-list" on any Python library port listed in PyPI. devel/py-gevent is a good example, if you don't have it installed. >Fix: Patch for Mk/bsd.sites.mk supplied. Patch attached with submission follows: --- bsd.sites.mk 2010-03-22 12:58:20.000000000 +0000 +++ bsd.sites.mk 2010-03-22 12:58:43.000000000 +0000 @@ -128,13 +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/-//} + 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?201003221338.o2MDc9k3028693>