1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-19 00:30:30 +02:00
Commit Graph

5459 Commits

Author SHA1 Message Date
Nicolas Graves
03ca423612 gnu: python-jsonrpclib-pelix: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-jsonrpclib-pelix):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Enable tests.
[native-inputs]: Add python-setuptools.
[home-page, description]: Improve style.

Change-Id: I09d18add499af646e9a2f1aeecaf2379851c705f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-05 17:09:11 +01:00
Nicolas Graves
44f7ad2fc6 gnu: python-pydub: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pydub):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Refresh them, use search-input-file.
<#:test-backend>: Set it.
[native-inputs]: Add python-setuptools.

Change-Id: I2331423a8d4218f4a7f1f562b9fb62f8fb1500b3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-05 17:09:11 +01:00
Nicolas Graves
267951cfe2 gnu: python-py4j: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-py4j):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them, they all fail.
[native-inputs]: Add python-setuptools.

Change-Id: I016ece3e22ed4af4b11a29539fb8a97db4c36689
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-05 17:09:11 +01:00
Sharlatan Hellseher
50de010253 gnu: python-wget: Move to python-web.
* gnu/packages/python-xyz.scm (python-wget): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Iedab025163e518a84571ee98ec52d31296172d83
2025-10-05 17:09:11 +01:00
Sharlatan Hellseher
4703e1a3a9 gnu: packages/python-xyz: Sort python-w* variables.
* gnu/packages/python-xyz.scm (python-wand, python-wasabi,
python-watchdog, python-watchfiles, python-wcwidth, python-whatever,
python-whatthepatch, python-wheel-filename, python-whichcraft,
python-whoosh, python-widgetsnbextension, python-wrapt,
python-wurlitzer): Sort variables alphabetically.

Change-Id: Ica92cae4883c0e8ce3c58cfa6a75d4ecb6634f4b
2025-10-05 17:09:11 +01:00
Sharlatan Hellseher
8d5bbb3a6a gnu: python-wasabi: Update to 1.1.3.
* gnu/packages/python-xyz.scm (python-wasabi): Update to 1.1.3.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-flags>: Deselect one tests requiring nbconvert to
reduce closure size.
[propagated-inputs]: Add python-colorama.
[native-inputs]: Add python-setuptools.

Change-Id: Ia5b5e340a865cd03ccfc623a7bf4d820ed209dbf
2025-10-05 17:09:11 +01:00
Sharlatan Hellseher
1f20f40861 gnu: python-wget: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-wget)[build-system]: Switch to
pyproject-build-system.
[arguments]<tests?>: No tests.
[native-inputs]: Add python-setuptools.

Change-Id: I8dcef2313f8bca61adbe805a87294b37c79267ce
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
dd5cf4eee3 gnu: python-wikidata: Move to python-web.
* gnu/packages/python-xyz.scm (python-wikidata): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Id62d5b7c5ff55025cc8355bef70095588b517e49
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
f8304ab736 gnu: python-whoosh: Update to 2.7.4-0.d9a3fa2.
* gnu/packages/python-xyz.scm (python-whoosh): Update to
d9a3fa2a4905e7326c9623c89e6395713c189161 commit.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-buld-system.
[arguments] <tests?>: All tests are working now.
[propagated-inputs]: Add python-cached-property.
[native-inputs]: Add python-setuptools.
[home-page]: Fix dead link.

Change-Id: Ia6490e6fdb29b40bcd96a6480eeea6a9ed1100bf
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
eddd7c3831 gnu: python-whichcraft: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-whichcraft)[buld-system]: Switch
to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I15685dea28ec1a4b3971a4717983b576b20391c5
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
705aa42bed gnu: python-whatthepatch: Update to 1.0.7.
* gnu/packages/python-xyz.scm (python-whatthepatch): Update to 1.0.7.
[native-inputs]: Remove python-wheel.

Change-Id: I5ef3e198f07aed812c2197ba3196b88953fbf45a
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
35f662d5ed gnu: python-waitress: Move to python-web.
* gnu/packages/python-xyz.scm (python-waitress): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Ia9050f40b4fb0f9d328cb580aa26e4f9ec733394
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
2d6e9b7b52 gnu: python-waf: Move to build-tools.
* gnu/packages/python-xyz.scm (python-waf): Move from here ...
* gnu/packages/build-tools.scm: ... to here.
* gnu/packages/fltk.scm: Add build-tools module.
* gnu/packages/ntp.scm: Likewise.
* gnu/packages/wxwidgets.scm: Likewise.

Change-Id: Iedf10b92b4785f19fbf30c6886c0f1c541925698
2025-10-05 17:09:10 +01:00
Sharlatan Hellseher
d2be5c1661 gnu: python-waf: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-waf)[buld-system]: Switch to
pyproject-build-system.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Move them from custom 'check here.
<phases>: Use default 'check.

Change-Id: I8c3dd383dba774a54f44b725e9b63f35287f4374
2025-10-05 17:09:09 +01:00
Sharlatan Hellseher
635f786f2a gnu: python-waf: Refresh package style.
* gnu/packages/python-xyz.scm (python-waf): Use G-expressions, remove
trailing #t from lambdas, fix indentation.

Change-Id: Ic8dcac6ab50329f2b83d6803b3cb7205f2b6ea75
2025-10-05 17:09:09 +01:00
Sharlatan Hellseher
eb94c2f7df gnu: python-wmctrl: Move to xdisorg.
* gnu/packages/python-xyz.scm (python-wmctrl): Move from here ...
* gnu/packages/xdisorg.scm: ... to here.

Change-Id: I9e70f3fda5f97d580d4f610c8fe6e913c4a508bf
2025-10-05 17:09:09 +01:00
Sharlatan Hellseher
1494c6316e gnu: python-wmctrl: Update to 0.5.
* gnu/packages/python-xyz.scm (python-wmctrl): Update to 0.5. Use
G-Epressions.
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Disalbe for now.
[native-inputs]: Add python-setuptools.

Change-Id: Iab74b86d60c62856be83a033d39c0fe8561a3a9e
2025-10-05 17:09:09 +01:00
Maxim Cournoyer
91e70b9c01 gnu: python2-pycparser: Truly build a python2 package.
* gnu/packages/python-xyz.scm (python2-pycparser): Build from a base package
adjusted for compatibility with Python 2 and package-with-python2.

Reviewed-by: Danny Milosavljevic <dannym@scratchpost.org>
Change-Id: I39e5b631d5fe751665a2e3a595327140de9ba2e9
2025-10-05 21:37:27 +09:00
Sharlatan Hellseher
a48d6c0cd5 gnu: packages/python-xyz: Sort.
* gnu/packages/python-xyz.scm::(python-xattr, python-xdg, python-xlib,
python-xlrd, python-xlsxwriter, python-xlwt, python-xmldiff,
python-xmlsec): Sort variables alphabetically.

Change-Id: I95562272fffefa1cc120af191497b30cf129edd2
2025-10-05 08:57:21 +01:00
Sharlatan Hellseher
8a0836b457 gnu: python-num2words: Adjust inputs.
"docopt" is listed in "install_requires" however it's used just in CLI
and not in the library, but having it in [inputs] breaks sanity check of
dependent package.
See: <https://codeberg.org/guix/guix/pulls/3092#issuecomment-7544554>

* gnu/packages/python-xyz.scm (python-num2words)[native-inputs]: Remove
python-docopt.
[propagated-inputs]: Add python-docopt.

Change-Id: I53269e2760b216292957d2c418a62c1b12f6b51a
2025-10-05 08:45:09 +01:00
Nicolas Graves
efe511f8ca gnu: python-hnswlib: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-hnswlib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-pytest, python-setuptools.

Change-Id: Iff696b3284e12a3a4664892bcf8e871427f10fc1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:47:57 +01:00
Nicolas Graves
f77b837299 gnu: python-bip39: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-bip39):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: Ibcab592736525d53a4081cf673bed58f368dd2d7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:47:57 +01:00
Nicolas Graves
2bd64e9a94 gnu: python-clyent: Update to 1.2.2.
* gnu/packages/python-xyz.scm (python-clyent): Update to 1.2.2.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
<phases>: Add versioneer.
[native-inputs]: Add python-setuptools, python-versioneer.
[description]: Improve style.

Change-Id: I5d305bb058fdc927092ee81c7f8553584a4cce6a
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:47:51 +01:00
Nicolas Graves
d1871891b0 gnu: python-icmplib: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-icmplib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I17f16b2a2a0d56daab38d247ad9fb928426ac965
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:32:22 +01:00
Nicolas Graves
b81d4da93a gnu: python-pymediainfo: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pymediainfo):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase replacement by
<#:test-flags>. Refresh 'patch-libmediainfo phase.
[native-inputs]: Add python-setuptools, remove python-setuptools-scm.

Change-Id: If9b94e31ad76e5704c6c5ec664a7b2ac509b9df8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:32:22 +01:00
Nicolas Graves
ac2d9c7ca7 gnu: python-pymd4c: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pymd4c):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools. Remove python-flake8.

Change-Id: I1df009b2002694b9b0afe5b0a9e4e6e56a30b066
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:32:22 +01:00
Nicolas Graves
84607539b5 gnu: python-easygui: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-easygui):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.

Change-Id: I8b723a7037758f2c0ad189bb7b3ef856ea842e87
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-04 08:32:18 +01:00
Sharlatan Hellseher
7d714e693c gnu: python-xdo: Move to xdisorg.
* gnu/packages/python-xyz.scm (python-xdo): Move from here ...
* gnu/packages/xdisorg.scm: ... to here.

Change-Id: I46ef1efb1cb52ee9a1724dfe37167e7e7cdbf837
2025-10-04 01:39:30 +01:00
Sharlatan Hellseher
8f79dfd7d6 gnu: python-xdo: Update to 0.5.
* gnu/packages/python-xyz.scm (python-xdo): Update to 0.5. Use
G-Expression, remove traling #t from lambda.
[build-system]: Switch to pyproject-build-system.
[arguments] <phases>: Place 'patch-libxdo-path after 'unpack.
[native-inputs]: Add python-setuptools.
[inputs]: Remove labels.
[propagated-inputs]: Remove python-six.

Change-Id: Iba0bd85da34fd3eb47a3d8d4539f3fa6dff008c3
2025-10-04 01:39:30 +01:00
Sharlatan Hellseher
221abb5ef7 gnu: python-xdoctest: Move to python-check.
* gnu/packages/python-xyz.scm (python-xdoctest): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: Ic20d4d77ac14da286dd8d6438eab3b3a528bf97b
2025-10-04 01:39:29 +01:00
Sharlatan Hellseher
0c5be64c58 gnu: python-xdoctest: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-xdoctest): Update to 1.3.0.
[native-inputs]: Remove python-pytest, python-pytest-cov and
python-wheel; add python-pytest-bootstrap.

Change-Id: I1f5e9b2c15c35054bfaa7f2179fb5b51e265efb9
2025-10-04 01:39:29 +01:00
Sharlatan Hellseher
a5a7083f96 gnu: python-xopen: Move to python-compression.
* gnu/packages/python-xyz.scm (python-xopen): Move from here ...
* gnu/packages/python-compression.scm: ... to here.

Change-Id: Ibd5d8401fb45816855c85b0535738ce6b44d5e82
2025-10-04 01:39:29 +01:00
Sharlatan Hellseher
222498ef75 gnu: python-xopen: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-xopen): Update to 1.8.0.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Remove python-wheel.

Change-Id: I0c2c14a787bfab74af70ebbc335670b00ec568a4
2025-10-04 01:39:29 +01:00
Sharlatan Hellseher
33cacc6486 gnu: python-xyzservices: Move to python-web.
* gnu/packages/python-xyz.scm (python-xyzservices): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I5e8fbed0e3ba2369f5740529914ad9b9af8bb8ff
2025-10-04 01:39:29 +01:00
Sharlatan Hellseher
abf88791ea gnu: python-xyzservices: Update to 2025.4.0.
* gnu/packages/python-xyz.scm (python-xyzservices): Update to 2025.4.0.
[native-inputs]: Remove python-wheel; add python-setuptools-scm.

Change-Id: I87436dc57b8348186562cebbddc50f6769e8be31
2025-10-04 01:39:29 +01:00
Sharlatan Hellseher
d0753b236b gnu: python-xattr: Update to 1.2.0.
* gnu/packages/python-xyz.scm (python-xattr): Update to 1.2.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest and python-setuptools.

Change-Id: Ic3421cdf746e933458c686f8217a7a3a66f2dccb
2025-10-04 01:39:28 +01:00
Sharlatan Hellseher
35cb7a376e gnu: Add python-show-in-file-manager.
* gnu/packages/python-xyz.scm (python-show-in-file-manager): New variable.

Change-Id: I832fa8627aad71e28bb4679597e37d6c73be512e
2025-10-03 23:12:47 +01:00
Sharlatan Hellseher
e28c7be06a gnu: Add python-hatch-gettext.
* gnu/packages/python-xyz.scm (python-hatch-gettext): New variable.

Change-Id: Ic2baf9839a6bf08b0fc8cc2c882b42a9e35f0848
2025-10-03 23:12:47 +01:00
Sharlatan Hellseher
4a1fd34e0e gnu: Add python-hatch-argparse-manpage.
* gnu/packages/python-xyz.scm (python-hatch-argparse-manpage): New variable.

Change-Id: I339b3ec8325934115597ac0e3293c6adf20a78a4
2025-10-03 23:12:28 +01:00
Nicolas Graves
e6be560b49 gnu: python-colour: Switch to pyproject.
* gnu/local.mk (python-colour):
[source]: Switch to git-fetch. Add patch to remove d2to1 dependency.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'set-version.
<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: Icf722a429f7bb70b08e81d0048624c5ba2e82a89
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
f11a015779 gnu: python-pyprind: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pyprind):
[source, description]: Improve style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.

Change-Id: I53abd559089adfe62583952a650f516da22f2d7c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
cb9ad70335 gnu: python-mkdocs-markdownextradata-plugin: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-mkdocs-markdownextradata-plugin):
[source, synopsis, description]: Improve style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: Ie433b5ce72311464fb9f79649ed879328bb8b1bd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
4c2599bdb0 gnu: python-mkdocs: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-mkdocs):
[build-system]: Switch to pyproject-build-system.
[arguments]: Set <#:test-backend> and <#:test-flags>.
<#:phases>: Remove 'check phase replacement.
[native-inputs]: Add python-setuptools.

Change-Id: Ia8588b9faf89c64f6654ec5c14f59e819752b384
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
3033b10fae gnu: python-dotmap: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-dotmap):
[source]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Add python-setuptools.

Change-Id: I256a69e671d5f830b1ed3b44ac7d02dd8b216e28
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
d0e88e8b1a gnu: python-logzero: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-logzero):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools. Remove python-pytest-runner.

Change-Id: I9eb63f1791ccb45c5d9617db4a77eb0132b51e92
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
3304dc562f gnu: python-pastel: Update to 0.2.1.
* gnu/packages/python-xyz.scm (python-pastel): Update to 0.2.1.

Change-Id: Id36d78da7d9d0528edf024a3ae67162942a9b37b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:31 +01:00
Nicolas Graves
aaf3bd6e07 gnu: python-pastel: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pastel):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase by <#:test-flags>. Add
phase 'use-poetry-core.
[native-inputs]: Add python-poetry-core and python-pytest.
[description]: Improve style.

Change-Id: I93377196595f380fcb722d52d44cd69b5fe7133f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-03 21:53:27 +01:00
Sharlatan Hellseher
10923ddef1 gnu: nikola: Update to 8.3.3.
* gnu/packages/python-xyz.scm (nikola): Update to 8.3.3.
[arguments] <test-flags>: Rework skipped tests.
[phases]{fix-pytest-config}: Repoint to pyproject.toml.
[native-inputs]: Remove python-wheel.

Change-Id: Id30eaca91c79b274bb5b087bc5477815dc285489
2025-10-02 23:53:58 +01:00
Sharlatan Hellseher
03b87a8945 gnu: packages/python-xyz: Sort.
* gnu/packages/python-xyz.scm::(python-yamllint,
python-yamlordereddictloader, python-yapf, python-yapsy, python-yaspin,
python-yattag, python-yq, python-yte): Sort variables alphabetically.

Change-Id: Idfbebccc36fcf75c18cd7452e2894ce9f7c6c93c
2025-10-02 23:29:14 +01:00
Sharlatan Hellseher
c93e4b667f gnu: python-yamllint: Update to 1.37.1.
* gnu/packages/python-xyz.scm (python-yamllint): Update to 1.37.1.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[propagated-inputs]: Remove python-setuptools.
[native-inputs]: Add python-setuptools.

Change-Id: Iff02db4d902cb51440c2efed7746897b8d94a2ba
2025-10-02 23:19:55 +01:00