gnu: python-bsdiff4: Update to 1.2.6.

* gnu/packages/python-xyz.scm (python-bsdiff4): Update to 1.2.6. Improve
package style.
[build-system]: Use pyproject.
[arguments] <test-flags>: Provide "--pyargs" to tests installed library.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ic8feac3a4887204f2864827eba1187d89640df19
This commit is contained in:
Sharlatan Hellseher 2025-07-01 13:56:25 +01:00
parent 60022d25d5
commit bc83188dcd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -39427,22 +39427,30 @@ Python code as generators in your source files to generate arbitrary text.")
(define-public python-bsdiff4
(package
(name "python-bsdiff4")
(version "1.2.2")
(version "1.2.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ilanschnell/bsdiff4")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1s64xmgcyzp7x6rcyfcryyz4mv5qm8l7s365rgbi6qfpnblnby0c"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "--pyargs" "bsdiff4")))
(native-inputs
(list python-pytest
python-setuptools
python-wheel))
(home-page "https://github.com/ilanschnell/bsdiff4")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1fa0vkmbr0a9xifq7i5gfcf7ifn739i1fdij8awynm299fsqvvhx"))))
(build-system python-build-system)
(synopsis "Binary diff and patch using the BSDIFF4 format")
(description "This package provides a Python library for the @code{bsdiff}
binary diff utility. It also provides two command-line tools, @code{bsdiff4}
and @code{bspatch4}.")
(description
"This package provides a Python library for the @code{bsdiff} binary diff
utility. It also provides two command-line tools, @code{bsdiff4} and
@code{bspatch4}.")
(license license:bsd-2)))
(define-public python-mpv