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

From: Ricardo Wurmus <[email-masked]>
Date: Tue, 07 Feb 2023 10:30:23 +0100

Mădălin Ionel Patrașcu <[email-masked]> 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