I've applied the simple patch attached to fix the build in Ubuntu (which
has two supported python 3 versions for the moment)
diff -Nru pysvn-1.9.4/debian/changelog pysvn-1.9.4/debian/changelog
--- pysvn-1.9.4/debian/changelog        2016-10-10 04:12:10.000000000 +0000
+++ pysvn-1.9.4/debian/changelog        2017-05-16 01:35:25.000000000 +0000
@@ -1,3 +1,9 @@
+pysvn (1.9.4-2ubuntu1) artful; urgency=medium
+
+  * Only build with default Python 3 as building with multiple versions fails.
+
+ -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Tue, 16 May 2017 
12:46:01 +1200
+
 pysvn (1.9.4-2) unstable; urgency=medium
 
   * Adds patch 0001-fix-multiple-arch-support.patch to support
diff -Nru pysvn-1.9.4/debian/control pysvn-1.9.4/debian/control
--- pysvn-1.9.4/debian/control  2016-10-10 04:12:10.000000000 +0000
+++ pysvn-1.9.4/debian/control  2017-05-16 01:28:10.000000000 +0000
@@ -1,7 +1,8 @@
 Source: pysvn
 Section: python
 Priority: optional
-Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
 Uploaders: Josue Ortega <jo...@debian.org>
 Build-Depends:
  debhelper (>= 9),
@@ -14,8 +15,8 @@
  python-all-dev (>= 2.7.8),
  python-cxx-dev (>= 7.0.1),
  python-setuptools,
- python3-all (>= 3.4.2),
- python3-all-dev (>= 3.4.2),
+ python3 (>= 3.4.2),
+ python3-dev (>= 3.4.2),
  python3-setuptools (>= 5.5.1),
  python3-cxx-dev (>= 7.0.1),
  subversion (>= 1.8.10)
diff -Nru pysvn-1.9.4/debian/rules pysvn-1.9.4/debian/rules
--- pysvn-1.9.4/debian/rules    2016-10-10 04:12:10.000000000 +0000
+++ pysvn-1.9.4/debian/rules    2017-05-16 01:22:08.000000000 +0000
@@ -9,7 +9,7 @@
 DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 PYVERS := $(shell pyversions -vr debian/control)
-PY3VERS := $(shell py3versions -vr debian/control)
+PY3VERS := $(shell py3versions -vd)
 APR_INC        = $(strip $(shell apr-config --includes | sed 's/-I//'))
 
 

Reply via email to