Commit graph

5097 commits

Author SHA1 Message Date
Sharlatan Hellseher
6ba2d68fbb
gnu: python-markdown2: Update to 2.5.3.
* gnu/packages/python-xyz.scm (python-markdown2): Update to 2.5.3.
  [arguments] <test-backend>: Use 'custom.
  <test-flags>: Provides options as seen in project's Makefile.
  [native-inputs]: Remove python-pygments, python-pytest, and
  python-wheel.

Change-Id: I502c32abd249a1b3b8532e01621dc36ce7b74734
2025-09-19 22:07:10 +01:00
Sharlatan Hellseher
fde00fe8d0
gnu: python-anytree: Update to 2.13.0.
* gnu/packages/python-xyz.scm (python-anytree): Update to 2.13.0.
  [propagated-inputs]: Remove python-six.
  [native-inputs]: Remove python-poetry-core; add python-pdm-backend,
  python-pytest-cov, python-pyyaml and python-test2ref.

Change-Id: I013875d693c0bc910544d0edbae0764103165b50
2025-09-19 22:07:09 +01:00
Sharlatan Hellseher
9014933432
gnu: python-binaryornot: Switch to pyproejct-build-system.
* gnu/packages/python-xyz.scm (python-binaryornot):
  [build-system]: Use pyproejct.
  [arguments] <test-backend>: Use custom unittest.
  <phases>: Remove trailing #t from lambdas.
  [propagated-inputs]: Remove python-hypothesis.
  [native-inputs]: Add python-hypothesis and python-setuptools.

Change-Id: Ic6e24e1bbfae846bc9b0ab9195556fcf86af9c25
2025-09-19 22:07:09 +01:00
Sharlatan Hellseher
0c6009030c
gnu: python-scour: Switch to pyproject-build-system.
This project is unmaintained since 2020, the only user is Inkscape, and
the development has been moved to GitLab.

See: <https://gitlab.com/inkscape/inkscape-docs/documentation/-/issues/43>,
     <https://github.com/scour-project/scour/issues/321>.

* gnu/packages/python-xyz.scm (python-scour): Add a maintenance note on
  the upstream status.
  [source] <url>: Switch to Inkscape's GitLab page.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Add python-setuptools.
  [home-page]: Switch URL to Inkscape's GitLab page.
  [description]: Start from a new line, fix fill column.

Change-Id: I56d94188b8a69a6739e5d2a5550bb0a3ee8b9247
2025-09-19 22:07:09 +01:00
Sharlatan Hellseher
5f14f2c49c
gnu: python-appdirs: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-appdirs):
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  [native-inputs]: Add python-setuptools.

Change-Id: I234b65a99870f0e7e373681719b1ba61e2da85fb
2025-09-19 22:07:09 +01:00
Sharlatan Hellseher
673cf99168
gnu: python-flasgger: Reduce closure size.
* gnu/packages/python-xyz.scm (python-flasgger): Update to 0.9.7.1.
  [arguments] <test-flags>: Skip example tests to reduce closure size
  from native inputs.
  <phases>: Remove 'prepare-check.
  [native-inputs]: Remove python-apispec, python-apispec-webframeworks,
  python-decorator, python-flask-restful, python-flex,
  python-marshmallow, python-pytest-cov, and python-wheel.

Change-Id: I724855c2cdd22d9d36c0f7716ae183cf3b7db382
2025-09-19 22:07:08 +01:00
Sharlatan Hellseher
e84a749026
gnu: python-dotenv: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-dotenv): Update to 1.1.1.
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [native-inputs]: Remove python-mock; add python-setuptools.

Change-Id: I6dce45f8aabf5dc12f3b37b2d851d910a2786b6b
2025-09-19 22:07:07 +01:00
Sharlatan Hellseher
e56844ce16
gnu: python-anyio: Reduce closure size.
* gnu/packages/python-xyz.scm (python-anyio): Reduce closure size.
  [propagated-inputs]: Remove python-contextvars and
  python-typing-extensions.
  [native-inputs]: Remove python-wheel.

Change-Id: I740b7e3fd1c3b89eb762729e04fe70c71ea50202
2025-09-19 22:07:07 +01:00
Sharlatan Hellseher
b592aa7199
gnu: python-sh: Update to 2.2.2.
* gnu/packages/python-xyz.scm (python-sh): Update to 2.2.2.
  [build-system]: Use pyproject.
  [arguments] <test-flags>: Skip some shaky tests.
  <phases>: Add 'pre-check and use default 'check.
  [native-inputs]: Remove python-coverage; add python-poetry-core and
  python-pytest.

Change-Id: Ibf59528a75ea21a3312b8afa3eece2ef5273de69
2025-09-19 22:07:07 +01:00
Sharlatan Hellseher
ad0cffe879
gnu: python-async-generator: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-async-generator)
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I230bdc35578a03cd1fd5a614ee5b6eb1e659d6f8
2025-09-19 22:07:06 +01:00
Sharlatan Hellseher
5427c025a2
gnu: python-outcome: Update to 1.3.0.post0.
* gnu/packages/python-xyz.scm (python-outcome): Update to 1.3.0.post0.
[native-inputs]: Remove python-pytest-cov; add python-setuptools.

Change-Id: I04d1a829ffdee4ada25e70e09308d73b1af073cc
2025-09-19 22:07:06 +01:00
Sharlatan Hellseher
863fe5d49a
gnu: python-pyasn1-modules: Update to 0.4.2.
* gnu/packages/python-xyz.scm (python-pyasn1-modules): Update to 0.4.2.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use unittest.
  [native-inputs]: Add python-setuptools.
  [home-page]: Fix URL as the project has migrated to GitHub.

Change-Id: I9c40854215589fbae87f9f7c44aa5c52e1f47cb9
2025-09-19 22:07:05 +01:00
Sharlatan Hellseher
7e3bcdd2ea
gnu: python-importlib-metadata: Update to 8.7.0.
* gnu/packages/python-xyz.scm (python-importlib-metadata): Update to 8.7.0.
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [native-inputs]: Remove python-pypa-build and python-pytest; add
  python-jaraco-test, python-packaging-bootstrap,
  python-pytest-bootstrap, and python-setuptools.

Change-Id: I9ba93055061c44999a368d302d439f8123755afa
2025-09-19 22:07:05 +01:00
Sharlatan Hellseher
ed98f4bdbb
gnu: python-async-timeout: Update to 5.0.1.
* gnu/packages/python-xyz.scm (python-async-timeout): Update to 5.0.1.
[native-inputs]: Add python-pytest-asyncio.

Change-Id: Ia3332930600cf56c36454493e62776f921480c4c
2025-09-19 22:07:05 +01:00
Sharlatan Hellseher
0a0010b11d
gnu: python-mistune: Update to 3.1.3.
* gnu/packages/python-xyz.scm (python-mistune): Update to 3.1.3.
[native-inputs]: Add python-pytest.

Change-Id: If0954697380a12d0eb61e844a0d082553ae29aa2
2025-09-19 22:07:05 +01:00
Sharlatan Hellseher
9102d23361
gnu: python-pyasn1: Update to 0.6.1.
* gnu/packages/python-xyz.scm (python-pyasn1): Update to 0.6.1.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  [native-inputs]: Add python-setuptools.
  [home-page]: Fix URL as development moved to GitHub.

Change-Id: Idcf44dacf179be325f171cabe9c06f906d0b45ed
2025-09-19 22:07:05 +01:00
Sharlatan Hellseher
f146ad534e
gnu: python-isoduration: Do not try to run tests.
* gnu/packages/python-xyz.scm (python-isoduration) [arguments] <tests?>:
  Visually disable tests as PyPI archive provides none.

Change-Id: I1c4177544a859b38d8c40f800ad1969ad6af8b59
2025-09-19 22:07:05 +01:00
Sharlatan Hellseher
448a8d66fc
gnu: python-rfc3339-validator: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-rfc3339-validator):
  [build-system]: Use pyproject.
  [native-inputs]: Remove python-hypothesis and python-pytest-runner;
  add python-setuptools.

Change-Id: I94807d4307e1896d0493003da762ed3139b5ac8f
2025-09-19 22:07:04 +01:00
Sharlatan Hellseher
ae99af25d6
gnu: python-rfc3986-validator: Reduce closure size.
* gnu/packages/python-xyz.scm (python-rfc3986-validator)
[native-inputs]: Remove python-pip, python-pytest-runner, and
python-wheel.

Change-Id: I28a78201d142953b2b4a2e4ec6a0c7e17cf0f702
2025-09-19 22:07:04 +01:00
Sharlatan Hellseher
b27b7c455e
gnu: python-rfc3987: Update to 1.3.8.
* gnu/packages/python-xyz.scm (python-rfc3987): Update to 1.3.8.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Add python-setuptools.

Change-Id: Ia1f62b969de5ba0eeab3c0cc48bccb3b9c703522
2025-09-19 22:07:04 +01:00
Sharlatan Hellseher
162e70e3a2
gnu: python-strict-rfc3339: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-strict-rfc3339):
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I5d96db0720775f872d61b55d77e3fbc6fa230608
2025-09-19 22:07:04 +01:00
Sharlatan Hellseher
2b538d46e2
gnu: python-jsonpointer: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-jsonpointer): Update to 3.0.0.
  [arguments] <test-backend>: Set to 'unittest.

Change-Id: I2fdc9c98ac3d64ecd45771636b18304213f8ea62
2025-09-19 22:07:04 +01:00
Sharlatan Hellseher
072f406d1c
gnu: python-dateparser: Update to 1.2.2.
* gnu/packages/python-xyz.scm (python-dateparser): Update to 1.2.2.
[native-inputs]: Remove python-wheel.

Change-Id: I9077b232f77f5b2c3872c67cac891a1acd44c188
2025-09-19 22:07:03 +01:00
Sharlatan Hellseher
e5a3d7e8a1
gnu: Add python-types-python-dateutil.
* gnu/packages/python-xyz.scm (python-types-python-dateutil): New variable.

Change-Id: I823d4d3b077326d8c16b79a0dfd43e4b4b7314e4
2025-09-19 22:07:03 +01:00
Sharlatan Hellseher
a66de18cc1
gnu: python-regex: Update to 2024.11.6.
* gnu/packages/python-xyz.scm (python-regex): Update to 2024.11.6.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools.

Change-Id: I5657b0be454c775296d089aec771d316e6aeee27
2025-09-19 22:07:03 +01:00
Sharlatan Hellseher
1dbc5d1aad
gnu: python-regex: Improve package style.
* gnu/packages/python-xyz.scm (python-regex): Use G-expressions.
  Fix indentation.
  [description]: Start from a new line and fix fill column.

Change-Id: I423719c74c606dd610b3f7da4dc6fc1e6c569f71
2025-09-19 22:07:02 +01:00
Sharlatan Hellseher
4eed3ad1ba
gnu: python-importlib-resources: Update to 6.5.2.
* gnu/packages/python-xyz.scm (python-importlib-resources): Update to 6.5.2.
  [arguments]: Drop all custom build steps, covered by pyproject-build-system.
  [propagated-inputs]: Remove python-zipp.
  [native-inputs]: Remove python-flake8, python-pytest-black,
  python-pytest-checkdocs, python-pytest-cov, python-pytest-enabler,
  python-pytest-flake8, and python-pytest-mypy; add python-jaraco-test,
  python-jaraco-collections and python-zipp.

Change-Id: I5c913e2a63389069344bc055e9575f328077858a
2025-09-19 22:07:02 +01:00
Sharlatan Hellseher
04266c93d0
gnu: python-simplejson: Update to 3.20.1.
* gnu/packages/python-xyz.scm (python-simplejson): Update to 3.20.1.
  [build-system]: Use pyproject.
  [native-inputs]: Remove python-toml; add python-pytest and
  python-setuptools.

Change-Id: I181c5909e5325601f28fbef01f58cfeed9864f61
2025-09-19 22:07:02 +01:00
Sharlatan Hellseher
f52124c981
gnu: python-dbus-python: Reduce closure size.
Tests never run before and silently were skipped because test-backend is
not known for pyrpoject-build-system which is tappy, this change
visually disables tests and remove some unused inputs from closure.

* gnu/packages/python-xyz.scm (python-dbus-python):
  [native-inputs]: Remove python-sphinx, python-sphinx-rtd-theme, and
  python-wheel.

Change-Id: I042ceace8f42ae8514751ffe0fee664db05ce2cc
2025-09-19 22:07:02 +01:00
Sharlatan Hellseher
c356911b04
gnu: python-watchdog: Reduce closure size.
* gnu/packages/python-xyz.scm (python-watchdog)
  [propagated-inputs]: Remove python-pathtools.
  [native-inputs]: Remove python-wheel.

Change-Id: I9d65ea302dded43d655f1b54afaff6a35ae5e0c2
2025-09-19 22:07:02 +01:00
Sharlatan Hellseher
d610f2d9ba
gnu: python-jaraco-test: Reduce closure size.
* gnu/packages/python-xyz.scm (python-jaraco-test):
  [propagated-inputs]: Add python-jaraco-collections.
  [native-inputs]: Remove python-jaraco-collections,
  python-pytest-checkdocs, python-pytest-enabler, and python-wheel.

Change-Id: I2928afd4293f5abbd8c62442f036cc2500ede1ee
2025-09-19 22:07:01 +01:00
Sharlatan Hellseher
b33d41f6e7
gnu: python-jaraco-collections: Update to 5.2.1.
* gnu/packages/python-xyz.scm (python-jaraco-collections): Update to 5.2.1.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-enabler, and python-pytest-mypy; add
python-setuptools-scm.

Change-Id: Ia14a332e876e007961000e053768ed4cce3771d1
2025-09-19 22:07:01 +01:00
Sharlatan Hellseher
47c809c6b6
gnu: python-jaraco-text: Update to 4.0.0.
* gnu/packages/python-xyz.scm (python-jaraco-text): Update to 4.0.0.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-enabler, python-pytest-mypy, and
python-wheel; add python-setuptools-scm.

Change-Id: Id7eb420628fd4c7b76f4c28eda88d44d323cd9b7
2025-09-19 22:07:01 +01:00
Sharlatan Hellseher
e599a6c549
gnu: python-autocommand: Update to 2.2.2.
* gnu/packages/python-xyz.scm (python-autocommand): Update to 2.2.2.
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [native-inputs]: Remove python-pytest-asyncio; add python-setuptools.

Change-Id: I19bdfdb633775d94bffcf80c6cae2dc9f9e7da90
2025-09-19 22:07:01 +01:00
Sharlatan Hellseher
16db22d016
gnu: python-jaraco-context: Update to 6.0.1.
* gnu/packages/python-xyz.scm (python-jaraco-context): Update to 6.0.1.
  [arguments] <tests?>: Disable as no tests provided.
  [propagated-inputs]: Add python-backports-tarfile.
  [native-inputs]: Remove python-pytest, python-pytest-black,
  python-pytest-checkdocs, python-pytest-cov, python-pytest-flake8, and
  python-pytest-mypy.

Change-Id: I0096b6ab7289b1ab01bb551e37fd7f2fea528ef7
2025-09-19 22:07:01 +01:00
Sharlatan Hellseher
de5edcaf88
gnu: Add python-backports-tarfile.
* gnu/packages/python-xyz.scm (python-backports-tarfile): New variable.

Change-Id: I213e09fc93760ec0b6f21c8642efd765b9b2b528
2025-09-19 22:07:01 +01:00
Sharlatan Hellseher
21d53f6309
gnu: python-jaraco-functools: Update to 4.2.1.
* gnu/packages/python-xyz.scm (python-jaraco-functools): Update to 4.2.1.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-flake8, and python-pytest-mypy.

Change-Id: I4d907eef57b42fefa29872497e5bbed35341a3e6
2025-09-19 22:07:00 +01:00
Sharlatan Hellseher
e99700a5ce
gnu: python-jaraco-classes: Update to 3.4.0.
* gnu/packages/python-xyz.scm (python-jaraco-classes): Update to 3.4.0.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-flake8, python-pytest-mypy,
python-setuptools-scm, and python-wheel.

Change-Id: I5e07e1a9308139f091da1daad7f216dba36b0040
2025-09-19 22:07:00 +01:00
Sharlatan Hellseher
1f920f7a79
gnu: python-typeguard: Update to 4.4.4.
* gnu/packages/python-xyz.scm (python-typeguard): Update to 4.4.4.
  [native-inputs]: Remove python-typing-extensions and python-wheel.

Change-Id: I190744b3842f8a1285b9195174d03e1aab292450
2025-09-19 22:07:00 +01:00
Sharlatan Hellseher
9b6ea131a9
gnu: python-typogrify: Update to 2.1.0.
Development of <https://github.com/mintchaos/typogrify> has been moved
to a maintained fork of this project. Please file any issues and pull
requests at that repository <https://github.com/justinmayer/typogrify>.

* gnu/packages/python-xyz.scm (python-typogrify): Update to 2.1.0.
  [build-system]: Use pyproject.
  [arguments] <test-flags>: Provide test options as seen in GitHub
  Actions workflow.
  [home-page]: Fix URL.
  [native-inputs]: Remove python-nose; add python-pytest and
  python-hatchling.

Change-Id: I77a22b795b8912b722ef8c67e11fb555dd4b7194
2025-09-19 22:07:00 +01:00
Sharlatan Hellseher
f28ca20078
gnu: python-smartypants: Update to 2.0.2.
* gnu/packages/python-xyz.scm (python-smartypants): Update to 2.0.2.
  [source]: Switch to PyPI which provides source tarball as the owner of
  the project has been changed.
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [home-page]: Fix permament redirect
  from <https://github.com/leohemsted/smartypants.py>
  to   <https://github.com/justinmayer/smartypants.py>.
  [native-inputs]: Remove python-nose; add python-setuptools.

Change-Id: I12faf46dd759672d20c15e34c2df14d90a8b9b1b
2025-09-19 22:06:59 +01:00
Sharlatan Hellseher
daa2376e58
gnu: python-charset-normalizer: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-charset-normalizer): Copy package
  defination from  python-charset-normalizer-3.
  [build-system]: Use pypproject.
  [arguments] <phases>: Use default 'wrap; add 'fix-scripts.
  [native-inputs]: Add python-setuptools.

Change-Id: I1f7ad78630a72be7e936f00b11bed0dab8dec21e
2025-09-19 22:06:59 +01:00
Sharlatan Hellseher
dddf6395db
gnu: python-pysocks: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-pysocks):
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I3251a080eadf8e194729bc03125bb65e2fbc858f
2025-09-19 22:06:59 +01:00
Sharlatan Hellseher
db736c3483
gnu: python-factory-boy: Update to 3.3.3.
* gnu/packages/python-xyz.scm (python-factory-boy): Update to 3.3.3.
  [build-system]: Use pyproject.
  [home-page]: Fix URL.
  [native-inputs]: Add python-setuptools.

Change-Id: I585f6547e74e61236df80a75ea63f9606355611b
2025-09-19 22:06:58 +01:00
Sharlatan Hellseher
f447c1d0ce
gnu: python-faker: Update to 37.4.2.
* gnu/packages/python-xyz.scm (python-faker): Update to 37.4.2.
  [propagated-inputs]: Remove python-dateutil and
  python-typing-extensions; add python-tzdata.
  [native-inputs]: Remove python-random2 and python-wheel.

Change-Id: I908ec7181904a7f40b1c3393bed019dbf869a97b
2025-09-19 22:06:58 +01:00
Sharlatan Hellseher
ad50b8ed35
gnu: python-ukpostcodeparser: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-ukpostcodeparser): Update to 1.1.2.
  [build-system]: Use pyproject.
  [arguments] <test-flags>: Move custom check flags here.
  <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools.

Change-Id: I7d5a6b84d105db716aef98ad4991afec7e41b1e1
2025-09-19 22:06:58 +01:00
Sharlatan Hellseher
52bcba40db
gnu: python-decorator: Update to 5.2.1.
* gnu/packages/python-xyz.scm (python-decorator): Update to 5.2.1.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Add python-setuptools.

Change-Id: I30df3ff3c4500b2456f8edfc473a2edb87542fb7
2025-09-19 22:06:58 +01:00
Sharlatan Hellseher
f953f9f77b
gnu: python-py-cpuinfo: Update to 9.0.0.
* gnu/packages/python-xyz.scm (python-py-cpuinfo): Update to 9.0.0.
  [source]: Use the latest version tag including RISC-V support.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom; <test-flags>: Provide
  "test_suite.py" script to run tests.
  [native-inputs]: Add python-setuptools.

Change-Id: I266bfa11a5655b586d567ac7b48adb71a5f113bd
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
37d6642612
gnu: python-click: Update to 8.1.8.
* gnu/packages/python-xyz.scm (python-click): Update to 8.1.8.
  [source]: Switch to git-fetch contacting tests.
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Add less and python-flit-core.

Change-Id: I84caacb3461d3cef221c019975130343a812fe2a
2025-09-19 22:06:57 +01:00
Sharlatan Hellseher
ecf7b3f65b
gnu: python-pycparser: Update to 2.22.
* gnu/packages/python-xyz.scm (python-pycparser): Update to 2.22.
[native-inputs]: Add python-setuptools.

Change-Id: Idaf7189ed1e6288205aa09510a7a5ff099d4234c
2025-09-19 22:06:57 +01:00