gnu: Remove python-pyhdf.
* gnu/packages/python-xyz.scm (python-pyhdf): Delete variable.
Change-Id: I74811a533b603524f44805078b6a57babe44f63f
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Remove python-hdf4.
* gnu/packages/python-xyz.scm (python-hdf4): Delete variable.
Change-Id: I763ef2f0aa528b36f933a02dddcfd8d5fbf51147
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pyinotify: Reduce package closure size.
This Python package can be used both as a library and as a standalone
command line application. It does so by adding a shebang to the library
code. Dropping this shebang prevents the build system from adding
python-wrapper as an input, reducing package closure size from
~200 MiB to ~0.2 MiB. A new python-pyinotify-cli package is added to
allow users who desire so to use the CLI application.
* gnu/packages/python-xyz.scm (python-pyinotify)[phases]{drop-shebang}:
New phase.
(python-pyinotify-cli): New variable.
Change-Id: Ifb796d26fc6a7bedec69093f7c9bd43ada8bebac
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pymd4c: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-pymd4c): Update to 1.3.0.
[arguments]<#:tests?, #:test-flags>: Enable tests.
[native-inputs]: Add python-pytest.
Change-Id: I80c0cfcc2414bdf6b773d06097e103d8fa4b8724
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Add python-importlib-metadata-argparse-version.
* gnu/packages/python-xyz.scm (python-importlib-metadata-argparse-version): New variable.
Change-Id: I729aac550bdbd20a76e9f8832131b38aea56a61c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Add python-md-ulb-pwrap.
* gnu/packages/python-xyz.scm (python-md-ulb-pwrap): New variable.
* gnu/packages/rust-crates.scm: Add crates for md_uld_pwrap.
Change-Id: I04b243575a48f607db18459521a55cc69c2ddeaf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Add python-unicode-linebreak.
* gnu/packages/python-xyz.scm (python-unicode-linebreak): New variable.
* gnu/packages/rust-crates.scm: Add crates for unicode_linebreak.
Change-Id: I3f1fbea07e72bd24d9f679183277c9bc2290d56a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-dbusmock: Update to 0.37.2.
* gnu/packages/python-xyz.scm
(python-dbusmock-check-phase): New variable, to reduce redundancy;
(python-dbusmock): Update to 0.37.2.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Migrate them to pyproject-build-system.
<#:phases>: In phase 'patch-path, remove unecessary substitution. Use
python-dbusmock-check-phase.
[native-inputs]: Add python-setuptools.
(python-dbusmock-minimal)[source, arguments, build-system, inputs]:
Adapt fields to keep the same derivation and avoid rebuilds.
Change-Id: I6db0afffc74388fe19025457d7699993e2218666
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pyinotify: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pyinotify):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: Iad18dc462ad8d0c6ec2556fd7891fe0c952fff6d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-jinja2-time: Disable tests.
* gnu/packages/python-xyz.scm (python-jinja2-time):
[arguments] <tests?>: Disable for now.
[native-inputs]: Remove python-pytest.
Change-Id: Ic4696e026980ebaf7e1301c33f2b7e4861ed1d92
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pypeg2: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pypeg2):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.
Change-Id: I354cf087b2076bf7bd4643290429a4e4630ca004
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-jellyfish: Update to 1.2.1.
* gnu/packages/rust-crates.scm: Import crates.
* gnu/packages/python-xyz.scm (python-jellyfish): Update to 1.2.1.
[build-system]: Switch to pyproject-build-system (maturin).
[arguments]: Rewrite them all to accomodate maturin.
[native-inputs]: Add python-pytest, python-setuptools, rust,
rust:cargo.
[inputs]: Add maturin and jellyfish cargo inputs.
[home-page]: Update it.
Change-Id: I07e0b6ae05e80027c28de024777bba393e919c2b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-emoji-for-gh-md-to-html: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-emoji-for-gh-md-to-html):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
Change-Id: I929e6fe0841332521fa3f0c6d9fdbd7d2f82efec
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pebble: Update to 5.1.3.
* gnu/packages/python-xyz.scm (python-pebble): Update to 5.1.3.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: Ifee70d9f208865b7e9cb96950c7de428f01758ab
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-notify2: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-notify2):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: I6684841f7f1a89ad539ad2c8fe1eca17c9193378
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-jinja2-time: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-jinja2-time):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
Change-Id: I425584b6c6f06451e71e5b593eca90d73b9250bf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-crossenv: Update to 1.6.1.
* gnu/packages/python-xyz.scm (python-crossenv): Update to 1.6.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-hatchling.
[description]: Improve style.
Change-Id: Ic5fe3baf91dd4aa71d92c8b54d433e55d1ada17c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python2-pycparser: Move to (gnu packages pypy).
* gnu/packages/python-xyz.scm (python2-pycparser): Move from here…
* gnu/packages/pypy.scm (python2-pycparser): …to here.
Change-Id: I368e7fc7c07dcba675c1f7524e7f68145252cf73
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python2-pycparser: Migrate to pyproject and decouple.
Rationale: Decoupling helps us moving the package, and not worry about
inheriting package updates.
* gnu/packages/python-xyz.scm (python2-pycparser)
[inherit]: Drop it.
[build-system, arguments]: Migrate to pyproject-build-system.
[name, home-page, synopsis, description, license]: Set them
explicitely.
[native-inputs]: Add python-setuptools.
Change-Id: Ie55f1fdc60d80ec921acabced218ec758a650cf1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-daemon: Replace python-lockfile by python-filelock.
* gnu/packages/python-xyz.scm (python-daemon)[propagated-inputs]:
Replace python-lockfile by python-filelock.
* gnu/packages/patches/python-daemon-relax-lockfile.patch: New file
* gnu/local.mk (dist_patch_DATA): Register patch.
Change-Id: Ia12b754065a71b612b0fe626b18e2edc9d158ae7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>