Package: newt / 0.52.17-1

python.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Alastair mcKinstry <mckinstry@debian.org>
Description: Use Debian pyversions tool to get the list of python versions to build
Forwarded: not-needed
Last-Updated: 2014-06-11

Index: newt-0.52.17/Makefile.in
===================================================================
--- newt-0.52.17.orig/Makefile.in
+++ newt-0.52.17/Makefile.in
@@ -13,7 +13,7 @@ TAG = r$(subst .,-,$(VERSION))
 SONAME = @SONAME@
 SOEXT = so
 
-PYTHONVERS = @PYTHONVERS@
+PYTHONVERS = $(shell pyversions --supported; py3versions --supported)
 WHIPTCLLIB = @WHIPTCLLIB@
 ifneq ($(WHIPTCLLIB),)
 WHIPTCLSO = $(WHIPTCLLIB).$(SOEXT)