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>
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
* 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>
* 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>
* 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
This is the final command, not a library.
* gnu/packages/textutils.scm (cobib):[propagated-inputs]: Move all to
[inputs].
Change-Id: I7a5df8a0e265f52e2df9e4732c118ab92763de12
* 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
* 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
* gnu/packages/python-xyz.scm (tldr, pythno-tldr): Move from here ...
* gnu/packages/textutils.scm: ... to here.
Change-Id: I678a9fd63960328dbcaf6a28a8868d3ce1e2aa23
* gnu/packages/textutils.scm (python-pandocfilters): Move from here ...
* gnu/packages/python-xyz.scm: ... to here.
Change-Id: I37675f6d4d48e1499b78f1efcecd927a5fe685a0
* gnu/packages/textutils.scm (python-panflute): Move from here ...
* gnu/packages/python-xyz.scm: ... to here.
Change-Id: I7d63724ac792057e6cc6d6c4d3d51a1b6441bbb3
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.
Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
* 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
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
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
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
* gnu/packages/golang-web.scm (gron): Move from here ...
* gnu/packages/textutils.scm: ... to here.
Change-Id: Ic1cbb609e4ed95218e42cdb866762ae6e52ddbc5
* 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
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