Package: jenkins.debian.net Severity: wishlist Tags: patch Hi,
Attached is the following: commit f8d976951e4728b4a34ac8e04bd50d6e59b82634 Author: Chris Lamb <la...@debian.org> Date: Tue Apr 17 20:02:41 2018 +0100 reproducible Debian: Correct parsing of diffoscope version since recent update of PyPI.org bin/diffoscope_distribution_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
>From f8d976951e4728b4a34ac8e04bd50d6e59b82634 Mon Sep 17 00:00:00 2001 From: Chris Lamb <la...@debian.org> Date: Tue, 17 Apr 2018 20:02:41 +0100 Subject: [PATCH] reproducible Debian: Correct parsing of diffoscope version since recent update of PyPI.org --- bin/diffoscope_distribution_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/diffoscope_distribution_test.sh b/bin/diffoscope_distribution_test.sh index a80050da..17d367ab 100755 --- a/bin/diffoscope_distribution_test.sh +++ b/bin/diffoscope_distribution_test.sh @@ -19,8 +19,8 @@ send_irc_warning() { check_pypi() { TMPPYPI=$(mktemp -t diffoscope-distribution-XXXXXXXX) # the following two lines are a bit fragile⦠- curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI - DIFFOSCOPE_IN_PYPI=$(grep "<title>" $TMPPYPI | cut -d ">" -f2- | cut -d ":" -f1 |cut -d " " -f2) + curl https://pypi.org/project/diffoscope/ -o $TMPPYPI + DIFFOSCOPE_IN_PYPI=$(sed -ne 's@.*diffoscope \([0-9][0-9]*\).*@\1@gp' $TMPPYPI) rm -f $TMPPYPI > /dev/null echo echo -- 2.17.0