diff options
author | Johannes Dewender | 2013-09-27 11:30:51 +0200 |
---|---|---|
committer | Johannes Dewender | 2013-09-27 11:30:51 +0200 |
commit | d91eaf59c507fd2c5bf33763906e7cc4f227810b (patch) | |
tree | 9d3368ab8e2c1ad7bd91a90fe1ecf652ee7b7060 /makefile_supported.patch | |
parent | a6ae93c9be7e83a9888321ec123ea30d32aba006 (diff) | |
download | aur-d91eaf59c507fd2c5bf33763906e7cc4f227810b.tar.gz |
debhelper-python2: 2.7.5
Diffstat (limited to 'makefile_supported.patch')
-rw-r--r-- | makefile_supported.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile_supported.patch b/makefile_supported.patch new file mode 100644 index 000000000000..7da7134925bb --- /dev/null +++ b/makefile_supported.patch @@ -0,0 +1,11 @@ +--- python-defaults-2.7.5/Makefile 2013-09-27 11:12:20.411871795 +0200 ++++ python-defaults-2.7.5/Makefile 2013-09-27 11:22:15.035658573 +0200 +@@ -42,7 +42,7 @@ + check_versions: + @set -e;\ + DEFAULT=`sed -rn 's,^DEFAULT = \(([0-9]+)\, ([0-9]+)\),\1.\2,p' debpython/version.py`;\ +- SUPPORTED=`sed -rn 's,^SUPPORTED = \[\(([0-9]+)\, ([0-9]+)\)\, \(([0-9]+)\, ([0-9]+)\)\],\1.\2 \3.\4,p' debpython/version.py`;\ ++ SUPPORTED=`sed -rn 's,^SUPPORTED = \[\(([0-9]+)\, ([0-9]+)\)\,\],\1.\2,p' debpython/version.py`;\ + DEB_DEFAULT=`sed -rn 's,^default-version = python([0-9.]*),\1,p' debian/debian_defaults`;\ + DEB_SUPPORTED=`sed -rn 's|^supported-versions = (.*)|\1|p' debian/debian_defaults | sed 's/python//g;s/,//g'`;\ + [ "$$DEFAULT" = "$$DEB_DEFAULT" ] || \ |