Commit graph

91504 commits

Author SHA1 Message Date
Maxim Cournoyer
ea0ed65c59
gnu: python-matplotlib: Update to 3.5.1 and run tests in parallel.
* gnu/packages/python-xyz.scm (python-matplotlib): Update to 3.5.1.
[propagated-inputs]: Add python-fonttools, python-wxpython
and python-packaging.
[native-inputs]: Remove python-mock, python-wheel, unzip and jquery-ui.
Add python-pytest-timeout, python-pytest-xdist, python-setuptools-scm and
python-setuptools-scm-git-archive.
[phases]: Delete trailing #t.
{pretend-version}: New phase.
{install-jquery-ui}: Delete phase.
{check}: Honor TESTS?.  Do not skip webagg tests anymore.  Invoke using
'-n' argument to run tests in parallel via pytest-xdist.
{configure-environment}: Do not set LD_LIBRARY_PATH nor HOME.  Rename
setup.cfg to mplsetup.cfg.  Set the backend to Agg.
2022-01-10 11:44:43 -05:00
Maxim Cournoyer
e5e533c221
gnu: python-fonttools: Update to 4.28.5.
* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.28.5 and hide
the package.
[properties]: New field.
(python-fonttools-with-tests): New variable.
2022-01-10 11:44:43 -05:00
Maxim Cournoyer
b4e18112ef
gnu: Add python-zopfli.
* gnu/packages/python-compression.scm (python-zopfli): New variable.
2022-01-10 11:44:43 -05:00
Maxim Cournoyer
53d7e92e68
gnu: Add zopfli.
* gnu/packages/compression.scm (zopfli): New variable.
2022-01-10 11:44:43 -05:00
Maxim Cournoyer
b794dff00a
gnu: Add python-fs.
* gnu/packages/python-xyz.scm (python-fs): New variable.
2022-01-10 11:44:42 -05:00
Maxim Cournoyer
32f1ae3616
gnu: Add python-pyftpdlib.
* gnu/packages/python-xyz.scm (python-pyftpdlib): New variable.
2022-01-10 11:44:42 -05:00
Maxim Cournoyer
d07d0835a9
gnu: Add python-pysendfile.
* gnu/packages/python-xyz.scm (python-pysendfile): New variable.
2022-01-10 11:44:42 -05:00
Maxim Cournoyer
2fa2b91d59
gnu: python-pylint: Update to 2.12.2.
* gnu/packages/check.scm (python-pylint): Update to 2.12.2.
[phases]{check}: Override phase.
[native-inputs]: Remove python-pytest-benchmark, python-pytest-runner.
[propagated-inputs]: Add python-platformdirs, python-typing-extensions.
[synopsis]: Streamline.
2022-01-10 11:44:42 -05:00
Maxim Cournoyer
b9839ee1c5
gnu: python-platformdirs: Update to 2.4.0, run tests and fix metadata.
* gnu/packages/python-xyz.scm (python-platformdirs): Update to 2.4.0.
[phases]{pretend-version}: New phase.
{check}: Override to run tests.
[native-inputs]{python-setuptools-scm}: New input.
2022-01-10 11:44:41 -05:00
Maxim Cournoyer
5b218cc14a
gnu: python-flit: Update to 3.5.1, enable tests and apply guix style.
* gnu/packages/python-xyz.scm (python-flit)[origin]: Fetch from pypi-uri, to
ease updating the package.
[phases]{bootstrap}: Delete phase.
{build, install}: Do a PEP 517 build using pypa-build.
{check}: New phase.
[tests?]: Enable.
[propagated-inputs]{python-pytoml, python-toml}: Remove.
{python-pypa-build, python-tomli-w, python-flit-core, python-requests}: New
inputs.
{python-docutils}: New input, moved from...
[native-inputs]: ... here.  Apply guix style.
{python-testpath}: Use the regular python-testpath package.
[synopsis, description]: Re-indent.
2022-01-10 11:44:41 -05:00
Maxim Cournoyer
3307224bf9
gnu: python-testpath: Update to 0.5.0 and enable tests.
* gnu/packages/check.scm (python-testpath): Update to 0.5.0.
[phases]{relax-requirements}: New phase
{build}: Build using pypa-build's 'build' command.
{check}: Override phase.
{install}: Adjust.
[native-inputs]: Remove python-flit.  Add python-pypa-build and python-pytest.
[home-page]: Update.
2022-01-10 11:44:41 -05:00
Maxim Cournoyer
84558f252e
gnu: Add python-tomli-w.
* gnu/packages/python-build.scm (python-tomli-w): New variable.
2022-01-10 11:44:41 -05:00
Maxim Cournoyer
ded3b554f9
gnu: python-astroid: Update to 2.9.0.
* gnu/packages/python-xyz.scm (python-astroid): Update to 2.9.0.
[native-inputs]: Add python-typing-extensions.
[properties]: Delete field.
(python2-astroid): Delete variable.
2022-01-10 11:44:40 -05:00
Maxim Cournoyer
b328a829fb
gnu: python-typing-extensions: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-typing-extensions): Update to 4.0.1.
[origin]: Use git-fetch.
[tests?]: Disable.
[phases]{unpack, build, install}: New phases.
[native-inputs]: Add python-pypa-build, python-flit-core.
[home-page]: Shorten URL.
2022-01-10 11:44:40 -05:00
Maxim Cournoyer
992b66a124
gnu: python-typing: Update to 3.10.0.0.
* gnu/packages/python-xyz.scm (python-typing): Update to 3.10.0.0.
2022-01-10 11:44:40 -05:00
Maxim Cournoyer
3b3fb28086
gnu: python-flit-core: Propagate python-tomli instead of python-toml.
Flit Core apparently requires tomli at runtime rather than toml.  This means
we must build a toml-less python-flit-core first, for bootstrapping purposes.

* gnu/packages/python-build.scm (python-flit-core-bootstrap): New variable.
(python-flit-core): Inherit from the above, replacing the propagated
python-toml by python-tomli.
(python-tomli): Adjust accordingly.
2022-01-10 11:44:40 -05:00
Maxim Cournoyer
0be45b28a9
gnu: python-curio: Disable newly failing 'test_timeout' test.
* gnu/packages/python-xyz.scm (python-prettytable)
[phases]{check}: Honor TESTS? and skip the 'test_timeout' test.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer
0557f78150
gnu: glade3: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (glade3)[native-inputs]: Add python.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer
4bbd572732
gnu: python-typed-ast: Update to 1.5.1.
* gnu/packages/python-xyz.scm (python-typed-ast): Update to 1.5.1.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer
0bf465c64d
gnu: gjs: Build with meson-0.59 to avoid 'install_dir' error.
* gnu/packages/gnome.scm (gjs)[meson]: Use meson-0.59.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer
7407f0c496
gnu: python-msgpack: Update to 1.0.3.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.0.3.
(python2-msgpack): Delete variable.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer
b925b3c6dc
gnu: tracker: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (tracker)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer
00ed8c6fe9
gnu: dconf: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (dconf)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer
5d231df3cc
gnu: gtkmm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer
b78f0cbff4
gnu: gtk: Update to 4.4.1.
* gnu/packages/patches/gtk-introspection-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gtk.scm (gtk): Update to 4.4.1.
[origin]: Apply new patch.
[phases]{pre-check}: Set TZDIR.
[native-inputs]: Add graphene, python-pygobject and tzdata.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer
8b1a6ee69d
gnu: gusb: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (gusb)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer
5c3d2db4fd
gnu: pangomm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (pangomm)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer
e25772628d
gnu: atkmm-2.28: Do not propagate two variants of glibmm.
* gnu/packages/gtk.scm (atkmm-2.28)[propagated-inputs]: Replace rather than
append glibmm-2.64.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer
9e0dfe61e9
gnu: atkmm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (atkmm)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer
be04f73d09
gnu: libxkbcommon: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: Add python.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer
b179c14bf6
gnu: wayland-protocols: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/freedesktop.scm (wayland-protocols)[native-inputs]: Add python.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer
e8c924296f
gnu: wayland: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add python.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer
291c4fa0ba
gnu: epiphany: Update to 41.2.
* gnu/packages/gnome.scm (epiphany): Update to 41.2.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer
ab0893f789
gnu: python-gnupg: Update to 0.4.8.
* gnu/packages/gnupg.scm (python-gnupg): Update to 0.4.8.
(python2-gnupg): Delete variable.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer
2080f55590
gnu: gsettings-desktop-schemas: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python, which is the reason this change is now needed here.

* gnu/packages/gnome.scm (gsettings-desktop-schemas)
[phases]{patch-schemas}: Use 'search-input-directory'.
[native-inputs]: Use new style and add python.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer
ee16c5a685
gnu: gnome-backgrounds: Update to 41.0.
* gnu/packages/gnome.scm (gnome-backgrounds): Update to 41.0.
[native-inputs]: Use new style.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer
006ee16926
gnu: rust-1.39: Update mrustc to commit c70665.
This brings us closer to a i686 native bootstrap.

* gnu/packages/rust.scm (%mrustc-commit): Update to latest commit, c70665.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer
acaec1b5b7
gnu: elogind: Reinstate the test-event.c test.
* gnu/packages/freedesktop.scm (elogind)[phases]{adjust-tests}: Do not
de-register the test-event.c test file from meson.build.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer
7ecc2e3d2b
gnu: shadow: Update to 4.9.
* gnu/packages/admin.scm (shadow): Update to 4.9.
[source]: Remove hurd patch, merged upstream.
[phases]{fix-linking-to-pam}: New phase.
* gnu/packages/patches/shadow-hurd-pctrl.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer
b082fdb4b5
gnu: libpcap: Update to 2.62.
* gnu/packages/linux.scm (libpcap): Update to 2.62.
[phases]{configure}: Delete phase, and move LDFLAGS to...
[make-flags]: ... here.  Define arguments via G-expressions.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer
eda1860d02
gnu: cmake-bootstrap: Update to 3.21.4.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.21.4.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer
be3b33dbba
gnu: eudev: Update to 3.2.11.
* gnu/packages/linux.scm (eudev): Update to 3.2.11.
[phases]{make-source-writable}: Remove phase, no longer needed.
{patch-bindir-in-btrfs-rules}: Likewise, fixed upstream.
Remove trailing #t.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer
f1d774826a
gnu: util-linux: Update to 2.37.2.
* gnu/packages/linux.scm (util-linux): Update to 2.37.2.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer
38747a27f3
gnu: gnupg: Update to 2.2.32.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.32.
(gnupg-2.2.32): Delete variable.
(qgpgme)[native-inputs]: Use the regular gnupg package.
* gnu/packages/emacs-xyz.scm (emacs-pinentry): Likewise.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
0c5bfcadfd
gnu: glibmm-2.64: Fix libsigc++ propagation.
Fixes <https://issues.guix.gnu.org/52519>.  The package was propagating two
variants of libsigc++.

* gnu/packages/glib.scm (glibmm-2.64)[propagated-inputs]: Replace existing
libsigc++ package instead of prepending an extra one.

Reported-by: Leo Famulari <leo@famulari.name>
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
946c5e05a4
gnu: glibmm: Remove trailing #t.
* gnu/packages/glib.scm (glibmm): Remove trailing #t.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
3d91c07875
gnu: pciutils: Fix the conditional for the kmod input.
Fixes <https://issues.guix.gnu.org/52411>.  Thanks to Maxime Devos for
suggesting the solution.

* gnu/packages/pciutils.scm (pciutils): Delete trailing #t.

[inputs]{kmod}: Use the hurd-target? procedure in the condition, which
correctly handles the Nix system of %current-system and GNU triplet of
%current-target-system.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
2257e65079
gnu: help2man: Update to 1.48.5.
* gnu/packages/man.scm (help2man): Update to 1.48.5.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
8b7a304e99
gnu: python-nose: Fix build.
This unmaintained package doesn't build anymore on Python 3.9.9.

* gnu/packages/check.scm (python-nose)[phases]{invoke-2to3}: New phase.
[properties]: New field.
(python2-nose): Strip python2 property.
[phases]{invoke-2to3}: Delete phase.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
8faa04c316
gnu: glib: Fix cross-compilation.
Fixes <https://issues.guix.gnu.org/52574>.
Reported by L  p R n  d n    <guix@lprndn.info>.

Thanks to Maxime Devos for the suggested fix.

* gnu/packages/glib.scm (glib)[configure-flags]: Define as a G-expression.
(glib-with-documentation)[configure-flags]: Likewise.
2022-01-10 11:44:32 -05:00