Commit graph

95721 commits

Author SHA1 Message Date
Maxim Cournoyer 3ce8459aa7
gnu: Add python-pytest-freezegun.
* gnu/packages/check.scm (python-pytest-freezegun): New variable.
2022-05-12 12:45:29 -04:00
Maxim Cournoyer 586ef9b9cf
gnu: Add python-types-pytz.
* gnu/packages/python-xyz.scm (python-types-pytz): New variable.
2022-05-12 12:45:29 -04:00
Maxim Cournoyer 08b524fa78
gnu: Add python-types-freezegun.
* gnu/packages/python-xyz.scm (python-types-freezegun): New variable.
2022-05-12 12:45:28 -04:00
Maxim Cournoyer 21f29263f3
gnu: Add python-autocommand.
* gnu/packages/python-xyz.scm (python-autocommand): New variable.
2022-05-12 12:45:28 -04:00
Maxim Cournoyer 3d72680d0e
gnu: Add python-jaraco-functools-bootstrap.
* gnu/packages/python-xyz.scm (python-jaraco-functools-bootstrap): New variable.
2022-05-12 12:45:28 -04:00
Maxim Cournoyer ab1dc1f162
gnu: Add python-jaraco-context-bootstrap.
* gnu/packages/python-xyz.scm (python-jaraco-context-bootstrap): New variable.
2022-05-12 12:45:28 -04:00
Maxim Cournoyer 5475a267ea
gnu: Add python-pytest-mypy.
* gnu/packages/check.scm (python-pytest-mypy): New variable.
2022-05-12 12:45:27 -04:00
Maxim Cournoyer 21db2a0848
gnu: Add python-types-toml.
* gnu/packages/python-xyz.scm (python-types-toml): New variable.
2022-05-12 12:45:27 -04:00
Maxim Cournoyer 63a77de2fc
gnu: Add python-ufonormalizer.
* gnu/packages/fontutils.scm (python-ufonormalizer): New variable.
2022-05-12 12:45:27 -04:00
Maxim Cournoyer ab2bab6d48
gnu: Add python-ufoprocessor.
* gnu/packages/fontutils.scm (python-ufoprocessor): New variable.
2022-05-12 12:45:27 -04:00
Maxim Cournoyer b93a63d4a0
gnu: Add python-cu2qu.
* gnu/packages/fontutils.scm (python-cu2qu): New variable.
2022-05-12 12:45:27 -04:00
Maxim Cournoyer e3d1e821f9
gnu: Add python-fontparts.
* gnu/packages/fontutils.scm (python-fontparts): New variable.
2022-05-12 12:45:26 -04:00
Maxim Cournoyer 0ce611f563
gnu: Add python-defcon.
* gnu/packages/fontutils.scm (python-defcon): New variable.
(python2-defcon): Adjust to inherit from it.
2022-05-12 12:45:26 -04:00
Maxim Cournoyer 19cb21c749
gnu: Add python-fontpens.
* gnu/packages/fontutils.scm (python-fontpens): New variable.
2022-05-12 12:45:26 -04:00
Maxim Cournoyer 16ca467344
gnu: Add python-fontparts-bootstrap.
* gnu/packages/fontutils.scm (python-fontparts-bootstrap): New variable.
2022-05-12 12:45:26 -04:00
Maxim Cournoyer f85c6ae421
gnu: Add python-booleanoperations.
* gnu/packages/graphics.scm (python-booleanoperations): New variable.
2022-05-12 12:45:26 -04:00
Maxim Cournoyer 9fffc12efb
gnu: Add python-fontpens-bootstrap.
* gnu/packages/fontutils.scm (python-fontpens-bootstrap): New variable.
2022-05-12 12:45:25 -04:00
Maxim Cournoyer b24aefa615
gnu: Add python-mutatormath.
* gnu/packages/fontutils.scm (python-mutatormath): New variable.
2022-05-12 12:45:25 -04:00
Maxim Cournoyer 51b36ab71f
gnu: python-fonttools-with-test: Rename to python-fonttools-full.
* gnu/packages/python-xyz.scm (python-fonttools-with-test): Rename to...
(python-fonttools-full): ... this.
[native-inputs]: Move python-brotli, python-fs, python-scipy
and python-zopfli to...
[propagated-inputs]: ... here.  Add python-lxml, python-lz4 and
python-unicodedata2.
2022-05-12 12:45:25 -04:00
Maxim Cournoyer 9b6bad8c33
gnu: Add python-unicodedata2.
* gnu/packages/python-xyz.scm (python-unicodedata2): New variable.
2022-05-12 12:45:25 -04:00
Maxim Cournoyer dc5cf89205
gnu: Add python-fontmath.
* gnu/packages/fontutils.scm (python-fontmath): New variable.
2022-05-12 12:45:24 -04:00
Maxim Cournoyer 2c7e76ed14
gnu: Add python-defcon-bootstrap.
* gnu/packages/fontutils.scm (python-defcon-bootstrap): New variable.
2022-05-12 12:45:24 -04:00
Maxim Cournoyer 9e29cf8d73
gnu: Add python-opentype-sanitizer.
* gnu/packages/fontutils.scm (python-opentype-sanitizer): New variable.
2022-05-12 12:45:24 -04:00
Maxim Cournoyer 8907dcce77
gnu: Add opentype-sanitizer.
* gnu/packages/fontutils.scm (opentype-sanitizer): New variable.
2022-05-12 12:45:24 -04:00
Maxim Cournoyer dcd97606a3
gnu: Add python-pcpp.
* gnu/packages/c.scm (python-pcpp): New variable.
2022-05-12 12:45:24 -04:00
Maxim Cournoyer 13c19e3bfb
gnu: Add texlive-zref.
* gnu/packages/tex.scm (texlive-zref): New variable.
2022-05-12 12:45:24 -04:00
Maxim Cournoyer 5289d28515
gnu: Add texlive-cs.
* gnu/packages/tex.scm (texlive-cs): New variable.
2022-05-12 12:45:23 -04:00
Maxim Cournoyer 5d40463875
gnu: Add texlive-csplain.
* gnu/packages/tex.scm (texlive-csplain): New variable.
2022-05-12 12:45:23 -04:00
Maxim Cournoyer 92f573f63a
gnu: Add texlive-makecmds.
* gnu/packages/tex.scm (texlive-makecmds): New variable.
2022-05-12 12:45:23 -04:00
Maxim Cournoyer fba5c0ca31
gnu: Add texlive-metalogo.
* gnu/packages/tex.scm (texlive-metalogo): New variable.
2022-05-12 12:45:23 -04:00
Maxim Cournoyer ff02979ed5
gnu: Add texlive-stix2-otf.
* gnu/packages/tex.scm (texlive-stix2-otf): New variable.
2022-05-12 12:45:23 -04:00
Maxim Cournoyer ce73cadd34
gnu: Add texlive-paralist.
* gnu/packages/tex.scm (texlive-paralist): New variable.
2022-05-12 12:45:22 -04:00
Maxim Cournoyer 7cab14c336
gnu: python-nbformat: Update to 5.3.0.
* gnu/packages/python-xyz.scm (python-nbformat): Update to 5.3.0.
[source]: Adjust git URL.
[native-inputs]: Move python-fastjsonschema to...
[propagated-inputs]: ... here.  Remove python-ipython-genutils.
2022-05-12 12:45:22 -04:00
Maxim Cournoyer 1c8264d62e
gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699].
* gnu/packages/python-xyz.scm (python-ipython): Update to 8.2.0.
[phases]{fix-tests}: Delete phase.
{check}: Remove extraneous add-installed-pythonpath call.  Invoke Pytest
directly.

Reported-by: Leo Famulari <leo@famulari.name>
2022-05-12 12:45:22 -04:00
Maxim Cournoyer 23d2319f9a
gnu: python-prompt-toolkit: Update to 3.0.29.
* gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.29.
[phases]{post-install-check}: Move to...
{check}: ... this phase override instead, and streamline.
2022-05-12 12:45:22 -04:00
Maxim Cournoyer e6f46eabbd
gnu: python-jinja2: Update to 3.1.1.
* gnu/packages/python-xyz.scm (python-jinja2): Update to 3.1.1.
2022-05-12 12:45:21 -04:00
Maxim Cournoyer 812f2a185a
gnu: python-traitlets: Update to 5.1.1.
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.1.1.
[phases]{check}: Honor TESTS?.
[propagated-inputs]: Delete field.
2022-05-12 12:45:21 -04:00
Maxim Cournoyer 9d31c06992
gnu: Add python-stack-data.
* gnu/packages/python-xyz.scm (python-stack-data): New variable.
2022-05-12 12:45:21 -04:00
Maxim Cournoyer 68d7bc9ee5
gnu: Add python-littleutils.
* gnu/packages/python-xyz.scm (python-littleutils): New variable.
2022-05-12 12:45:20 -04:00
Maxim Cournoyer 952c8f805c
gnu: Add python-asttokens.
* gnu/packages/python-xyz.scm (python-asttokens): New variable.
2022-05-12 12:45:20 -04:00
Maxim Cournoyer dc04cf5598
gnu: Add python-pure-eval.
* gnu/packages/python-xyz.scm (python-pure-eval): New variable.
2022-05-12 12:45:20 -04:00
Maxim Cournoyer a116f7fdee
gnu: python-astroid: Propagate python-typing-extensions.
* gnu/packages/python-xyz.scm (python-astroid)
[native-inputs]: Move python-typing-extensions to...
[propagated-inputs]: ... here.
[synopsis]: Shorten.
[description]: Normalize indentation.
2022-05-12 12:45:19 -04:00
Maxim Cournoyer df53689c51
gnu: python-ipython: Re-order fields.
* gnu/packages/python-xyz.scm (python-ipython): Move the 'arguments' field
right after the 'build-system' one,  Re-indent 'inputs' field.
[propagated-inputs]: Sort inputs.
2022-05-12 12:45:19 -04:00
Ricardo Wurmus a1cb645d83
gnu: python-packaging-bootstrap: Add python2-variant property.
* gnu/packages/python-build.scm (python-packaging-bootstrap)[properties]: Add
python2-variant.
(python2-packaging-bootstrap): Strip python2-variant property.
2022-05-12 14:13:17 +02:00
Ricardo Wurmus 2936acfb37
gnu: python2-numpy: Update name.
* gnu/packages/python-xyz.scm (python2-numpy)[name]: Rename to python2-numpy.
2022-05-12 14:13:17 +02:00
Ricardo Wurmus 75ca0e5258
gnu: python2-setuptools: Patch source code.
* gnu/packages/python-xyz.scm (python2-setuptools)[arguments]: Add phase
'compatibility-fixes.
2022-05-12 14:13:14 +02:00
Ludovic Courtès 0b4300d4fd
gnu: commencement: Remove redundant import.
Reported by Josselin Poiret on #guix.

* gnu/packages/commencement.scm: Remove redundant #:use-module (guix gexp).
2022-05-12 12:29:38 +02:00
Philip McGrath 3547bb6a66
gnu: chez-scheme-for-system: Adjust for bytecode backend.
Change 'chez-scheme-for-system' to return 'chez-scheme-for-racket' in
two cases when it previously returned 'chez-scheme':

 1. When 'chez-scheme' is not distributed with bootstrap bootfiles,
    since we can only cross-compile 'chez-scheme' for those systems; and

 2. When neither 'chez-scheme' nor 'chez-scheme-for-racket' supports
    native code generation, since we will be able to use the ``portable
    bytecode'' backends of 'chez-scheme-for-racket' as soon as the
    issues in <https://racket.discourse.group/t/950> are resolved.

* gnu/packages/chez.scm (chez-scheme-for-racket): Change condition.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath 4c0ac41ba4
gnu: chez-scheme-for-racket: Fix supported systems.
This commit fixes the treatment of systems like "powerpc-w64-mingw32",
where the combination of architecture and kernel is not supported, even
though both are supported in other combinations. The build failure fixed
in b8fc916951 highlighted this problem:
see also <https://issues.guix.gnu.org/54292#6>. The correct support
status is specified by '%chez-features-table', which was added to
improve 'chez-upstream-features-for-system': this commit uses it to fix
the repair.

Once the issues in <https://racket.discourse.group/t/950> are resolved,
'chez-scheme-for-racket' and 'racket-vm-cs' will be able to run even on
systems for which native code generation is not supported. It's not
clear what behavior would be useful from 'nix-system->chez-machine':
since the current implementation is flawed and easy to misuse, we remove
it for now, replacing the remaining uses with
'racket-cs-native-supported-system?'.

* gnu/packages/chez.scm (nix-system->chez-machine): Remove it.
(racket-cs-native-supported-system?): New variable.
(chez-scheme-for-racket)[supported-systems]: Use it.
* gnu/packages/racket.scm (racket-vm-for-system): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath 9322697636
gnu: chez-upstream-features-for-system: Improve implementation.
This commit is a follow-up to b8fc916951.
While that commit fixed a breaking build, this one begins to address the
faulty assumptions that lead to the failure: see also
<https://issues.guix.gnu.org/54292#6>.

In this commit, we reimplement 'chez-upstream-features-for-system' using
the new '%chez-features-table', which explicitly specifies platform
support for both 'chez-scheme' and 'chez-scheme-for-racket', rather than
assuming a non-false result from 'nix-system->chez-machine' means that
the system is supported.

The remaining uses of 'nix-system->chez-machine' still make that
incorrect assumption and must be repaired in a future commit.

* gnu/packages/chez.scm (%nix-arch-to-chez-alist,
%nix-os-to-chez-alist): Replace with ...
(target-chez-arch, target-chez-os): ... these new variables.
(nix-system->chez-machine): Rewrite using them.
(%chez-features-table): New variable.
(chez-upstream-features-for-system): Rewrite using it.
(chez-scheme)[supported-systems]: Update armhf-linux comment.
(chez-scheme-bootstrap-bootfiles)[supported-systems]: Use
'chez-upstream-features-for-system'.
(chez-machine->nonthreaded, chez-machine->threaded,
chez-machine->nix-system): Remove unused functions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00