Commit graph

4528 commits

Author SHA1 Message Date
Sharlatan Hellseher
451c8fdcf7
gnu: python-doc8: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-doc8): Update to 1.1.2.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Remove python-chardet and python-six; add
python-pygments and python-tomli.
[native-inputs]: Remove python-testtools; add python-setuptools,
python-setuptools-scm, and python-wheel.

Change-Id: Ib92c7c0f2e0615f7b98048587c75141108d059ff
2025-02-08 19:52:10 +00:00
Sharlatan Hellseher
a80f4f6749
gnu: python-pyopengl: Enable tests.
* gnu/packages/python-xyz.scm (python-pyopengl)
[build-system]: Swap to pyproject-build-system.
[arguments] <tests?>:
Enable them.
<tests-flags>: Skip 5 tests.
[native-inputs]: Add python-pytest, python-setuptools, python-pygame,
and python-wheel.

Change-Id: I090c862e25d537dff83fd9a5c7ec62e9e44decc1
2025-02-07 16:30:44 +00:00
Sharlatan Hellseher
62b399b80e
gnu: python-pyopengl: Refresh package style.
* gnu/packages/python-xyz.scm (python-pyopengl): Use G-expressions,
shift order of the fields.
[phases] {fix-path}: Rewrite with FORMAT and THIS-PACKAGE-INPUT to
simplify flow.  Remove trailing #t from lambda.

Change-Id: I054af72dd41a12523ce17eab6129a06c5f964893
2025-02-07 16:22:34 +00:00
Sisiutl
e4248af606
gnu: python-pyopengl: Add support for additional GL platforms.
* gnu/packages/python-xyz.scm (python-pyopengl)[arguments]:
Fix paths for non-GLX platforms too.

Change-Id: Ib50d5c64ff73079c4ffa3bd3e03012a66591ddfc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-02-07 16:13:16 +00:00
Stefan Reichör
f89232b10d
gnu: Add python-multiplex.
It was proposed in #48430 on <2021-05-14>.

* gnu/packages/python-xyz.scm (python-multiplex): New variable.

Change-Id: I75af1e4be940166b91c8c71dd0280cdb4753f956
Reviewed-by: Vinicius Monego <monego@posteo.net>
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-02-05 21:54:08 +00:00
Sharlatan Hellseher
cc2b236e37
gnu: Add python-takethetime.
This is a refreshed proposal from #35979 submitted on <20219-05-29>.

* gnu/packages/python-xyz.scm (python-takethetime): New variable.

Change-Id: I1384acdee68a46f7d97b217e609b5d2af69c6086
Co-authored-by: h.nasajpour <h.nasajpour@pantherx.org>
2025-02-05 17:47:22 +00:00
Efraim Flashner
fd0e15e551
gnu: python-libcst: Update to 1.6.0.
* gnu/packages/python-xyz.scm (python-libcst): Update to 1.6.0.
[source]: Add snippet to satisfy cargo-build-system.
[build-system]: Switch to cargo-build-system.
[arguments]: Import cargo-build-system, pyproject-build-system modules.
Add cargo-inputs, cargo-development-inputs.  Replace 'build, 'install
with the pyproject-build-system phases.  Add a phase after 'install for
the extra pyproject phases.  Add 2 phases to help build the project.
[native-inputs]: Add python-minimal-wrapper, python-hypothesmith,
python-setuptools-rust, python-setuptools-scm.
[inputs]: Add maturin.
[propagated-inputs]: Remove python-typing-extensions,
python-typing-inspect.
(python-libcst-minimal)[arguments]: Inherit phases from python-libcst
while still skipping the tests.
[native-inputs]: Add python-minimal-wrapper, python-setutools-rust,
python-setuptools-scm.

Change-Id: I7b5ba5404f6e726976af25c0f7db7db2d00bedc5
2025-02-05 13:37:00 +02:00
Evgeny Pisemsky
ac9fc0db76
gnu: Add python-pypubsub.
* gnu/packages/python-xyz.scm (python-pypubsub): New variable.

Change-Id: I543d8a6297c374e55809a755a902250ca4d270d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-02-04 12:55:55 +00:00
Nicolas Graves
01dd276cdc
gnu: python-lsp-black: Update to 2.0.0.
* gnu/packages/python-xyz.scm (python-lsp-black): Update to 2.0.0.
[arguments]<#:test-flags>: Add failing tests.

Signed-off-by: jgart <jgart@dismail.de>
2025-02-03 14:07:26 -05:00
Danny Milosavljevic
fabcfb48eb
gnu: Add python-elevate.
* gnu/packages/python-xyz.scm (python-elevate): New variable.

Change-Id: Ib29baca60329ac97310b5798643545e707cc484a
2025-02-03 13:54:08 +01:00
Nguyễn Gia Phong
4fccad8387
gnu: python-pysmt: Update to 0.9.6.
* gnu/packages/python-xyz.scm (python-pysmt): Update to 0.9.6.
[source]: Remove obsolete patches.
* gnu/packages/patches/python-pysmt-fix-pow-return-type.patch,
gnu/packages/patches/python-pysmt-fix-smtlib-serialization-test.patch:
Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Change-Id: I3772e8b118f122ddd66644a459a483183ef89193
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-02-02 17:05:46 -05:00
Evgeny Pisemsky
66ee8de752
gnu: Add python-securetar.
* gnu/packages/python-xyz.scm (python-securetar): New variable.

Change-Id: Ic27644f20f59b6dceb2c15c637eb2db5955abba3
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2025-02-02 14:25:28 +08:00
Sharlatan Hellseher
3627d497c3
gnu: python-numexpr: Update to 2.9.0.
* gnu/packages/python-xyz.scm (python-numexpr): Update to 2.9.0.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I352536175d71e29c55c9ad71a96dbfd2b9b66759
2025-01-29 23:01:02 +00:00
Ricardo Wurmus
ac103c2eab
gnu: python-numba: Update to 0.61.0.
* gnu/packages/python-xyz.scm (python-numba): Update to 0.61.0.
[arguments]: Simplify 'check phase.

Change-Id: I161f58af7b64ba550c14d5d2dea3d5dccfc07c53
2025-01-29 15:52:36 +01:00
Ekaitz Zarraga
49ea9bcc4a
gnu: Add python-whenever.
* gnu/packages/python-xyz.scm (python-whenever): New variable.

Change-Id: Idbdcf27dee3d772fdb7e679e6060287e2b6a3aa7
2025-01-27 21:50:07 +01:00
David Elsing
8e79dff65b
gnu: python-sympy: Update to 1.13.3.
* gnu/packages/python-xyz.scm (python-sympy): Update to 1.13.3.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Adjust 'check phase.
[native-inputs]: New field to add python-hypothesis, python-pytest,
python-setuptools and python-wheel.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
c8ceb0cb83
gnu: python-optree: Update to 0.14.0.
* gnu/packages/python-xyz.scm (python-optree): Update to 0.14.0.
[source]: Remove patch.
[arguments]<#:test-flags>: Disable additional failing test.
[native-inputs]: Replace pybind11 with pybind11-2.13 and cmake with
cmake-minimal.
* gnu/packages/patches/python-optree-fix-32-bit.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
David Elsing
2f10079c23
gnu: Add pybind11-2.13.
* gnu/packages/python-xyz.scm (pybind11-2.13): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-27 14:42:40 +01:00
Evgeny Pisemsky
c74830afeb
gnu: Add python-bresenham.
* gnu/packages/python-xyz.scm (python-bresenham): New variable.

Change-Id: Id727ba17765ae73d1920f7042262a8bd849a4111
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-25 22:18:09 +00:00
Danny Milosavljevic
6b9e1cd26f
gnu: Add python-nfcpy.
* gnu/packages/python-xyz.scm (python-nfcpy): New variable.

Change-Id: I4b7a3fec8999d23c8d734d3b683c52ba023f8644
2025-01-25 17:24:11 +01:00
Danny Milosavljevic
ad4a5e5a50
gnu: Add python-ndeflib.
* gnu/packages/python-xyz.scm (python-ndeflib): New variable.

Change-Id: Ifbff48257b0b2124f0dbbb1621a1c35dd2907fba
2025-01-25 17:24:11 +01:00
Danny Milosavljevic
ef7019e548
gnu: Add python-bleak.
* gnu/packages/python-xyz.scm (python-bleak): New variable.

Change-Id: Ia63bfbd6b79743a41f50cad1bdde9c586f8437cd
2025-01-25 17:24:11 +01:00
Danny Milosavljevic
781945784e
gnu: Add python-dbus-fast.
* gnu/packages/python-xyz.scm (python-dbus-fast): New variable.

Change-Id: Ie3bfdf71c74bff59067c0b49554e77de0d7bbc49
2025-01-25 17:24:11 +01:00
Dariqq
4dacc78561
gnu: python-fastbencode: Use python-cython-3
The c extension does not build with regular python-cython.

* gnu/packages/python-xyz.scm (python-fastbencode)[native-inputs]: Replace
python-cython with with python-cython-3.

Change-Id: I9ecfdcfe1ff9fe8b3e5977d452f655b842e4d52d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-24 12:49:37 +00:00
Liliana Marie Prikler
e81ec3314e
gnu: Add python-pillow-heif.
* gnu/packages/python-xyz.scm (python-pillow-heif): New variable.
2025-01-22 20:28:59 +01:00
Sharlatan Hellseher
9525164b38
gnu: python-apprise: Update to 1.9.2.
* gnu/packages/python-xyz.scm (python-apprise): Update to 1.9.2. Fix
build.
[arguments] <test-flags>: Skip one more test.

Change-Id: I611cf1d4a8ce4dccf1e9c5917b468377ab612843
2025-01-22 08:11:37 +00:00
Felix Gruber
927d8203e6
gnu: python-folium: Update to 0.19.4.
* gnu/packages/python-xyz.scm (python-folium): Update to 0.19.4.
[arguments]: Disable test_timedynamic_geo_json.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Iad10f3b0623c379dc394d1e4b5bf7319c3c4a0b5
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-01-21 14:37:54 -05:00
Efraim Flashner
cf34ba66cf
gnu: python-dnspython: Only add dependencies if they are supported.
* gnu/packages/python-xyz.scm (python-dnspython)[propagated-inputs]:
Only add python-cryptography, python-aioquic, python-h2,
python-httpcore, python-httpx if the architecture has support for
python-cryptography.

Change-Id: Ibdd33b8ccd24ef2a08f16dddba8c8bda65d23c04
2025-01-21 10:48:31 +02:00
Efraim Flashner
1b1387c44a
Revert "gnu: python-dnspython: Only include supported inputs."
This reverts commit 1b88114ff6.

This commit dropped a package by accident and causes rebuilds on all
architectures instead of just enabling more architectures.
2025-01-21 10:42:42 +02:00
Efraim Flashner
19e7200286
gnu: python-trio: Enable building on more architectures.
* gnu/packages/python-xyz.scm (python-trio)[arguments]: Adjust the
test-flags based on the package inputs.
[native-inputs]: Only include python-pyopenssl and python-trustme on
systems which have support for them.

Change-Id: I4f26d7af0dc0ce996c58b60002385dce9f9fbf50
2025-01-21 10:02:39 +02:00
Efraim Flashner
1b88114ff6
gnu: python-dnspython: Only include supported inputs.
* gnu/packages/python-xyz.scm (python-dnspython)[propagated-inputs]:
Only include packages when they are supported on the architecture.

Change-Id: I19acb435b11070ee55c6b878019e1ee8532063b7
2025-01-21 09:52:56 +02:00
Sharlatan Hellseher
94eca566b0
gnu: Add python-trubar.
* gnu/packages/python-xyz.scm (python-trubar): New variable.

Change-Id: I684fc614862cbfd3ac8edaaf68e66ea2a8ec237b
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
3e4f27f54c
gnu: python-libcst: Update to 0.3.18.
* gnu/packages/python-xyz.scm (python-libcst): Update to 0.3.18. Use
G-Expressions, improve style and fix build.
[build-system]: Swap to pyproject-build-system.
[arguments] <test-flags>: Move skip test logic here instead of deleting
test files.
<phases>: Remove 'generate-test-data. Use default 'check.
[native-inputs]: Remove python-black and python-isort; add
python-pytest, python-setuptools, and python-wheel.
(python-libcst-minimal) [native-inputs]: Add python-setuptools and
python-wheel.

Change-Id: Ia3e85d17d02a8ea1dd7bc0b2a9062d46b11d6651
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
e7b7ec2851
gnu: python-eventlet: Move to python-web.
* gnu/packages/python-xyz.scm (python-eventlet): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I71beee927f17133267bf0236f075bccf15effe0e
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
a3a7cf9579
gnu: python-eventlet: Adjust inputs.
* gnu/packages/python-xyz.scm (python-eventlet) [native-inputs]: Remove
python-black, python-isort, and python-pre-commit.

Change-Id: Id0671cf1ec87f2c44a5b1bd915efae594c17804e
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
3ce9151a03
gnu: python-typing-inspect: Update to 0.9.0.
* gnu/packages/python-xyz.scm (python-typing-inspect): Update to 0.9.0.
[source]: Remove patch, as
<https://github.com/ilevkivskyi/typing_inspect/issues/60> was resolved.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

* gnu/packages/patches/python-typing-inspect-fix.patch: Delete file.
* gnu/local.mk: Deregester the patch.

Change-Id: Idc6e8745d4b85624863a5c2dc24e533a7dd92f46
2025-01-20 21:38:04 +01:00
Ricardo Wurmus
6c372c2122
gnu: python-wand: Disable two failing tests.
* gnu/packages/python-xyz.scm (python-wand)[arguments]: Disable two tests.

Change-Id: I6739af9c167ba6e827c7660caaa3fd64de574a8f
2025-01-20 21:38:03 +01:00
Ricardo Wurmus
e253d60eba
gnu: python-bigfloat: Fix build.
* gnu/packages/python-xyz.scm (python-bigfloat)[source]: Add snippet to delete
generated file.
[build-system]: Use pyproject-build-system.
[arguments]: Disable one test; add phase 'cythonize.
[native-inputs]: Add python-cython, python-pytest, python-setuptools, and
python-wheel.

Change-Id: If535051bbe7f223feb2a04b0b044a631c906f213
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
041cc74743
gnu: python-ipfsspec: Add missing inputs.
* gnu/packages/python-xyz.scm (python-ipfsspec)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I763c22207f1b1bb5af5eb5667a060ab01757c864
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
d0d664cea1
gnu: python-contexttimer: Add missing inputs.
* gnu/packages/python-xyz.scm (python-contexttimer)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I1d6e1efe869624c1da47332c8a000f88b458c193
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
def1f7ba66
gnu: Move python-pysnptools to (gnu packages bioinformatics).
* gnu/packages/python-xyz.scm (python-pysnptools): Move from here...
* gnu/packages/bioinformatics.scm (python-pysnptools): ...to here.

Change-Id: I4dbd9cbe3f2d9a6dd4906be79b78862b39a57c28
2025-01-20 21:38:01 +01:00
Ricardo Wurmus
84119015a3
gnu: python-pysnptools: Update to 0.5.14.
* gnu/packages/python-xyz.scm (python-pysnptools): Update to 0.5.14.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-dill; add python-bed-reader,
python-cloudpickle, and python-more-itertools.
[native-inputs]: Remove python-cython; add python-pytest, python-pytest-cov,
python-pytest-datadir, python-pytest-doctestplus, python-setuptools,
python-sphinx, python-sphinx-rtd-theme, and python-wheel.

Change-Id: I685f819e70ab209198b504c6e41b253dc5a1d876
2025-01-20 21:38:01 +01:00
Ricardo Wurmus
31fe58bb38
gnu: python-more-itertools: Update to 10.6.0.
* gnu/packages/python-xyz.scm (python-more-itertools-next): Rename this
variable...
(python-more-itertools): ...to this; update to 10.6.0.
[propagated-inputs]: Remove python-six.
* gnu/packages/astronomy.scm (python-yt)[propagated-inputs]: Replace
python-more-itertools-next with python-more-itertools.

Change-Id: I2fef91f87afde2b2659dd25b831fb13b4c118454
2025-01-20 21:37:59 +01:00
Ricardo Wurmus
314ef4ccd8
gnu: python-incremental: Update to 24.7.2.
* gnu/packages/python-xyz.scm (python-incremental): Update to 24.7.2.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'patch-build-system; disable tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[propagated-inputs]: Add python-tomli.

Change-Id: I6c49f2da746398d469f6fdc611fc08cfbe72a0e1
2025-01-20 21:37:59 +01:00
Ricardo Wurmus
4de70c1a77
gnu: python-hdf4: Update to 0.9.2.
* gnu/packages/python-xyz.scm (python-hdf4): Update to 0.9.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add phase 'build-extensions.
[native-inputs]: Remove python-nose; add python-pytest, python-setuptools, and
python-wheel.
[inputs]: Drop labels.

Change-Id: I96312f9509fae89a4c21a58b593ccb87952e0332
2025-01-20 21:37:59 +01:00
宋文武
f0c5c4ee9b
gnu: python-hsluv: Fix build.
* gnu/packages/python-xyz.scm (python-hsluv)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I4dbed681c4f1a83b0300dc9611cdf89072591389
2025-01-20 21:37:58 +01:00
宋文武
298d371de8
gnu: python-gpxpy: Fix build.
* gnu/packages/python-xyz.scm (python-gpxpy)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I89d4360ed6502c84580bface08dba850c5d9efe1
2025-01-20 21:37:58 +01:00
宋文武
1ffb84c5a3
gnu: python-glom: Update to 24.11.0.
* gnu/packages/python-xyz.scm (python-glom): Update to 24.11.0.

Change-Id: I37c849475cedd1ecd812f896553a9deeabb00c3d
2025-01-20 21:37:58 +01:00
宋文武
4533972587
gnu: python-eliot: Update to 1.16.0.
* gnu/packages/python-xyz.scm (python-eliot): Update to 1.16.0.
[propagated-inputs]: Add python-orjson.  Remove python-six.
[native-inputs]: Add python-pytest-xdist and python-wheel.  Remove python-dask.

Change-Id: Ibc6eeb5fe4475bf2145a8ab72aa82f17a14bf9f0
2025-01-20 21:37:57 +01:00
Ricardo Wurmus
ccd83fd84e
gnu: python-fsspec: Update to 2024.12.0.
* gnu/packages/python-xyz.scm (python-fsspec): Update to 2024.12.0.

Change-Id: I47a782911a0139a24fc5edcf16abcf648e621d24
2025-01-20 21:37:57 +01:00