[Python-modules-commits] [pysvn] 06/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 a359043012c8222f07e782a5c966ef8fc63cda9e
Merge: 47938bd 16d38a1
Author: Josue Ortega <josue at debian.org>
Date:   Sun Oct 9 21:20:41 2016 -0600

    merge patched into master

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

diff --cc debian/.git-dpm
index 508a108,0000000..6b675c4
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
- 6517cce631395551c9e615d2256db420c41d8a9d
- 6517cce631395551c9e615d2256db420c41d8a9d
++16d38a1cb2c2567b13bb92850c636e7d5a9cd903
++16d38a1cb2c2567b13bb92850c636e7d5a9cd903
 +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
index 52a2d6a,0000000..a28f937
mode 100644,000000..100644
--- a/debian/patches/0001-fix-multiple-arch-support.patch
+++ b/debian/patches/0001-fix-multiple-arch-support.patch
@@@ -1,85 -1,0 +1,85 @@@
- From 6517cce631395551c9e615d2256db420c41d8a9d Mon Sep 17 00:00:00 2001
++From 16d38a1cb2c2567b13bb92850c636e7d5a9cd903 Mon Sep 17 00:00:00 2001
 +From: Josue Ortega <josue at debian.org>
 +Date: Sun, 9 Oct 2016 21:16:25 -0600
- Subject: =?UTF-8?q?fix-multiple-arch-support.patch=0AFixes=20issue=20build?=
-  =?UTF-8?q?ing=20the=20package=20on=20archs=20that=20are=20not=20amd64?=
++Subject: =?UTF-8?q?fix-multiple-arch-support=0AFixes=20issue=20building=20?=
++ =?UTF-8?q?the=20package=20on=20archs=20that=20are=20not=20amd64?=
 +
 +---
 + 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 83284f4,0000000..0694593
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,1 @@@
- 0001-fix-multiple-arch-support.patch.patch
++0001-fix-multiple-arch-support.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