gnu: python-flake8-bugbear: Update to 24.10.31.
* gnu/packages/python-xyz.scm (python-flake8-bugbear): Update to 24.10.31.
Improve style.
[source]: Adjust URI name as PyPI archive was changed.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Remove 'disable-test.
[native-inputs]: Remove python-hypothesis; add python-pytest,
python-setuptools, and python-wheel.
[description]: Start from a new line, adjust fill column.
Change-Id: Id8580c8b2d20820a9f16ec719d35ac3b1dbf548e
gnu: python-termcolor: Update to 2.5.0.
* gnu/packages/python-xyz.scm (python-termcolor): Update to 2.5.0.
Change-Id: I1921a14df2b51fa441c69a9a3ab59e0e827e4dd9
gnu: python-stdio-mgr: Fix build.
* gnu/packages/python-xyz.scm (python-stdio-mgr) [source]: Swap to git
checkout containing tests.
[arguments]<test-flags>: Ignore doctests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[description]: Start from a new line.
Change-Id: I0b03adad8b2277686c7e07859eebd7555934ac8c
gnu: Remove python-filelock-3.5.
* gnu/packages/bioinformatics.scm (python-filelock-3.5): Delete variable.
(python-genomepy) [propagated-inputs]: Replace python-filelock-3.5 with
python-filelock.
Change-Id: I74b58c5143dc3f633e44cc9b92307520b160f43f
gnu: python-filelock: Update home page URL.
* gnu/packages/python-xyz.scm (python-filelock) [home-page]: Update URL.
gnu: python-pyserial: Enable tests.
* gnu/packages/python-xyz.scm (python-pyserial): Enable tests, improve
package style.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I826c7de11642f037ed4e6bc3eaa92dd2ef4d9500
gnu: python-yattag: Update to 1.16.1.
* gnu/packages/python-xyz.scm (python-yattag): Update to 1.16.1.
Improve package style.
[build-system]: Swap to pyrpject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: Id5c40e89ab6756e6ced22e84c844e37f416233d3
gnu: python-ddt: Update to 1.7.2.
* gnu/packages/python-xyz.scm (python-ddt): Update to 1.7.2.
[build-system]: Swap to pyrpoject-build-system.
[native-inputs]: Add python-aiounittest, python-setuptools, and
python-wheel.
[description]: Fix fill column.
Change-Id: I43655f16e978caa6d37981a2a01c2edd2b512875
gnu: bpython: Improve package style.
* gnu/packages/python-xyz.scm (bpython): Use G-expression and apply new
style.
[build-system]: Swap to pyproject-build-system.
[argumements]<test-flags>: Move tests exclusion here.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Remove python-tox; add python-pytest and
python-setuptools.
Change-Id: I8a88014b3cd2419e6521fc9bb7ac26c67a0f6929
gnu: python-cwcwidth: Update to 0.1.9.
* gnu/packages/python-xyz.scm (python-cwcwidth): Update to 0.1.9.
Improve style.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'build-extensions.
[native-inputs]: Add python-setuptools.
Change-Id: Ifccd290dbcb1655eb8b78956187602d774cf7927
gnu: python-greenlet: Update to 3.1.1.
* gnu/packages/python-xyz.scm (python-greenlet): Update to 3.1.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Deselect one failing test.
<phases>: Add 'build-extensions.
[native-inputs]: Add python-objgraph, python-pytest, python-psutil,
python-setuptools, and python-wheel.
Change-Id: I50c80f329890fc922dcc8310083dfa2ee1ee03c4
gnu: python-snowballstemmer: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-snowballstemmer): Update to 2.2.0.
Improve style.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Switch them off as not provided.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ifbef2578990eb4a3e3a498922de8852fadbdc5b7
gnu: python-pydocstyle: Update to 6.3.0.
* gnu/packages/python-xyz.scm (python-pydocstyle): Update to 6.3.0.
[source]: Swap to git checkout containing tests.
<patches>: Add patch published upstream to fix compatibility with PEP701.
[build-system]: Swap to pyrpoject-build-system.
[arguments]<test-flags>: Disable tests requiring pip install.
<phases>: Add 'set-version.
[native-inputs]: Add poetry-core, python-pytest, and python-tomli.
* gnu/packages/patches/python-pydocstyle-add-support-for-pep701.patch:
Add file.
* gnu/local.mk: Register patch.
Change-Id: Ia43906383ac454c3918d0c9335cb8f744443ad29
gnu: python-flake8: Update to 7.1.1.
* gnu/packages/python-xyz.scm (python-flake8): Update to 7.1.1.
Improve style.
[srouce]: Swap to git checkout containing tests.
[build-system]: Swap to pyrpoject-build-system.
[home-page]: Fix it as GitLab link is dead.
[propagated-inputs]: Remove python-entrypoints.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I6e0edd637469c516db90dd927b2d7eb6b96a5f5d
gnu: python-mccabe: Update to 0.7.0.
* gnu/packages/python-xyz.scm (python-mccabe): Update to 0.7.0.
Improve style.
[build-system]: Swap to pyrpoject-build-system
[arguments]<tests>: Switch them off.
[native-inputs]: Remove python-pytest-bootstrap and
python-pytest-runner; add python-setuptools and python-wheel.
Change-Id: I4c4023be68b17863b5b30fa5ab60fe8cd75c68a5
gnu: python-pycodestyle: Update to 2.12.1.
* gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.12.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Test options are ported from tox.ini.
[phases]{check}: Adjust tests invocation procedure.
[native-inputs]: Remove python-pytest; add python-setuptools and
python-wheel.
Change-Id: Ifb3f9065b928439cc2e3734c798d6b5d0858c7c3
gnu: python-networkx: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-networkx): Update to 3.4.2.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Run test in parallel.
<phases>: Use default 'check phase..
[native-inputs]: Add python-pytest-xdist, python-setuptools, and
python-wheel.
Change-Id: I18a7b1cbeafa0804302d1b53a50e178ad10d7b4b
gnu: python-pydevd: Improve package style.
* gnu/packages/python-xyz.scm (python-pydevd): Indent properly.
Change-Id: Ieb031894f4f3494bf3dacd2086adde44507a27e1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-pydevd: Use git tag.
* gnu/packages/python-xyz.scm (python-pydevd):
[source]: Compile tag from package version.
[arguments]<#:test-flags>: Adapt value.
Change-Id: I55cc8129fb78f0ee54519f45b31746a54881d84e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-pydevd: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-pydevd):
[build-system]: Move to pyproject-build-system.
[arguments]: Replace 'check phase by 'pre-check phase and
<#:test-flags>.
Change-Id: I8227ac8b1b6031c30c6d09480cacaa3347df21a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>