[Python-modules-commits] [pysvn] 04/12: merge patched into master

Josué Ortega josue at moszumanska.debian.org
Mon Oct 10 04:13:57 UTC 2016


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

josue pushed a commit to branch master
in repository pysvn.

commit 47938bd40ce258211e9270ec3317ac907a2b6aa9
Merge: 4218edb 6517cce
Author: Josue Ortega <josue at debian.org>
Date:   Sun Oct 9 21:20:10 2016 -0600

    merge patched into master

 debian/.git-dpm                                                     | 4 ++--
 ...pport.patch.patch => 0001-fix-multiple-arch-support.patch.patch} | 6 +++---
 debian/patches/series                                               | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --cc debian/.git-dpm
index 5a0fe92,0000000..508a108
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- 308ecf97edc2b2227656ff0967332e3bea7dc573
- 308ecf97edc2b2227656ff0967332e3bea7dc573
++6517cce631395551c9e615d2256db420c41d8a9d
++6517cce631395551c9e615d2256db420c41d8a9d
 +fdbb6c2ae0eaa851c9dbee243b205588a2ec1fa0
 +fdbb6c2ae0eaa851c9dbee243b205588a2ec1fa0
 +pysvn_1.9.4.orig.tar.gz
 +3403eef6cc38dc9cb2dc5795e488bcfe458644d5
 +405817
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-fix-multiple-arch-support.patch.patch
index c3ed8ef,0000000..52a2d6a
mode 100644,000000..100644
--- a/debian/patches/0001-fix-multiple-arch-support.patch.patch
+++ b/debian/patches/0001-fix-multiple-arch-support.patch.patch
@@@ -1,85 -1,0 +1,85 @@@
- From 308ecf97edc2b2227656ff0967332e3bea7dc573 Mon Sep 17 00:00:00 2001
++From 6517cce631395551c9e615d2256db420c41d8a9d Mon Sep 17 00:00:00 2001
 +From: Josue Ortega <josue at debian.org>
 +Date: Sun, 9 Oct 2016 21:16:25 -0600
- Subject: Patch-Name: fix-multiple-arch-support.patch
++Subject: =?UTF-8?q?fix-multiple-arch-support.patch=0AFixes=20issue=20build?=
++ =?UTF-8?q?ing=20the=20package=20on=20archs=20that=20are=20not=20amd64?=
 +
- Fixes issue building the package on archs that are not amd64
 +---
 + Source/setup_configure.py | 34 ++++++++++++++++++++++++++++++++--
 + 1 file changed, 32 insertions(+), 2 deletions(-)
 +
 +diff --git a/Source/setup_configure.py b/Source/setup_configure.py
 +index 27aaf7c..f99f64f 100644
 +--- a/Source/setup_configure.py
 ++++ b/Source/setup_configure.py
 +@@ -14,6 +14,7 @@
 + #
 + import sys
 + import os
 ++import subprocess
 + import distutils
 + import distutils.sysconfig
 + import distutils.util
 +@@ -21,6 +22,25 @@ import distutils.util
 + import xml.dom.minidom
 + import xml.sax
 + 
 ++def get_debian_lib_directory():
 ++    debian_lib_path = "/usr/lib/ %(arch_name)s"
 ++    _process = subprocess.Popen(["dpkg-architecture", "-qDEB_HOST_MULTIARCH"],
 ++                               stdout=subprocess.PIPE)
 ++    _stdout, _stderr = _process.communicate()
 ++
 ++    if _stderr is not None:
 ++        return None
 ++
 ++    _arch = _stdout.replace("\n", "")
 ++    _debian_lib_path = debian_lib_path % {
 ++        "arch_name" : _arch
 ++    }
 ++
 ++    print('Debian lib directory %s\n', _debian_lib_path)
 ++
 ++    return _debian_lib_path
 ++
 ++
 + class SetupError(Exception):
 +     pass
 + 
 +@@ -1184,6 +1204,8 @@ class UnixCompilerGCC(CompilerGCC):
 +     def __init__( self, setup ):
 +         CompilerGCC.__init__( self, setup )
 + 
 ++        _debian_arch = get_debian_lib_directory()
 ++
 +         self._find_paths_pycxx_dir = [
 +                         distutils.sysconfig.get_python_inc(), # typical Linux
 +                         '/usr/include'
 +@@ -1210,8 +1232,13 @@ class UnixCompilerGCC(CompilerGCC):
 +                         '/usr/local/lib64',                     # typical 64bit Linux
 +                         '/usr/local/lib',                       # typical *BSD
 +                         '/usr/pkg/lib',                         # netbsd
 +-                        '/usr/lib/x86_64-linux-gnu',            # debian/unbuntu
 ++                        # '/usr/lib/x86_64-linux-gnu',          # debian/unbuntu
 +                         ]
 ++
 ++        if _debian_arch is not None \
 ++           and _debian_arch not in self._find_paths_svn_lib:
 ++            self._find_paths_svn_lib.append(_debian_arch)
 ++
 +         self._find_paths_apr_inc = [
 +                         '/usr/include/apr-1',                   # typical Linux
 +                         '/usr/include/apr-1.0',                 # typical Linux
 +@@ -1230,8 +1257,11 @@ class UnixCompilerGCC(CompilerGCC):
 +                         '/usr/local/lib',                       # typical *BSD
 +                         '/usr/local/apr/lib',                   # Mac OS X www.metissian.com
 +                         '/usr/pkg/lib',                         # netbsd
 +-                        '/usr/lib/x86_64-linux-gnu',            # debian/unbuntu
 ++                        # '/usr/lib/x86_64-linux-gnu',          # debian/unbuntu
 +                         ]
 ++        if _debian_arch is not None \
 ++           and _debian_arch not in self._find_paths_apr_lib:
 ++            self._find_paths_apr_lib.append(_debian_arch)
 + 
 +         self._completeInit()
 + 
diff --cc debian/patches/series
index a85baf4,0000000..83284f4
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,1 @@@
- 0001-Patch-Name-fix-multiple-arch-support.patch.patch
++0001-fix-multiple-arch-support.patch.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pysvn.git



More information about the Python-modules-commits mailing list