From 21e9fee042e47aab42bbe785f94cac64ed6fec73 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 1 May 2013 22:24:49 +0200 Subject: gnu: Have python paths set automatically.. * gnu/packages/xorg.scm (meas): Drop special handling of python paths. * gnu/packages/xml.scm (libxslt): Drop special handling of python paths. --- gnu/packages/xml.scm | 11 ----------- gnu/packages/xorg.scm | 10 +--------- 2 files changed, 1 insertion(+), 20 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 524614b23f..6edff473da 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -103,17 +103,6 @@ (define-public libxslt ("libxml2" ,libxml2) ("python" ,python) ("zlib" ,zlib))) - (arguments - `(#:phases - (alist-replace - 'configure - (lambda* (#:key inputs #:allow-other-keys #:rest args) - (let ((configure (assoc-ref %standard-phases 'configure)) - (libxml2 (assoc-ref inputs "libxml2"))) - ;; FIXME: This should be done more centrally. - (setenv "PYTHONPATH" (string-append libxml2 "/lib/python2.7/site-packages")) - (apply configure args))) - %standard-phases))) (description "Libxslt is an XSLT C library developed for the GNOME project. It is based on libxml for XML parsing, tree manipulation and XPath support.") diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index a1373c47e0..6ac917a382 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -4619,15 +4619,7 @@ (define-public mesa (lambda* (#:key #:allow-other-keys) ;; remove dangling symlink to /usr/include/wine/windows (delete-file "src/gallium/state_trackers/d3d1x/w32api")) - (alist-replace - 'configure - (lambda* (#:key inputs #:allow-other-keys #:rest args) - (let ((configure (assoc-ref %standard-phases 'configure)) - (libxml2 (assoc-ref inputs "libxml2"))) - ;; FIXME: This should be done more centrally. - (setenv "PYTHONPATH" (string-append libxml2 "/lib/python2.7/site-packages")) - (apply configure args))) - %standard-phases)))) + %standard-phases))) (home-page "http://mesa3d.org/") (synopsis "Mesa, an OpenGL implementation") (description "Mesa is a free implementation of the OpenGL specification - -- cgit v1.2.3