public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/libxml2/files: libxml2-2.9.0-manual-python.patch
@ 2012-12-18  7:48 Alexandre Rostovtsev (tetromino)
  0 siblings, 0 replies; only message in thread
From: Alexandre Rostovtsev (tetromino) @ 2012-12-18  7:48 UTC (permalink / raw
  To: gentoo-commits

tetromino    12/12/18 07:48:22

  Added:                libxml2-2.9.0-manual-python.patch
  Log:
  Update to EAPI5 and python-r1.eclass. Always install pre-built docs in a devhelp-compatible location. Add a patch for cleaner multiple python ABI support.
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

Revision  Changes    Path
1.1                  dev-libs/libxml2/files/libxml2-2.9.0-manual-python.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxml2/files/libxml2-2.9.0-manual-python.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxml2/files/libxml2-2.9.0-manual-python.patch?rev=1.1&content-type=text/plain

Index: libxml2-2.9.0-manual-python.patch
===================================================================
From 2a74d41325c9e8043a2beec8b957ddf66f57cfd5 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue, 18 Dec 2012 02:09:14 -0500
Subject: [PATCH] build/test/install python bindings manually

To support building for multiple python ABIs, we want to skip checks for
python in configure, and build/test/install python bindings manually.
---
 configure.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index 3d5f48b..b467c51 100644
--- a/configure.in
+++ b/configure.in
@@ -748,7 +748,7 @@ PYTHON_INCLUDES=
 PYTHON_SITE_PACKAGES=
 PYTHON_TESTS=
 pythondir=
-if test "$with_python" != "no" ; then
+if false ; then
     if test -x "$with_python/bin/python"
     then
         echo Found python in $with_python/bin/python
@@ -823,7 +823,7 @@ if test "$with_python" != "no" ; then
 else
     PYTHON=
 fi
-AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
+AM_CONDITIONAL(WITH_PYTHON, test "$with_python" != "no")
 if test "$PYTHON_INCLUDES" != ""
 then
     PYTHON_SUBDIR=python
@@ -1429,7 +1429,7 @@ else
     echo "Enabled Schemas/Relax-NG support"
     WITH_SCHEMAS=1
     TEST_SCHEMAS="Schemastests Relaxtests"
-    if test "$PYTHON_INCLUDES" != "" ; then
+    if test "$with_python" != "no" ; then
         PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
     fi
     with_regexps=yes
-- 
1.8.0.2






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-18  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18  7:48 [gentoo-commits] gentoo-x86 commit in dev-libs/libxml2/files: libxml2-2.9.0-manual-python.patch Alexandre Rostovtsev (tetromino)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox