[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47582] [PATCH 2/2] gnu: Add python-pysctp.
From: |
Maxime Devos |
Subject: |
[bug#47582] [PATCH 2/2] gnu: Add python-pysctp. |
Date: |
Sat, 03 Apr 2021 18:12:06 +0200 |
User-agent: |
Evolution 3.34.2 |
On Sat, 2021-04-03 at 17:28 +0200, Hartmut Goebel wrote:
> * gnu/packages/networking.scm(python-pysctp): New variable.
> ---
> gnu/packages/networking.scm | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> [...]
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'patch-setup.py
> + (lambda _
> + (substitute* "setup.py"
> + (("include_dirs\\s*=.*")
> + (string-append "include_dirs = ['.'] + '"
> + (getenv "C_INCLUDE_PATH") "'.split(':'),"))
> + (("library_dirs\\s*=.*")
> + (string-append "library_dirs = '"
> + (getenv "LIBRARY_PATH") "'.split(':'),")))
> + #t)))))
Phases do not need to return #t anymore. IIUC the warning message that results
if it is left out has been removed on core-updates.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
Message not available