diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2007-01-06 15:57:34 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2007-01-06 15:57:34 +0000 |
commit | f22eb7233f7fed424757c153fcfdcfee0105c670 (patch) | |
tree | 0153af69bd630c40b4e874bbc7e83eb4f3c2df0d /dev-python/pycairo/files | |
parent | s/einfo/elog/ (diff) | |
download | historical-f22eb7233f7fed424757c153fcfdcfee0105c670.tar.gz historical-f22eb7233f7fed424757c153fcfdcfee0105c670.tar.bz2 historical-f22eb7233f7fed424757c153fcfdcfee0105c670.zip |
Added examples USE-flag (bug #111508). Dropped old versions. Version bump.
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'dev-python/pycairo/files')
-rw-r--r-- | dev-python/pycairo/files/digest-pycairo-1.2.6 | 3 | ||||
-rw-r--r-- | dev-python/pycairo/files/pycairo-1.2.6-no-automagic-deps.patch | 40 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pycairo/files/digest-pycairo-1.2.6 b/dev-python/pycairo/files/digest-pycairo-1.2.6 new file mode 100644 index 000000000000..9d99d0347013 --- /dev/null +++ b/dev-python/pycairo/files/digest-pycairo-1.2.6 @@ -0,0 +1,3 @@ +MD5 166b04c4800c01aba1a6c8b14e87e0bc pycairo-1.2.6.tar.gz 480714 +RMD160 7b46efa78fd3c303aa7a011bf5ecbe713255edac pycairo-1.2.6.tar.gz 480714 +SHA256 28f01729946721bec2361480f2802da5015e1271ce5cdbe6ff97a1442a19c595 pycairo-1.2.6.tar.gz 480714 diff --git a/dev-python/pycairo/files/pycairo-1.2.6-no-automagic-deps.patch b/dev-python/pycairo/files/pycairo-1.2.6-no-automagic-deps.patch new file mode 100644 index 000000000000..fcb5650715d9 --- /dev/null +++ b/dev-python/pycairo/files/pycairo-1.2.6-no-automagic-deps.patch @@ -0,0 +1,40 @@ +--- pycairo-1.2.2.orig/configure.ac 2006-08-28 22:12:10.000000000 +0200 ++++ pycairo-1.2.2/configure.ac 2006-08-28 22:13:38.000000000 +0200 +@@ -32,6 +32,9 @@ + [AC_HELP_STRING([--with-pygtk], [support pygtk [default=yes]])], + [], + [with_pygtk="yes"]) ++AC_ARG_WITH([numeric], ++ AS_HELP_STRING([--without-numeric], ++ [Build without numeric support (default: test)])) + + + # put the ACLOCAL flags in the makefile +@@ -79,14 +82,19 @@ + AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) + + # Numeric Python +-save_CPPFLAGS="$CPPFLAGS" +-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" +-AC_CHECK_HEADER([Numeric/arrayobject.h], +- [have_numpy=yes], [have_numpy=no], +- [#include <Python.h>]) +-CPPFLAGS="$save_CPPFLAGS" +-if test x$have_numpy = xyes; then +- AC_DEFINE(HAVE_NUMPY, [1], [Define to 1 if Numeric python is found]) ++if test "x$with_numeric" != "xno"; then ++ save_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" ++ AC_CHECK_HEADER([Numeric/arrayobject.h], ++ [have_numpy=yes], [have_numpy=no], ++ [#include <Python.h>]) ++ CPPFLAGS="$save_CPPFLAGS" ++ if test x$have_numpy = xyes; then ++ AC_DEFINE(HAVE_NUMPY, [1], [Define to 1 if Numeric python is found]) ++ fi ++else ++ # only needed for the summary printed at the end of configure ++ have_numpy=no + fi + + # checks for types and compilers --- |