From 2945a814f2e0075d3e76e1b67bb4da8baa42493b Mon Sep 17 00:00:00 2001 From: jhermann Date: Mon, 12 Mar 2018 23:28:17 +0100 Subject: [PATCH] adapt PyPI download to new pypi.org layout --- debianized-devpi/debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debianized-devpi/debian/rules b/debianized-devpi/debian/rules index f3f8f9d..0bbf226 100755 --- a/debianized-devpi/debian/rules +++ b/debianized-devpi/debian/rules @@ -20,9 +20,9 @@ PREINSTALL=--preinstall "setuptools>=17.1" --preinstall "pip>8" --preinstall "wh # Version of "devpi" meta package DEVPI_SERVER_VERSION=4.4.0 -DEVPI_SERVER_PYPI="https://pypi.python.org/simple/devpi-server/" -DEVPI_URL=$(DEVPI_SERVER_PYPI)$(shell curl -sL $(DEVPI_SERVER_PYPI) \ - | grep devpi-server-$(DEVPI_SERVER_VERSION).tar.gz | cut -f2 -d'"' | cut -f1 -d\#) +DEVPI_SERVER_PYPI="https://pypi.python.org/" +DEVPI_URL=$(DEVPI_SERVER_PYPI)$(shell curl -sL $(DEVPI_SERVER_PYPI)simple/devpi-server/ \ + | grep devpi-server-$(DEVPI_SERVER_VERSION).tar.gz | cut -f2 -d'"' | cut -f1 -d\# | sed -re 's~^[./]+~~') # Use a specific repo to build the package? ##PYPI_URL="--pypi-url=https://devpi.net/hpk/dev"