From 5bbe729803e60f4b945e0c9d1e14774977f3adf0 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Thu, 26 Jun 2025 01:21:20 -0300 Subject: [PATCH] gnu: python-crccheck: Update to 1.3.0. * gnu/packages/python-xyz.scm (python-crccheck): Update to 1.3.0. [source]: Fetch from GitHub. [build-system]: Use pyproject-build-system. [arguments]<#:phases>: Do not override the 'check' phase. [native-inputs]: Add python-setuptools, python-wheel. [home-page]: Switch to new home page. Change-Id: Ibd121d3e1875b77da6759e751e3321cde9a498b7 --- gnu/packages/python-xyz.scm | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ee1fb32fe51da2b0c889df1c55f71f66a18db46d..af96590e98ac7e6af4f462637a689a5bff35f14b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16812,24 +16812,19 @@ pseudo terminal (pty), and interact with both the process and its pty.") (define-public python-crccheck (package (name "python-crccheck") - (version "1.1") + (version "1.3.0") (source (origin - (method url-fetch) - (uri (pypi-uri "crccheck" version)) + (method git-fetch) ; no tests in PyPI + (uri (git-reference + (url "https://github.com/MartinScharrer/crccheck") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "15psg7wjfbpmmry54ffwg6pg63mnv7mkwmb0a7884axnr8qj55j5")))) - (build-system python-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) - (native-inputs (list python-pytest)) - (home-page "https://sourceforge.net/projects/crccheck/") + (base32 "1sagpmsh95si77nhqmxx6mbal2jbxpl4a3mqjfnz19mf2pfyvs4y")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/MartinScharrer/crccheck") (synopsis "Calculation library for CRCs and checksums") (description "@code{crccheck} is a calculation library for CRCs and checksums. It implement more than a hundred checksum routines.")