[adios] 01/01: Patch from Steve Langasek for python3.5 transition. Closes: #793449

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 24 08:56:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository adios.

commit ade5a8071c10cef53571683a1871abafd3d2eced
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Jul 24 09:06:33 2015 +0100

    Patch from Steve Langasek for python3.5 transition. Closes: #793449
---
 debian/changelog | 6 ++++++
 debian/rules     | 8 ++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c0f9cfb..f0fd38c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+adios (1.8.0-4~exp1) UNRELEASED; urgency=medium
+
+  * Patch from Steve Langasek for python3.5 transition. Closes: #793449 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Fri, 24 Jul 2015 08:13:01 +0100
+
 adios (1.8.0-3) experimental; urgency=medium
 
   * Build against libnetcdff-dev for netcdf-transition.
diff --git a/debian/rules b/debian/rules
index 75c5c8b..902c3d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -87,10 +87,14 @@ override_dh_auto_install:
 	for p in $(PY3VERS); do \
 		v=`echo $$p | cut -c7,9` ;\
 		CYV=cpython-$${v}m ;\
+		CYVM=cpython-$${v}m-${DEB_HOST_MULTIARCH} ;\
+		if [ $$p = python3.5 ]; then \
+			CYV=$$CYVM ;\
+		fi;\
 		mv $(TOP)/debian/tmpp/lib/$${p}/site-packages/adios.$${CYV}.so \
-			debian/tmp/usr/lib/python3/dist-packages/adios.$${CYV}-${DEB_HOST_MULTIARCH}.so  ; \
+			debian/tmp/usr/lib/python3/dist-packages/adios.$${CYVM}.so  ; \
 		mv $(TOP)/debian/tmpp/lib/$${p}/site-packages/adios_mpi.$${CYV}.so \
-			debian/tmp/usr/lib/python3/dist-packages/adios_mpi.$${CYV}-${DEB_HOST_MULTIARCH}.so  ; \
+			debian/tmp/usr/lib/python3/dist-packages/adios_mpi.$${CYVM}.so  ; \
 	done
 	mv $(TOP)/debian/tmpp/lib/${PY2VERS}/site-packages/adios_mpi.so \
 		debian/tmp/usr/lib/${PY2VERS}/dist-packages/adios_mpi.${DEB_HOST_MULTIARCH}.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/adios.git



More information about the debian-science-commits mailing list