Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Robin Cook (f28501343191f0a30b01cf32895632d06725fddd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Robin Cook <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Robin Cook (f28501343191f0a30b01cf32895632d06725fddd)
  • Date: Thu, 9 Dec 2010 19:23:11 -0600

GIT changes to master grimoire by Robin Cook <rcook AT wyrms.net>:

graphics-libs/pythonmagick/HISTORY | 4 ++
graphics-libs/pythonmagick/PRE_BUILD | 7
+++
graphics-libs/pythonmagick/fix_detection_of_python_includedir.patch | 19
++++++++++
3 files changed, 30 insertions(+)

New commits:
commit f28501343191f0a30b01cf32895632d06725fddd
Author: Robin Cook <rcook AT wyrms.net>
Commit: Robin Cook <rcook AT wyrms.net>

pythonmagick: added PRE_BUILD to apply patch

diff --git a/graphics-libs/pythonmagick/HISTORY
b/graphics-libs/pythonmagick/HISTORY
index 3b4d64b..150162c 100644
--- a/graphics-libs/pythonmagick/HISTORY
+++ b/graphics-libs/pythonmagick/HISTORY
@@ -1,3 +1,7 @@
+2010-12-09 Robin Cook <rcook AT wyrms.net>
+ * PRE_BUILD: added to apply patch
+
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/pythonmagick/files/pythonmagick-0.9.2-fix_detection_of_python_includedir.patch?view=markup
+
2010-09-26 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* DEPENDS, DETAILS: spell created

diff --git a/graphics-libs/pythonmagick/PRE_BUILD
b/graphics-libs/pythonmagick/PRE_BUILD
new file mode 100755
index 0000000..74fa595
--- /dev/null
+++ b/graphics-libs/pythonmagick/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+
+cd $SOURCE_DIRECTORY &&
+
+patch -p1 < $SPELL_DIRECTORY/fix_detection_of_python_includedir.patch &&
+
+./autogen.pl
diff --git
a/graphics-libs/pythonmagick/fix_detection_of_python_includedir.patch
b/graphics-libs/pythonmagick/fix_detection_of_python_includedir.patch
new file mode 100644
index 0000000..59e4788
--- /dev/null
+++ b/graphics-libs/pythonmagick/fix_detection_of_python_includedir.patch
@@ -0,0 +1,19 @@
+diff -urN pythonmagick-orig/m4/ax_python.m4 pythonmagick-mod/m4/ax_python.m4
+--- pythonmagick-orig/m4/ax_python.m4 2010-12-09 19:14:29.981000110 -0600
++++ pythonmagick-mod/m4/ax_python.m4 2010-12-09 19:16:25.274000110 -0600
+@@ -58,13 +58,13 @@
+ AC_DEFUN([AX_PYTHON],
+ [AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1
python; do
++for python in python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
python2.1 python; do
+ AC_CHECK_PROGS(PYTHON_BIN, [$python])
+ ax_python_bin=$PYTHON_BIN
+ if test x$ax_python_bin != x; then
+ AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin,
ax_python_lib=no)
+ AC_CHECK_HEADER([$ax_python_bin/Python.h],
+- [[ax_python_header=`locate $ax_python_bin/Python.h | sed -e
s,/Python.h,,`]],
++ [[ax_python_header=`$ax_python_bin -c 'import sys; print(sys.prefix +
"/include/python%s.%s" % sys.version_info[:2])'`]],
+ ax_python_header=no)
+ if test $ax_python_lib != no; then
+ if test $ax_python_header != no; then



  • [SM-Commit] GIT changes to master grimoire by Robin Cook (f28501343191f0a30b01cf32895632d06725fddd), Robin Cook, 12/09/2010

Archive powered by MHonArc 2.6.24.

Top of Page