Skip to content

Commit

Permalink
adapt PyPI download to new pypi.org layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jhermann committed Mar 12, 2018
1 parent 21ea4d1 commit 2945a81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debianized-devpi/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2945a81

Please sign in to comment.