Subject: [bug#58587] [PATCH 02/14] gnu: pypy: Move to separate module.

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 27 Oct 2022 09:28:37 -0400

Hi,

Marius Bakke <[email-masked]> writes:

> From: Lars-Dominik Braun <[email-masked]>
>
> This removes the need to import (gnu packages python-xyz) in (gnu packages
> python), avoiding issues with circular imports.
>
> * gnu/packages/python.scm (pypy): Move…
> * gnu/packages/pypy.scm (pypy): …here
> * gnu/local.mk: Register new file.
>
> Co-authored-by: Marius Bakke <[email-masked]>
> ---
>  gnu/local.mk            |   1 +
>  gnu/packages/pypy.scm   | 273 ++++++++++++++++++++++++++++++++++++++++
>  gnu/packages/python.scm | 167 ------------------------
>  3 files changed, 274 insertions(+), 167 deletions(-)
>  create mode 100644 gnu/packages/pypy.scm
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 8247180bef..bf598cec8b 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -506,6 +506,7 @@ GNU_SYSTEM_MODULES =				\
>    %D%/packages/pure.scm				\
>    %D%/packages/purescript.scm			\
>    %D%/packages/pv.scm				\
> +  %D%/packages/pypy.scm				\
>    %D%/packages/python.scm			\
>    %D%/packages/python-build.scm			\
>    %D%/packages/python-check.scm			\
> diff --git a/gnu/packages/pypy.scm b/gnu/packages/pypy.scm
> new file mode 100644
> index 0000000000..002cfd59cd
> --- /dev/null
> +++ b/gnu/packages/pypy.scm
> @@ -0,0 +1,273 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2013 Nikita Karetnikov <[email-masked]>
> +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2021 Ludovic Courtès <[email-masked]>
> +;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <[email-masked]>
> +;;; Copyright © 2014, 2015 Mark H Weaver <[email-masked]>
> +;;; Copyright © 2014, 2017, 2019 Eric Bavier <[email-masked]>
> +;;; Copyright © 2014, 2015 Federico Beffa <[email-masked]>
> +;;; Copyright © 2015 Omar Radwan <[email-masked]>
> +;;; Copyright © 2015 Pierre-Antoine Rault <[email-masked]>
> +;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <[email-masked]>
> +;;; Copyright © 2015, 2016 Christine Lemmer-Webber <[email-masked]>
> +;;; Copyright © 2015 Eric Dvorsak <[email-masked]>
> +;;; Copyright © 2015, 2016 David Thompson <[email-masked]>
> +;;; Copyright © 2015, 2016, 2017, 2021 Leo Famulari <[email-masked]>
> +;;; Copyright © 2015, 2017 Ben Woodcroft <[email-masked]>
> +;;; Copyright © 2015, 2016 Erik Edrosa <[email-masked]>
> +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <[email-masked]>
> +;;; Copyright © 2015, 2017 Kyle Meyer <[email-masked]>
> +;;; Copyright © 2015, 2016 Chris Marusich <[email-masked]>
> +;;; Copyright © 2016 Danny Milosavljevic <[email-masked]>
> +;;; Copyright © 2016 Lukas Gradl <[email-masked]>
> +;;; Copyright © 2016, 2018 Hartmut Goebel <[email-masked]>
> +;;; Copyright © 2016 Daniel Pimentel <[email-masked]>
> +;;; Copyright © 2016 Sou Bunnbu <[email-masked]>
> +;;; Copyright © 2016, 2017 Troy Sankey <[email-masked]>
> +;;; Copyright © 2016, 2017 Nikita <[email-masked]>
> +;;; Copyright © 2016 Dylan Jeffers <sapientech@[email-masked]>
> +;;; Copyright © 2016 David Craven <[email-masked]>
> +;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke <[email-masked]>
> +;;; Copyright © 2016, 2017 Stefan Reichör <[email-masked]>
> +;;; Copyright © 2016 Dylan Jeffers <sapientech@[email-masked]>
> +;;; Copyright © 2016, 2017 Alex Vong <[email-masked]>
> +;;; Copyright © 2016, 2017, 2018 Arun Isaac <[email-masked]>
> +;;; Copyright © 2016–2018, 2021 Tobias Geerinckx-Rice <[email-masked]>
> +;;; Copyright © 2016, 2017, 2018, 2021 Julien Lepiller <[email-masked]>
> +;;; Copyright © 2016, 2017 Thomas Danckaert <[email-masked]>
> +;;; Copyright © 2017 Carlo Zancanaro <[email-masked]>
> +;;; Copyright © 2017 Frederick M. Muriithi <[email-masked]>
> +;;; Copyright © 2017, 2018 Adriano Peluso <[email-masked]>
> +;;; Copyright © 2017 Ben Sturmfels <[email-masked]>
> +;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe <[email-masked]>
> +;;; Copyright © 2017 José Miguel Sánchez García <[email-masked]>
> +;;; Copyright © 2017 Roel Janssen <[email-masked]>
> +;;; Copyright © 2017, 2018 Kei Kebreau <[email-masked]>
> +;;; Copyright © 2017 Rutger Helling <[email-masked]>
> +;;; Copyright © 2017 Muriithi Frederick Muriuki <[email-masked]>
> +;;; Copyright © 2017 Brendan Tildesley <[email-masked]>
> +;;; Copyright © 2018 Ethan R. Jones <[email-masked]
> +;;; Copyright © 2018 Fis Trivial <[email-masked]>
> +;;; Copyright © 2018 Vijayalakshmi Vedantham <[email-masked]>
> +;;; Copyright © 2018 Mathieu Lirzin <[email-masked]>
> +;;; Copyright © 2018 Adam Massmann <[email-masked]>
> +;;; Copyright © 2016, 2018 Tomáš Čech <[email-masked]>
> +;;; Copyright © 2018 Nicolas Goaziou <[email-masked]>
> +;;; Copyright © 2018 Oleg Pykhalov <[email-masked]>
> +;;; Copyright © 2018 Clément Lassieur <[email-masked]>
> +;;; Copyright © 2018, 2019, 2020, 2021 Maxim Cournoyer <[email-masked]>
> +;;; Copyright © 2018 Luther Thompson <[email-masked]>
> +;;; Copyright © 2018 Vagrant Cascadian <[email-masked]>
> +;;; Copyright © 2019 Tanguy Le Carrour <[email-masked]>
> +;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email-masked]>
> +;;; Copyright © 2020, 2021 Greg Hogan <[email-masked]>

I really doubt all these individuals have contributed to *pypy*.  The
rest of this patch LGTM.

-- 
Thanks,
Maxim