1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 21:50:35 +02:00
Commit Graph

259 Commits

Author SHA1 Message Date
Nicolas Graves
266d84d922 guix: build-system: Set pypi-uri in pyproject, drop python module.
After this commit, when both modules are imported:

- if pyproject is imported before, the warning is 'pypi-uri' is
deprecated, use '(@ (guix build-system pyproject) pypi-uri)' instead

- if python is imported before, the warning is `pypi-uri' imported from
both (guix build-system python) and (guix build-system pyproject)

This seems convenient enough to warn for deprecation in the short term,
while avoiding any breaking changes.

* guix/build-system/pyproject.scm (pypi-uri): Move the procedure from
(guix build-system python) here.

* guix/build-system/python (pypi-uri): Drop definition, import it
from (guix build-system pyproject) and deprecate it.

* gnu/packages/openldap.scm: Reorder modules to get the right warning.

* gnu/packages/pypy.scm: Likewise.

* gnu/packages/*.scm : Drop module (guix build-system python).

* tests/import/pypi.scm: Likewise.

Merges: https://codeberg.org/guix/guix/pulls/7448
Change-Id: Ib42f53bc545052eb7918a25afe9db6d5fc2cb834
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:42:07 +01:00
Ludovic Courtès
2a50c9598b gnu: Reference the inherited ‘arguments’ value.
This commit was made by running this command:

  sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm

… and then:

  1. reverting changes from ‘gnu/packages/rust.scm’ and
     ‘gnu/packages/java.scm’ since they would incur derivation changes and/or
     breakage;
  2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
  3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
     which use ‘substitute-keyword-arguments’ for arguments that are not
     inherited (and thus ‘arguments’ would be unbound);
  4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
     which make bogus assumptions about inherited arguments.

Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-20 13:27:15 +01:00
Gabriel Wicki
2a2fed74f5 gnu: Fix ack.
* gnu/packages/textutils.scm (ack) [arguments] {phases}: Wrap package name in
double-quotes.

Change-Id: Id1ef9022e2a0cb4e22d74b7d1b8fc8d53576967a
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2026-03-04 12:54:52 +01:00
Efraim Flashner
adc011e185 gnu: Fix some spelling errors.
* gnu/packages/admin.scm, gnu/packages/containers.scm,
gnu/packages/geo.scm, gnu/packages/monitoring.scm,
gnu/packages/networking.scm, gnu/packages/sdl.scm,
gnu/packages/shellutils.scm, gnu/packages/specifications.scm,
gnu/packages/sssd.scm, gnu/packages/statistics.scm,
gnu/packages/tcl.scm, gnu/packages/telephony.scm, gnu/packages/tex.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tor-browsers.scm: Fix some spelling errors.

Change-Id: Idefb46cfe06869670c7f3b5229c8a39ac17392db
2026-03-01 15:55:07 +02:00
Ashish SHUKLA
db402a1e03 gnu: goawk: Update to 1.31.0.
* gnu/packages/textutils.scm (goawk): Update to 1.31.0
[arguments]<#:test-flags>: Add another test to be skipped.

Merges: https://codeberg.org/guix/guix/pulls/5076
Change-Id: I0f1cd6b516320c811dd440919dd155acdc1c9377
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-26 13:06:52 +00:00
Sharlatan Hellseher
8a0187109a gnu: miller: Update to 6.17.0.
* gnu/packages/textutils.scm (miller): Update to 6.17.0.
[native-inputs]: Add go-gopkg-in-yaml-v3 and go-pault-ag-go-debian.

Change-Id: Ibaece94b564f2aaffb29477b665380d2167f628d
2026-02-25 15:44:27 +00:00
Anderson Torres
525762a0ae gnu: ack: Update to 3.9.0.
* gnu/packages/tetxutils.scm (ack): Update to 3.9.0.
[native-inputs]: Add perl-yaml-pp.

Change-Id: I1898f32013e5ec51c2bc1f004f6386860c6b6dd1
2026-02-19 21:36:58 +01:00
Anderson Torres
ee94d3c324 gnu: ack: Add dependency for testing.
* gnu/packages/tetxutils.scm (ack)[native-inputs]: Add perl-io-pty.

Change-Id: I283502b14f84ebdea6bd87af6abb2d53030120c6
2026-02-19 21:36:55 +01:00
Anderson Torres
730331a0c9 gnu: ack: Modernize package and add input.
* gnu/packages/textutils.scm (ack): Use gexps and fix indentation.
[inputs]: Add perl.

Change-Id: I486434ed0a3d7a8da01d4ce070bb7c7234a04788
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-02-19 21:36:47 +01:00
Sharlatan Hellseher
bf561db81d gnu: yq: Update to 4.52.4.
* gnu/packages/textutils.scm (yq): Update to 4.52.4.

Change-Id: Ie2bcdc656862c6bcbc39e69ddcaf95398a34cdd1
2026-02-15 14:17:46 +01:00
Nicolas Graves
b96170652f gnu: opencc: Improve style and switch to pyproject.
* gnu/packages/textutils.scm (opencc):
[arguments]: Use list instead of quote.
<#:imported-modules, #:modules>: Switch to pyproject-build-system.
<#:phases>: Rewrite using gexps, #$output, site-packages, and
search-ipnut-directory.

Change-Id: I050acb3be2ff0a34fc6156113a4cc997bedd2937
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:53 +01:00
Sharlatan Hellseher
da7b87812d gnu: Remove python-tldr.
* gnu/packages/textutils.scm (python-tldr): Delete variable.

Change-Id: Id535933a89c202b9fe1192b78116781b43dbf8a2
2026-02-07 12:28:25 +01:00
Sharlatan Hellseher
9a50823081 gnu: Remove python-cobib.
* gnu/packages/textutils.scm (python-cobib): Delete variable.

Change-Id: I30cd0930728617827af71baa3dad42f1960b9316
2026-02-07 12:28:25 +01:00
Patrick Norton
3800a6753e gnu: uniutils: Update documentation.
* gnu/packages/textutils.scm (uniutils): Update documentation to reflect
the addition of two new commands.

Change-Id: Ic54ca23d14f554de909190a64a1dc5c30f2b70ba
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #6079
2026-02-06 20:49:01 +01:00
Sharlatan Hellseher
39a57da774 gnu: yq: Update to 4.50.1.
* gnu/packages/textutils.scm (yq): Update to 4.50.1.
[native-inputs]: Add go-github-com-hashicorp-hcl-v2 and go-github-com-zclconf-go-cty.

Change-Id: Ife47f331192f387d5821e1389f619cf539b9d6f2
2025-12-18 23:19:27 +00:00
Sharlatan Hellseher
c7142e3107 gnu: yq: Update to 4.49.1.
* gnu/packages/textutils.scm (yq): Update to 4.49.1.
[native-inputs]: Remove go-go-yaml-in-yaml-v3; add go-go-yaml-in-yaml-v4.

Change-Id: I334bbebb56a94bc0c769c8a96b722dbcb24f5671
2025-11-25 12:05:53 +00:00
Sharlatan Hellseher
80697353a8 gnu: pandoc-include: Update to 1.4.3.
* gnu/packages/textutils.scm (pandoc-include): Update to 1.4.3.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Disable broken tests.
[inputs]: Add python-lxml, python-natsort, and python-panflute.
[propagated-inputs]: Remove python-natsort and python-panflute.
[native-inputs]: Add python-setuptools.

Change-Id: I166592371805b9005825711e66be03a2ca302cf7
2025-11-22 16:10:12 +00:00
Ashish SHUKLA
2c1376e9f1 gnu: goawk: Update to 1.30.1.
* gnu/packages/textutils.scm (goawk): Update to 1.30.1.

Change-Id: I5187b390358004a8cc2a6b080b53db72b58d6075
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-18 20:53:51 +01:00
Sharlatan Hellseher
f647fb8152 gnu: cobib: Don't propagated inputs.
This is the final command, not a library.

* gnu/packages/textutils.scm (cobib):[propagated-inputs]: Move all to
[inputs].

Change-Id: I7a5df8a0e265f52e2df9e4732c118ab92763de12
2025-11-11 16:02:05 +00:00
Nicolas Graves
ae2e089b5a gnu: python-bibtexparser: Update to 2.0.0b8.
* gnu/packages/python-xyz.scm (python-bibtexparser): Update to 2.0.0b8.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-future.  Add python-pylatexenc,
python-pytest and python-setuptools.
(python-bibtexparser-for-cobib): New variable.

* gnu/packages/textutils.scm (cobib)[propagated-inputs]: Remove
python-bibtexparser; add python-bibtexparser-for-cobib.

Change-Id: I924fba9ccf9487dea6409fb4d1e1d69ab026c130
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-11 16:02:05 +00:00
Sharlatan Hellseher
bdae1da626 gnu: vale: Update to 3.13.0.
* gnu/packages/textutils.scm (vale): Update to 3.13.0.

Change-Id: Iee13b46eb97e1e42789c5faa0c072dce0ba63d80
2025-11-03 07:53:58 +00:00
Sharlatan Hellseher
e6f0746d6d gnu: goawk: Build with go-1.24.
* gnu/packages/textutils.scm (goawk)[arguments] <go>: Use default (go-1.24).
<test-flags>: Disable vet during tests and move test skip logic here.
<phases>: Remove 'disable-failing-tests, and 'patch-pats; add
'pre-check, and 'post-check-remove-output-temp; use default 'check.

Change-Id: Id3b3c4c62fd660f693b7b7f44dd3129813894d58
2025-11-03 07:53:58 +00:00
Ashish SHUKLA
843c85d9ea gnu: goawk: Update to 1.30.0.
* gnu/packages/textutils.scm (goawk): Update to 1.30.0.

Change-Id: I3424c37e7ee60891893648ba377c2711d0cd7999
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-03 07:53:58 +00:00
Sharlatan Hellseher
144d1c0777 gnu: cobib: Update to 6.0.1.
* gnu/packages/textutils.scm (cobib): Update to 6.0.1.
[arguments] <test-flags>: Rework the list of skipped tests and use
"--ignore" to exclude tests files.
<phases>{pre-check}: Add git setup.
[propagated-inputs]: Remove python-requests-oauthlib; add
python-mdit-py-plugins and python-natsort.

Change-Id: I530760a844c9cdbb08bffca8d6fff569e214a5bc
2025-10-28 17:46:25 +00:00
Sharlatan Hellseher
a70eb71d00 gnu: tldr: Move to textutils.
* gnu/packages/python-xyz.scm (tldr, pythno-tldr): Move from here ...
* gnu/packages/textutils.scm: ... to here.

Change-Id: I678a9fd63960328dbcaf6a28a8868d3ce1e2aa23
2025-10-28 17:46:24 +00:00
Sharlatan Hellseher
f10a5d32ee gnu: python-pandocfilters: Move to pyhton-xyz.
* gnu/packages/textutils.scm (python-pandocfilters): Move from here ...
* gnu/packages/python-xyz.scm: ... to here.

Change-Id: I37675f6d4d48e1499b78f1efcecd927a5fe685a0
2025-10-28 17:46:24 +00:00
Sharlatan Hellseher
5f8ef67529 gnu: python-panflute: Move to python-xyz.
* gnu/packages/textutils.scm (python-panflute): Move from here ...
* gnu/packages/python-xyz.scm: ... to here.

Change-Id: I7d63724ac792057e6cc6d6c4d3d51a1b6441bbb3
2025-10-28 17:46:24 +00:00
Ludovic Courtès
9fcfb93944 gnu: Use ‘define-deprecated-package’ for deprecated packages.
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.

Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
2025-10-23 19:35:06 +02:00
Sharlatan Hellseher
7548be58c7 gnu: txt2tags: Switch to pyproject.
* gnu/packages/textutils.scm (txt2tags)[source]: Switch to git-fetch
providing tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-tox; add python-setuptools.

Change-Id: Ief209c0de837c6f2e02eaa346f47c56ad09d037f
2025-10-23 17:09:41 +01:00
gnuphilic
9abcf2b9c6 gnu: add utfcpp-2
* gnu/packages/textutils.scm (utfcpp-2): New variable

Change-Id: I3a682b22424794349a00c773aeba2ebc9343bf44
Signed-off-by: Ekaitz Zarraga <ekaitz@elenq.tech>
2025-10-14 15:48:37 +02:00
Sören Tempel
aac578dfe4 gnu: Add libxo.
* gnu/packages/textutils.scm (libxo): New procedure.

Change-Id: Ic0db518b3d16eb6049b8cf3570f8bb5f51403718
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-13 12:30:33 +01:00
Sharlatan Hellseher
66eea1ac1e gnu: yq: Fix binary name.
* gnu/packages/textutils.scm (yq)[arguments] <import-path>: Remove
trailing v4 to force go compiler to provide "yq" binary.

Fixes: guix/guix#3350
Change-Id: I533a3d0717bef32346ba1bed49b1fc708044aedc
2025-10-06 20:36:52 +01:00
Nguyễn Gia Phong
fa96bd8d13 gnu: python-setuptools-next: Mark as deprecated.
Replace all python-setuptools-next occurrences with python-setuptools.

* gnu/packages/python-build.scm (python-setuptools-next):
  Mark as a deprecated public alias.
* gnu/packages/astronomy.scm (python-asdf-coordinates-schemas,
  python-asdf-standard, python-jplephem, python-rad)
  [native-inputs]: Replace python-setuptools-next
  with python-setuptools.
* python-crypto.scm (python-ed25519) [native-inputs]:
  Replace python-setuptools-next with python-setuptools.
* gnu/packages/qt.scm (python-sip) [native-inputs, propagated-inputs]:
  Replace python-setuptools-next with python-setuptools.
  (python-pyqt-builder) [native-inputs]:
  Replace python-setuptools-next with python-setuptools.
* gnu/packages/textutils.scm (cobib) [native-inputs]:
  Replace python-setuptools-next with python-setuptools.

Change-Id: I5f2d7ec8c62dc0fa0855c5eb64a4f87579d188eb
2025-09-30 13:22:59 +01:00
Sharlatan Hellseher
52b4aac177 gnu: Remove python-editdistance.
This project was archived by the owner on Jun 30, 2025. It has no users
 in Guix.

* gnu/packages/textutils.scm (python-editdistance): Delete variable.

Change-Id: Ic8930d36449499874837f106ec1e6404ef349218
2025-09-25 09:36:30 +01:00
Sharlatan Hellseher
cb5e1b3a38 gnu: python-pandocfilters: Update to 1.5.1.
* gnu/packages/textutils.scm (python-pandocfilters): Update to 1.5.1.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Disable as requiring Pandoc in PATH.
  [native-inputs]: Add python-setuptools.

Change-Id: I5b6560b67f4f76b7b9a40bf8a87a5a6c34d7e09e
2025-09-25 09:36:02 +01:00
Sharlatan Hellseher
767d351abe gnu: python-panflute: Update to 2.3.1.
* gnu/packages/textutils.scm (python-panflute): Update to 2.3.1.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Disable as requiring Pandoc in PATH.
  [native-inputs]: Remove python-configparser, python-coverage,
  python-flake8, python-pandocfilters, python-pytest, python-pytest-cov,
  and python-requests; add python-setuptools.

Change-Id: I1914ed63535da1930f9161b1b7e2975e849fcd92
2025-09-25 09:35:55 +01:00
Maxim Cournoyer
10482f731e Reapply "Update Maxim's email address."
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:

grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
  --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
  xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3 Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00
Maxim Cournoyer
d0d87a744d Update Maxim's email address.
The change was automated via:

  git grep -l maxim.cournoyer@gmail.com |
    xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

* .mailmap: New entry.

Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-18 08:05:19 +09:00
Sharlatan Hellseher
5c525be2a7 gnu: yq: Move to textutils.
* gnu/packages/web.scm: Move from here ...
* gnu/packages/textutils.scm: ... to here.

Change-Id: I7449644654824d5748ca26880a54e1a50aa90957
2025-09-14 23:36:30 +01:00
Sharlatan Hellseher
f0bb63bed8 gnu: cobib: Update to 5.4.0.
* gnu/packages/textutils.scm (cobib): Update to 5.4.0.
[arguments] <test-flags>: Rework skipped tests.
[propagated-inputs]: Remove python-mdit-py-plugins and python-textual-1;
add python-textual.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-setuptools-next.

Change-Id: Ie0e1cdf2516a7ee18fbd1eb0c2865c4cd29dfb75
2025-09-14 22:04:43 +01:00
Sharlatan Hellseher
063026216b gnu: gron: Move to textutils.
* gnu/packages/golang-web.scm (gron): Move from here ...
* gnu/packages/textutils.scm: ... to here.

Change-Id: Ic1cbb609e4ed95218e42cdb866762ae6e52ddbc5
2025-09-08 23:18:36 +01:00
Sharlatan Hellseher
b2db30ee7d gnu: miller: Update to 6.15.0.
* gnu/packages/textutils.scm (miller): Update to 6.15.0.
[native-inputs]: Remove python-mkdocs-material; add
go-github-com-kshedden-statmodel.

Change-Id: Ib6809c6d4ece3c581f3c403710762b924f289819
2025-09-08 23:03:11 +01:00
Sharlatan Hellseher
edb2c247ba gnu: vale: Update to 3.12.0.
* gnu/packages/textutils.scm (vale): Update to 3.12.0. Fix indentation.
[arguments] <go>: Use default go-1.24.

Change-Id: I84b74e832d1fa29ae3fca1cb8adc8e853af69ad6
2025-09-08 23:02:37 +01:00
Efraim Flashner
d71195f531 gnu: utf8proc: Enable building on more systems.
* gnu/packages/textutils.scm (utf8proc)[native-inputs]: Only add
native-inputs on systems where julia is supported and when not
cross-building.
[arguments]: When building without julia skip the tests and the
'check-data phase.

Change-Id: Ib7ef239e3b6ad02fd089bd8dbaeb0f06190332ca
2025-08-21 19:09:04 +08:00
John Khoo
88ee1c5c86 gnu: Remove utf8proc-2.7.0.
* gnu/packages/textutils.scm (utf8proc-2.7.0): Remove utf8proc-2.7.0.

Change-Id: I1c27646cdded84370590b12e5e65eddcdf97a1e7
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-08-21 19:08:56 +08:00
Hilton Chain
e6aff8fb02 gnu: utf8proc: Remove input labels.
* gnu/packages/textutils.scm (utf8proc)[native-inputs]: Remove input labels.

Change-Id: Id1b417739f63bf44a98ea966ce92ffc27c0fc9e5
2025-08-21 19:08:55 +08:00
John Khoo
c76d37be28 gnu: utf8proc: Inherit from utf8proc-bootstrap.
* gnu/packages/textutils.scm (utf8proc): Inherit from utf8proc-bootstrap.
[native-inputs]: Update Unicode version to 16.0.0.
Add DerivedCoreProperties.txt, julia and ruby-2.7.
[arguments]<#:phases>: Adjust accordingly.

Change-Id: Ib8e08ea65eab2409a38dd5f43c91342842e361f5
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-08-21 19:08:55 +08:00
John Khoo
e77ad0ab0e gnu: Add utf8proc-bootstrap.
* gnu/packages/textutils.scm (utf8proc-bootstrap): New variable.
* gnu/packages/julia.scm (julia)[inputs]: Replace utf8proc with
it to break dependency circle.

Change-Id: Ie2e0c4a83aa9b478b125a390f162c1c69613cd9b
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-08-21 19:08:55 +08:00
Maxim Cournoyer
af9e540b71 gnu: nss-certs: Relocate to (gnu packages nss).
This is made so that the source can be shared without introducing module
circular dependencies.

* gnu/packages/certs.scm (nss-certs)
(nss-certs-for-test): Move to...
* gnu/packages/nss.scm: ... here.

Adjust the module imports via:

  git grep -l '(gnu packages certs)' |
  xargs sed 's/(gnu packages certs)/(gnu packages nss)/' -i

Change-Id: I56d7bc52ddcdffbced8a162e8db8ea5071b0cb0f
2025-08-17 22:34:42 +02:00