htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit da91b7981026fc9968e32b6194cfc6a51a051055
Author: Hartmut Goebel <h.goe...@crazy-compilers.com>
Date:   Thu Oct 13 14:33:55 2016 +0200

    gnu: Ensure python-cython is a native-input.
    
    * gnu/packages/audio.scm (python-pyliblo): [inputs] Move python-cyton to
      [native-inputs].
    * gnu/packages/bioinformatics.scm (python2-pybedtools): dito.
    * gnu/packages/music.scm (beast, python-pyportmidi): dito.
    * gnu/packages/python.scm (python2-fastlmm, python-kivy): dito.
---
 gnu/packages/audio.scm          |    5 +++--
 gnu/packages/bioinformatics.scm |    6 +++---
 gnu/packages/music.scm          |    8 ++++----
 gnu/packages/python.scm         |    6 +++---
 4 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 4d1505a..f3397e1 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1329,9 +1329,10 @@ implementation of the Open Sound Control (OSC) 
protocol.")
                "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
     (build-system python-build-system)
     (arguments `(#:tests? #f)) ;no tests
+    (native-inputs
+     `(("python-cython" ,python-cython)))
     (inputs
-     `(("python-cython" ,python-cython)
-       ("liblo" ,liblo)))
+     `(("liblo" ,liblo)))
     (home-page "http://das.nasophon.de/pyliblo/";)
     (synopsis "Python bindings for liblo")
     (description
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1ffc848..11c32c5 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -520,13 +520,13 @@ intended to behave exactly the same as the original BWK 
awk.")
     (build-system python-build-system)
     (arguments `(#:python ,python-2)) ; no Python 3 support
     (inputs
-     `(("python-cython" ,python2-cython)
-       ("python-matplotlib" ,python2-matplotlib)))
+     `(("python-matplotlib" ,python2-matplotlib)))
     (propagated-inputs
      `(("bedtools" ,bedtools)
        ("samtools" ,samtools)))
     (native-inputs
-     `(("python-pyyaml" ,python2-pyyaml)
+     `(("python-cython" ,python2-cython)
+       ("python-pyyaml" ,python2-pyyaml)
        ("python-nose" ,python2-nose)))
     (home-page "https://pythonhosted.org/pybedtools/";)
     (synopsis "Python wrapper for BEDtools programs")
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 5822463..591964e 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -980,7 +980,6 @@ Laurens Hammond and Don Leslie.")
      `(("rapicorn" ,rapicorn)
        ("guile" ,guile-1.8)
        ("python" ,python-2)
-       ("cython" ,python2-cython)
        ("libgnomecanvas" ,libgnomecanvas)
        ("libogg" ,libogg)
        ("libmad" ,libmad)
@@ -991,6 +990,7 @@ Laurens Hammond and Don Leslie.")
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("glib:bin" ,glib "bin")
+       ("cython" ,python2-cython)
        ("perl" ,perl)
        ("perl-xml-parser" ,perl-xml-parser)))
     (home-page "https://testbit.eu/wiki/Beast_Home";)
@@ -1273,10 +1273,10 @@ using a system-independent interface.")
              #t)))))
     (inputs
      `(("portmidi" ,portmidi)
-       ("alsa-lib" ,alsa-lib)
-       ("python-cython" ,python-cython)))
+       ("alsa-lib" ,alsa-lib)))
     (native-inputs
-     `(("unzip" ,unzip)))
+     `(("python-cython" ,python-cython)
+       ("unzip" ,unzip)))
     (home-page "http://portmedia.sourceforge.net/portmidi/";)
     (synopsis "Python bindings to PortMidi")
     (description
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f9b41bd..7aedc19 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9715,10 +9715,10 @@ and/or Xon/Xoff.  The port is accessed in RAW mode.")
                                     "/include/SDL2"))
              #t)))))
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)
+       ("python-cython" ,python-cython)))
     (inputs
-     `(("python-cython" ,python-cython)
-       ("gstreamer" ,gstreamer)
+     `(("gstreamer" ,gstreamer)
        ("mesa" ,mesa)
        ("sdl-union"
         ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))))

Reply via email to