[Python-modules-commits] [mod-wsgi] 01/01: * Fix min/max Python 3 version determination for multiple versions. (closes: #866575)

Scott Kitterman kitterman at moszumanska.debian.org
Sat Jul 8 17:20:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

kitterman pushed a commit to branch master
in repository mod-wsgi.

commit 8a3cee53c0c544d0789ed4d44fcb714380ffdc9e
Author: Scott Kitterman <scott at kitterman.com>
Date:   Sat Jul 8 13:20:02 2017 -0400

    * Fix min/max Python 3 version determination for multiple versions.
      (closes: #866575)
---
 debian/changelog | 13 +++++++++++++
 debian/rules     |  4 ++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b398340..8569b0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+mod-wsgi (4.5.11-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+
+  [ Bas Couwenberg ]
+  * Fix min/max Python 3 version determination for multiple versions.
+    (closes: #866575)
+
+  [ Felix Geyer ]
+  * Remove myself from Uploaders.
+
+ -- Scott Kitterman <scott at kitterman.com>  Sat, 08 Jul 2017 13:04:06 -0400
+
 mod-wsgi (4.5.11-1) unstable; urgency=medium
 
   * [8d515a5] Merge tag 'upstream/4.5.11'
diff --git a/debian/rules b/debian/rules
index d39b22d..d536d9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,8 @@ PYMIN=$(shell echo $(PYVERS) | awk '{print $$1}')
 PYMAX=$(shell echo $(PYVERS) | LANG=C awk '{print $$NF+0.1}')
 PY3VERS=$(shell py3versions -vs)
 PY3DEFAULT=$(shell py3versions -dv)
-PY3MIN=$(shell echo $(PY3VERS) | awk '{print $$1}')
-PY3MAX=$(shell echo $(PY3VERS) | LANG=C awk '{print $$NF+0.1}')
+PY3MIN=$(shell for VERSION in $(PY3VERS); do echo $$VERSION; done | sort | head -1)
+PY3MAX=$(shell for VERSION in $(PY3VERS); do echo $$VERSION; done | sort | tail -1 | LANG=C awk '{print $$NF+0.1}')
 pkgdir = $(CURDIR)/debian/$(PACKAGE)$(if $(patsubst 3.%,,$(1)),,-py3)
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/mod-wsgi.git



More information about the Python-modules-commits mailing list