File: python.patch

package info (click to toggle)
newt 0.52.20-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,932 kB
  • sloc: ansic: 9,281; python: 713; makefile: 263; sh: 38; xml: 7
file content (18 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (4)
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)