* gnu/packages/python-xyz.scm (python-awesomeversion): Set version.
[source]: Set actual version in pyproject.toml file.
Change-Id: Ib0625d3094989d65f0031c002ae7ef3f531c0b56
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/python-xyz.scm (python-jinja2-cli): Use pyproject-build-system.
[native-inputs]: Format form on more lines.
[source]: Use GitHub URI since tests are not available on PyPI.
Change-Id: Ide9720f932f7d9d268ba6380ed19b50e3da2e3ef
Signed-off-by: jgart <jgart@dismail.de>
Test suite for NumPy@2.2.2 is heavily depends on included vendored-meson
sub-package and all of the tests fail. This variant provides a working
NumPy, with passed build and sanity-check phases and tests disabled; it
allows users to include it in other package(s) where version 2+ is hard
required e.g. SageMath or Astropy@7.
* gnu/packages/python-xyz.scm (python-numpy-2): New variable.
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I07e7aac8c1bf7e686b1c543a11f9ecbf682d6ad5
* gnu/packages/python-xyz.scm (python-npx): Update to 0.1.6.
[source]: Swap to git checkout as PyPI does not provide source archive.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-flit-core; add python-setuptools and
python-wheel.
Change-Id: I60c57f77a91dc2a7936f22c8abd6000fbff67e2e
* gnu/packages/python-xyz.scm (python-doc8): Move from here ...
* gnu/packages/python-check.scm: ... to here.
Change-Id: Ib82f3564bd1f06d822fce39b002b2f93c160c1d6
* 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
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>
* 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
* 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>
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>
* 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
This reverts commit 1b88114ff6.
This commit dropped a package by accident and causes rebuilds on all
architectures instead of just enabling 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
* gnu/packages/python-xyz.scm (python-dnspython)[propagated-inputs]:
Only include packages when they are supported on the architecture.
Change-Id: I19acb435b11070ee55c6b878019e1ee8532063b7
* 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
* gnu/packages/python-xyz.scm (python-eventlet): Move from here ...
* gnu/packages/python-web.scm: ... to here.
Change-Id: I71beee927f17133267bf0236f075bccf15effe0e