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>
Rephrase or remove comments completely mentioning python-build-system to
prepare it for depreciation. It helps to search code for the rest
relevant entries of python-build-system.
Change-Id: I98ee81b4b0e0f826fd236fec20e77546e1567f80
Obtained with
./pre-inst-env guix style -S remove-native-inputs -t python-pytest-cov
on top of https://codeberg.org/guix/guix/pulls/5862
For this reason, I don't think it's relevant to generate a GNU Style
Changelog.
Change-Id: I58fe10452d7eaf2e8bb4dc88dfac5b4a5ee46165
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/mail.scm (rspamd): Update to 3.14.3.
[description]: Use example from project README.md.
Merges guix/guix!7128
Change-Id: Ib6c75e7c216ee32610dbcad568249872df51c308
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
* gnu/packages/mail.scm (neomutt): Update to 20260105.
[native-inputs]:
Update neomutt-test-files to commit c769cdefd45b.
Add autosetup and remove its transitive dependency tcl.
[source]: Add snippet and its required modules to unbundle autosetup.
[arguments]
<phases>:
{configure}: Invoke autosetup directly.
{prepare-test-files}: Re-enable test_mutt_sig_exit_handler.
<configure-flags>:
Move --prefix to the definition of the configure phase.
Remove --ssl=1 which now conflicts with --gnutls.
Add --enable-autocrypt.
[inputs]: Add sqlite for autocrypt support.
Change-Id: I604876d66623bdc7d799d86962f60e437003f57f
Merges: https://codeberg.org/guix/guix/pulls/4835
Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
* gnu/packages/mail.scm (neomutt)[arguments]: Update to modern style.
Change-Id: Ic2a5e2dab7c2d87b0bd54e6988d8193d0788db2d
Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
This commit was made by running this command:
sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm
… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).
Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
This is a follow-up to commit e76d4cbb5b .
* gnu/packages/mail.scm: Do not include removed (gnu packages mercury).
Change-Id: I3ddd47a9c71a58bc88315659f3f730b0a9ff3ba7
* gnu/packages/mail.scm (claws-mail): Update to 4.4.0.
[inputs]: Remove dbus-glib since the codebase has migrated to GDBus.
Merges: https://codeberg.org/guix/guix/pulls/7031
Change-Id: Ic11306ff44b8f48b8249c8e8fd1bfd676978ef33
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Remove python-isort from [native-inputs] in the following packages as
not required for build/tests/install:
* gnu/packages/machine-learning.scm: (python-pymanopt))
* gnu/packages/mail.scm: (python-hyperkitty, postorius)
* gnu/packages/virtualization.scm: (python-qemu-qmp)
Change-Id: Ie50eb222c5db62cf985926c716152db8bf6e7855
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Build with full Emacs to ensure conditionally required mu4e-dbus feature
is included in the output.
* gnu/packages/mail.scm (mu)[native-inputs]: Replace emacs-minimal with
emacs.
Closes: guix/guix#5077Fixes: guix/guix#5085
Change-Id: I223b256042ca69421f445c8466fddf9b68fafa56
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This is a follow-up to commit 41357c7d1c
which was pushed without one change.
* gnu/packages/mail.scm (alpine)[arguments]<#:configure-flags>:
Correct a typo.
Change-Id: I8505829da14e026c958ed1c4ca0a65c5c45cf93f
* gnu/packages/mail.scm (mu): Add mu-utils-file.cc's call to /bin/rm to
patch-bin-references phase.
When mu runs as a server, it creates a randomly-named temporary directory in
`/tmp/`. Mu previously hard-coded a path to `/bin/rm` for removing this
directory when the server closed. We missed this one in the phase that patches
these paths.
This has also been reported upstream, but will only make it into the next
release of mu. In the meantime, we can just patch the /bin/rm for ours and
remove the whole phase when the next release happens.
https://github.com/djcb/mu/issues/2887https://github.com/djcb/mu/commit/f237a2b9905475fb95da6a04e318d10cab61ddebhttps://github.com/djcb/mu/commit/fc4d5b01a703e8c8cc390cfea135f08d3b45ccab
Change-Id: I419b994ca403a14c20520755116591196b724fae
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/mail.scm (mu): Update to 1.12.13.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Fix filename to not match wildcard in the custom 'fix-ffi' build
phase.
Change-Id: Id0983218a36a2e8f5e5825afb173b07d30b3ae6d
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.
Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
* gnu/packages/mail.scm (lm2d)[arguments]: Use gexps.
<#:tests?>: Set to #f.
<#:phases>{check}: Do no delete phase.
{mkdir}: Simplify.
Change-Id: Ia449f1c851f269aa6c9e0e1da5cb896ce3e1e0e2
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/mail.scm (khard): Update to 0.20.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Add test-flags to skip some tests.
[inputs]: Remove python-atomicwrites and python-unidecode.
[native-inputs]: Add python-pytest and python-setuptools.
Change-Id: I95a70042a8f153d7a983db49e6acd8430718fa71