gnu: python-brotli: Move to python-compression and switch to pyproject.

Fixes gnu/gnu#1730

python-brotli does not benefit from being inherited from brotli, it's
built from scratch, this change moves it to python-compression as a
stand along package, a collection of Python bindings and swap build
system to pyproject.

* gnu/packages/compression.scm (python-brotli, python-google-brotli):
Move from here ...
* gnu/packages/python-compression.scm: ... to here.
* gnu/packages/django.scm: Add python-compression module.
* gnu/packages/fonts.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/video.scm: Likewise.

Change-Id: I592d84321893e5967181fd48d3037246c3cd4796
This commit is contained in:
Sharlatan Hellseher 2025-07-31 20:56:29 +01:00
parent e146256401
commit 25565cb637
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
6 changed files with 38 additions and 14 deletions

View file

@ -71,7 +71,6 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
@ -2428,19 +2427,6 @@ The specification of the Brotli Compressed Data Format is defined in RFC 7932.")
(define-public google-brotli
(deprecated-package "google-brotli" brotli))
(define-public python-brotli
(package
(inherit brotli)
(name "python-brotli")
(build-system python-build-system)
(arguments '())
(synopsis "Python interface to Brotli")
(description "This package provides a Python interface to the @code{brotli}
package, an implementation of the Brotli lossless compression algorithm.")))
(define-public python-google-brotli
(deprecated-package "python-google-brotli" python-brotli))
(define-public java-brotli
(package
(inherit brotli)