File: python3.patch

package info (click to toggle)
serpent 1.42-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: java: 4,025; cs: 3,675; python: 1,734; xml: 149; makefile: 38; sh: 11
file content (32 lines) | stat: -rw-r--r-- 670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: change to the 3 version of Python
 Just update the Makefile
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/938469
Last-Update: 2025-11-06

---

--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ all:
 	@echo "targets include dist, upload, install, clean, test, lint"
 
 dist:
-	python setup.py sdist bdist_wheel
+	python3 setup.py sdist bdist_wheel
 	@echo "Look in the dist/ directory"
 
 upload: dist
@@ -12,10 +12,10 @@ upload: dist
 	twine upload dist/*
 
 install:
-	python setup.py install
+	python3 setup.py install
 
 test:
-	PYTHONPATH=. pytest -v tests
+	PYTHONPATH=. python3 setup.py test
 
 lint:
 	pycodestyle