tags 948713 +patch

Dear maintainer,

please consider to apply the attached patch.

Thanks

Anton
From d639572ac17b8006dcc0b52997027229eecddd09 Mon Sep 17 00:00:00 2001
From: Anton Gladky <gl...@debian.org>
Date: Sun, 12 Jan 2020 15:30:27 +0100
Subject: [PATCH] Install python3-files into a proper place; Closes: #948713

---
 debian/changelog | 7 +++++++
 debian/rules     | 9 +++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9ac4f59..5feba4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-pygraphviz (1.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Install python3-files into a proper place; Closes: #948713
+
+ -- Anton Gladky <gl...@debian.org>  Sun, 12 Jan 2020 15:28:52 +0100
+
 python-pygraphviz (1.5-2) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/rules b/debian/rules
index 98da16a..d5f531e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,15 @@ ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
 	dh_strip -ppython3-pygraphviz --dbg-package=python3-pygraphviz-dbg
 endif
 
+PYTHON3=$(shell py3versions -r)
+
+override_dh_install:
+	set -e; \
+	for python in $(PYTHON3); do \
+		$$python setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-pygraphviz; \
+		$$python-dbg setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-pygraphviz-dbg; \
+	done
+
 override_dh_installexamples:
 	dh_installexamples -ppython-pygraphviz-doc examples/*
 
-- 
2.24.1

Reply via email to