guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#61220] [PATCH 10/10] gnu: Add r-adacgh2.


From: Ricardo Wurmus
Subject: [bug#61220] [PATCH 10/10] gnu: Add r-adacgh2.
Date: Tue, 07 Feb 2023 10:30:23 +0100
User-agent: mu4e 1.8.13; emacs 28.2

Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> writes:

> * gnu/packages/bioconductor.scm (r-adacgh2): New variable.
[…]
>  (define-module (gnu packages bioconductor)
>    #:use-module ((guix licenses) #:prefix license:)
> +  #:use-module (guix gexp)
[…]
> +    (arguments
> +     (list
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-before 'configure 'set-PYTHONPATH
> +            (lambda _
> +              (setenv "PYTHONPATH"
> +                      (string-append (getcwd) ":"
> +                                     (getenv "GUIX_PYTHONPATH"))))))))

This phase seems unnecessary.

> +    ;; This is needed by toMap.py script which is not compatible with python3
> +    (inputs (list python2-minimal))

The only reason for Python 2 is the outdated “print”, which is not
called as a function but used as a statement.  I patched it instead.

-- 
Ricardo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]