~ruther/guix-local

5bbe729803e60f4b945e0c9d1e14774977f3adf0 — Vinicius Monego 1 year, 3 months ago b613801
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
1 files changed, 10 insertions(+), 15 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +10 -15
@@ 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.")