Control: tags 954628 + patch
Control: tags 954628 + pending

Dear maintainer,

I've prepared an NMU for pycallgraph (versioned as 1.1.3-1.2) and 
uploaded it to DELAYED/6. Please feel free to tell me if I should
cancel it.

cu
Adrian
diff -Nru pycallgraph-1.1.3/debian/changelog pycallgraph-1.1.3/debian/changelog
--- pycallgraph-1.1.3/debian/changelog	2020-03-12 13:18:59.000000000 +0200
+++ pycallgraph-1.1.3/debian/changelog	2020-04-13 22:59:48.000000000 +0300
@@ -1,3 +1,10 @@
+pycallgraph (1.1.3-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix the build with Python 3.8. (Closes: #954628)
+
+ -- Adrian Bunk <[email protected]>  Mon, 13 Apr 2020 22:59:48 +0300
+
 pycallgraph (1.1.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru pycallgraph-1.1.3/debian/rules pycallgraph-1.1.3/debian/rules
--- pycallgraph-1.1.3/debian/rules	2020-03-12 13:18:59.000000000 +0200
+++ pycallgraph-1.1.3/debian/rules	2020-04-13 22:59:48.000000000 +0300
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-PYTHON3=$(shell py3versions -vr)
+PYTHON3=$(shell py3versions -d)
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
@@ -9,8 +9,8 @@
 	dh_auto_install
 
 	# rename the module
-	mv debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2 debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph
-	mv debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2-1.1.3.egg-info debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph-1.1.3.egg-info
+	mv debian/python3-pycallgraph/usr/lib/${PYTHON3}/dist-packages/pycallgraph2 debian/python3-pycallgraph/usr/lib/${PYTHON3}/dist-packages/pycallgraph
+	mv debian/python3-pycallgraph/usr/lib/${PYTHON3}/dist-packages/pycallgraph2-1.1.3.egg-info debian/python3-pycallgraph/usr/lib/${PYTHON3}/dist-packages/pycallgraph-1.1.3.egg-info
 
 	# and make sure every module/script imports get renamed too
 	find debian/python3-pycallgraph/usr/ -type f -exec sed -i 's/pycallgraph2/pycallgraph/g' {} \;

Reply via email to