Commit graph

169977 commits

Author SHA1 Message Date
Nguyễn Gia Phong
a969d3cd70
gnu: python-charset-normalizer-3: Mark as deprecated.
This is a followup to bbb9551884.

Replace all python-charset-normalizer-3 occurences
with python-charset-normalizer.

* gnu/packages/python-xyz.scm (python-charset-normalizer-3):
  Mark as a deprecated public alias.
* gnu/packages/music.scm (picard)
  [inputs]: Replace python-charset-normalizer-3
  with python-charset-normalizer.
* gnu/packages/python-web.scm (python-translation-finder)
  [propagated-inputs]: Replace python-charset-normalizer-3
  with python-charset-normalizer.

Change-Id: Ib45bfe24efde2f2a6435c0c272d9d14e70e2321e
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 13:22:52 +01:00
Sharlatan Hellseher
cc87e772bb
gnu: python-glue-vispy-viewers: Skip one test.
* gnu/packages/astronomy.scm (python-glue-vispy-viewers)[arguments]
<test-flags>: Skip one seg failed test.

Change-Id: Id1dceef85655a34740590c8d8c862b28fd6ef07f
2025-09-30 12:40:45 +01:00
Sharlatan Hellseher
ad12e26e3c
gnu: siril: Update to 1.4.0-beta4.
* gnu/packages/astronomy.scm (siril): Update to 1.4.0-beta4.

Change-Id: Id2fdc54d378d2158e775ff23d6d65e6a8fc5a275
2025-09-30 11:10:17 +01:00
Sharlatan Hellseher
dfa312a95e
gnu: siril: Fix build with meson@1.9.0.
This is to do with the wrap-mode for meson changing on mesa-updates.

See: <https://codeberg.org/guix/guix/issues/2987#issuecomment-7450927>

* gnu/packages/astronomy.scm (siril)[source] <snippet>: Remove bundled
libraries explicitly.
[arguments] <configure-flags>: Add "--wrap-mode=nodownload" option to
fix build with recent Meson.
[inputs]: Add healpix-cxx.

Change-Id: I6b3afcb95ffc10b42453794fc3dafad03d049d01
2025-09-30 11:05:39 +01:00
Sharlatan Hellseher
d2df04d416
gnu: Add tenmon.
* gnu/packages/astronomy.scm (tenmon, libxisf-for-tenmon): New
variables.

Change-Id: I0398fe657aa944883d1160265fe0113a0ae24ab0
2025-09-30 11:05:39 +01:00
Sharlatan Hellseher
eb8097662b
gnu: Add python-raccoon.
* gnu/packages/astronomy.scm (python-raccoon): New variable.

Change-Id: Iad8afa0f86b28ff2558588c6e99f317afb7b367d
2025-09-30 11:05:39 +01:00
Sharlatan Hellseher
1a9f4e871d
gnu: Add python-pydl.
* gnu/packages/astronomy.scm (python-pydl): New variable.

Change-Id: If6ef2787bc72fdfcbddaf27b5dd115126914850b
2025-09-30 11:05:39 +01:00
Sharlatan Hellseher
8f3553a0af
gnu: Add python-eventio.
* gnu/packages/astronomy.scm (python-eventio): New variable.

Change-Id: I1ed9191e9433778090f725faaf12cfb343869e41
2025-09-30 11:05:39 +01:00
Sharlatan Hellseher
c96de00c09
gnu: Add python-corsikaio.
* gnu/packages/astronomy.scm (python-corsikaio): New variable.

Change-Id: Ia01b9a117681978d8d5e968e447e805dea3385ec
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
169d73f43c
gnu: Add fitsverify.
* gnu/packages/astronomy.scm (fitsverify): New variable.

Change-Id: I07e72835d1cf481d785c652d6fa5861b236764a9
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
e4db70afbe
gnu: celestia: Update to 1.6.4-0.d3f4040.
This is a follow-up to 51640e4820.

Celestia is built from the latest commit providing Qt6 support and many
other new features.

* gnu/packages/astronomy.scm (celestia): Update to 1.6.4-0.d3f4040.
[buld-system]: Switch to cmake-build-system.
[arguments] <configure-flags>: Adjust it for the build.
<phases>: Remove 'patch-lua-version; add 'install-content.
[inputs]: Remove freeglut and libtheora; add eigen, ffmpeg, fmt,
freetype, gperf, libavif, libepoxy, qtbase, and qtwayland.
[propagated-inputs]: Add perl.
[native-inputs]: Remove autoconf, automake, libgit2, libtool, and perl;
add boost and celestia-content.

Change-Id: Ida03597bd9c2d5de31322b3aae88baa6b007889c
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
ee449bfe65
gnu: Add celestia-content.
* gnu/packages/astronomy.scm (celestia-content): New variable.

Change-Id: Id5eb5c666dc4171960273c8553b02f72b225907f
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
9a29b17bdf
gnu: uraniborg: Update to 0.0.12.
* gnu/packages/astronomy.scm (uraniborg): Update to 0.0.12.

Change-Id: I21c6a0ce5d93350c807bda47a6044d0f6d970701
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
4da7c0cb92
gnu: splash: Update to 3.11.5.
* gnu/packages/astronomy.scm (splash): Update to 3.11.5.

Change-Id: I21b9aba416869158e0dbcba2aa947f69e9e5fcaf
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
c4350c5726
gnu: python-space-dolphin: Update to 1.2.0.
* gnu/packages/astronomy.scm (python-space-dolphin): Update to 1.2.0.
[native-inputs]: Remove python-wheel.

Change-Id: I32cfc5455cf413b4129da476d584b3a820f2899f
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
d2e60617ad
gnu: python-irispy-lmsal: Update to 0.4.0.
* gnu/packages/astronomy.scm (python-irispy-lmsal): Update to 0.4.0.
[arguments] <test-flags>: Skip one more test.

Change-Id: Iebc28295f2de58d928ad17c8d51fd19289a162bb
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
d5e3171df9
gnu: python-fitsio: Update to 1.2.8.
* gnu/packages/astronomy.scm (python-fitsio): Update to 1.2.8.
[native-inputs]: Remove python-setuptools and python-wheel; add python-setuptools-next.

Change-Id: Ief3f63918b39beb42980d93958553ed6032ac27d
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
14e651f9ce
gnu: python-camb: Update to 1.6.4.
* gnu/packages/astronomy.scm (python-camb): Update to 1.6.4.
[native-inputs]: Remove python-wheel.

Change-Id: Ie5c7219ac4208336700c204bd7cccb0b0cb0e410
2025-09-30 11:05:38 +01:00
Sharlatan Hellseher
a19878369a
gnu: python-aiapy: Update to 0.10.2.
* gnu/packages/astronomy.scm (python-aiapy): Update to 0.10.2.

Change-Id: I1c31db6e8e63cd03c17d0145160e9df51f6193a4
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
44cab0b1c2
gnu: phd2: Update to 2.6.13-1.4353f6b.
* gnu/packages/astronomy.scm (phd2): Update to 2.6.13-1.4353f6b.

Change-Id: I12107e14051a0b99497b0be74b7880e6c997ca03
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
f5fdce304b
gnu: aoflagger: Update to 3.4.0-0.b3a459d.
* gnu/packages/astronomy.scm (aoflagger): Update to 3.4.0-0.b3a459d.
[source] <patch>: Remove it as no longer required.

* gnu/packages/patches/aoflagger-use-system-provided-pybind11.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Deregister patch.

Change-Id: I54535150959c5c7ef2c11c1b1541c287b935ed90
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
f5d584ed6a
gnu: aocommon: Update to 0.0.0-3.1444d66.
* gnu/packages/astronomy.scm (aocommon): Update to 0.0.0-3.1444d66.
[arguments] <install-plan>: Install CMake directory.

Change-Id: I7f86569cd8049c308b6a2867dea95e86b8f56360
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
cea91f39ac
gnu: python-dkist: Adjust native inputs.
* gnu/packages/astronomy.scm (python-dkist)[native-inputs]: Add
python-pytest-asdf-plugin.

Change-Id: Iae4d236eeee4aa708cd4158380d73ba8e1cb2eb0
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
633b7949d7
gnu: python-jwst: Update to 1.19.2.
* gnu/packages/astronomy.scm (python-jwst): Update to 1.19.2.
[phases]{relax-requirements}: Adjust the list of versions.
[propagated-inputs]: Remove python-asdf; add python-asdf-4.

Change-Id: Ib72d1514d054389adc8487fb49e74adc9071fad1
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
d91f5a3587
gnu: python-sunraster: Update to 0.6.2.
* gnu/packages/astronomy.scm (python-sunraster): Update to 0.6.2.

Change-Id: I526a946a58f6709e9e4df009c20b9ad48c756045
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
6ba5415f4e
gnu: python-pysm3: Update to 3.4.2.
* gnu/packages/astronomy.scm (python-pysm3): Update to 3.4.2.
[arguments] <test-flags>: Rework the list of skipped test.
[propagated-inputs]: Add python-h5py, python-numpy, and python-scipy.
[native-inputs]: Add python-nbval.

Change-Id: Ifd661013923eab089c3a952b70f1ce45e2cca53f
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
6a7f5a3a56
gnu: python-astrocut: Update to 1.1.0.
* gnu/packages/astronomy.scm (python-astrocut): Update to 1.1.0.
[arguments] <test-flags>: Skip one more test.

Change-Id: I6a88a8b1ef9c4426061d2da42e3332acacd235a1
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
274bb7d37d
gnu: indi: Update to 2.1.5.1.
* gnu/packages/astronomy.scm (indi): Update to 2.1.5.1.

Change-Id: I0352d87cd021b837b771f3aac79373126f8fac5b
2025-09-30 11:05:37 +01:00
Sharlatan Hellseher
4bd075bd48
gnu: python-pixell: Update to 0.30.0.
* gnu/packages/astronomy.scm (python-pixell): Update to 0.30.0.
[arguments] <phases>: Add 'relax-requirements.
[propagated-inputs]: Remove python-coveralls and python-cython.

Change-Id: Ife73368e5de635dc76818a6c249039483557b6c3
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
86bbad94c4
gnu: python-stdatamodels: Adjust inputs.
* gnu/packages/astronomy.scm (python-stdatamodels)[propagated-inputs]:
Remove python-asdf; add python-asdf-4.
[native-inputs]: Add python-pytest-asdf-plugin.

Change-Id: I01923c7e830e4214733f71226d1c22fbd903113e
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
1a964b2ea9
gnu: python-crds: Update to 13.0.4.
* gnu/packages/astronomy.scm (python-crds): Update to 13.0.4.
[propagated-inputs]: Remove python-boto3 and python-pysynphot.
[native-inputs]: Remove python-stsynphot and python-wheel.

Change-Id: I275d5d8eee1fa24bd3f6ffde7c107f258347dc94
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
d4a7c38f2c
gnu: python-photutils: Update to 2.3.0.
* gnu/packages/astronomy.scm (python-photutils): Update to 2.3.0.
[native-inputs]: Remove python-setuptools and python-setuptools-scm; add
python-setuptools-next and python-setuptools-scm-next.

Change-Id: Ic2a6bd2b7b89249f57cae95812c597a255e3ed2d
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
8d68de26b3
gnu: python-rad: Adjust native inputs.
* gnu/packages/astronomy.scm (python-rad)[native-inputs]: Add
python-pytest-asdf-plugin.

Change-Id: I9390af5200c17c96f31489d365570f5b4448b780
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
51ff27ce34
gnu: python-specutils: Adjust native inputs.
* gnu/packages/astronomy.scm (python-specutils)[native-inputs]: Add
python-pytest-asdf-plugin.

Change-Id: If1ceacc589d586b1b576eae3e16e6bcca6f8d392
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
a256042b1d
gnu: python-astropy-healpix: Remove relax-requirements phase.
* gnu/packages/astronomy.scm (python-astropy-healpix) [arguments]
<phases>: Remove 'relax-requirements.

Change-Id: Ie5cb8b3b266c80079d631ba89eb5be50fb6ea0e1
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
4aa71f5e69
gnu: python-asdf-astropy: Adjust native inputs.
* gnu/packages/astronomy.scm (python-asdf-astropy)[native-inputs]:
Remove python-wheel; add python-pytest-asdf-plugin.

Change-Id: I8d23eb286c80c4b87527f6a5d66f4dc130556a7c
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
4235518333
gnu: python-astropy-iers-data: Update to 0.2025.9.15.0.37.0.
* gnu/packages/astronomy.scm (python-astropy-iers-data): Update to 0.2025.9.15.0.37.0.

Change-Id: Ieac1455b9256a431fea430c771b8d62ae62f9cbb
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
b2a5fec892
gnu: Add python-asdf-4.
* gnu/packages/astronomy.scm (python-asdf-4): New variable.

Change-Id: Ia2a9fcb07684724168760cd3ab188ed0c5160a41
2025-09-30 11:05:36 +01:00
Sharlatan Hellseher
ce9adae752
gnu: python-asdf: Update to 5.0.0.
* gnu/packages/astronomy.scm (python-asdf): Update to 5.0.0.
[native-inputs]: Remove python-pytest-doctestplus, and python-wheel.

Change-Id: I45e2315744846358aa51c3853ae529283be68dcf
2025-09-30 11:05:35 +01:00
Sharlatan Hellseher
47d0816bd4
gnu: python-asdf-standard: Update to 1.4.0.
* gnu/packages/astronomy.scm (python-asdf-standard): Update to 1.4.0.
[native-inputs]: Remove python-astropy-minimal, python-jsonschema,
python-pypa-build, and python-wheel; add python-pytest-asdf-plugin, and
python-pyyaml.

Change-Id: I37840d6c17630ce69312ebf2a755fb9a97edfe15
2025-09-30 11:05:35 +01:00
Sharlatan Hellseher
843b73bb1e
gnu: python-asdf-bootstrap: Adjust native inputs.
* gnu/packages/astronomy.scm (python-asdf-bootstrap)[native-inputs]:
Remove python-wheel; add python-setuptools-scm.

Change-Id: I64bf50dac3c40f22754120e3f8b0658ca907909c
2025-09-30 11:05:35 +01:00
Sharlatan Hellseher
3b1462f590
gnu: Add python-pytest-asdf-plugin.
* gnu/packages/python-check.scm (python-pytest-asdf-plugin): New variable.

Change-Id: I2de8c8ef9ddd6cc4b764079d6461996d01d1a21c
2025-09-30 11:05:35 +01:00
Florian Pelz
ea6047816e
nls: Revert broken sv translation.
* po/guix/sv.po: Revert.

Change-Id: I97e1ee9ace0e88941e07dd1ab7a6476936b2735e
2025-09-30 11:29:32 +02:00
Florian Pelz
02e766c87a
nls: Update translations.
Minification reduces the size of the ./po directory from 94MiB to 28MiB
according to `du -d1 -B MiB`.

Change-Id: I3fe9a1ab44d03c29c4352d9bcdf77f95fb1ffc70
2025-09-30 10:51:04 +02:00
Florian Pelz
9e1f46119c
Revert "nls: Temporarily disable building of translated manuals."
This reverts commit 94d30d4d3b.
2025-09-30 10:37:34 +02:00
Florian Pelz
aff572c9ac
po: Add procedures to handle '\"', '\t' and '\\' escape sequences.
They were handled with PEG before.

Now `make download-po` has the same result as before PO files were
minified.

* guix/build/po.scm (interpret-newline-escape): Replace with ...
(interpret-escape): ... this more general procedure.
(replace-escaped-backslashes): New procedure, basically restored from
the past implementation of 'interpret-newline-escape' but
for '\\' escapes.
(interpret-escape-sequences): New procedure to call them all.
(parse-tree->assoc): Use it.

Change-Id: I03226281019fa39ef7bca524278dbc434df95f2e
2025-09-30 10:37:34 +02:00
Florian Pelz
e16cfd61f9
po: Don't replace newline escapes that are escaped themselves.
Otherwise the cookbook is read incorrectly at
msgid ""
"(display (string-append \"Hello \" \"Guix\" \"\\n\"))\n"

This can be seen at the `git diff` when beginning to
run `make download-po`.

* guix/build/po.scm (final-character-escapes?): New procedure.
(interpret-newline-escape): Use it.

Change-Id: I2b036000173b1e282e2aeceffe3491e0917e51ca
2025-09-30 10:37:34 +02:00
Florian Pelz
3bc0cf8839
po: Do not handle escape sequences in PEG patterns.
\n sequences are handled and replaced by the 'interpret-newline-escape'
procedure.  Replacing cannot be done in PEG.

Before, PEG patterns had already dealt with the escaping of backslashes,
making it impossible for 'interpret-newline-escape' to distinguish \n
escape sequences from situations like \\n when the backslash itself is
escaped and thus cannot be part of an \n or \" escape sequence.

* guix/build/po.scm (str-chr): Do not escape characters.

Change-Id: Iae75dc146c55d21b725822780cfe951ef9ffae1e
2025-09-30 10:37:34 +02:00
Florian Pelz
6012fc5f7b
nls: Temporarily disable building of translated manuals.
* doc/local.mk (info_TEXINFOS, MANUAL_LANGUAGES, COOKBOOK_LANGUAGES):
Keep only 'en' for building with 'make'.
* guix/self.scm (translate-texi-manuals)[translate-tmp-texi]: Inhibit
calling PO4A, so none are built with 'guix pull'.

Change-Id: I1a119251f557b5f05c9e972ccb84c04e9267c692
2025-09-30 10:37:34 +02:00
Florian Pelz
b5054a85c1
nls: Minify translation PO files.
To save a lot of disk space, keep only actually translated messages in
Gettext PO files.  Ignore the guix domain, which is more complicated
and is tiny.

* build-aux/keep-only-translated.scm: New file.
* Makefile.am (download-po): Run it.

Change-Id: I6442ce0ef8d62f7e48e667c766b86d0ebf9c5415
2025-09-30 10:37:34 +02:00