~ruther/guix-local

8f2a87af9c1a46bc836ba4e75fbaab7a8649ab23 — Nicolas Graves 5 months ago bac66f3
gnu: python-bump2version: Update to 1.0.1-1.1044c08.

* gnu/packages/python-xyz.scm (python-bump2version): Update to 1.0.1-1.1044c08.
[properties]: Set commit and version.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore flaky single failing test.
[native-inputs]: Add python-pytest, python-setuptools,
python-testfixtures.

Change-Id: I7c417dd6446804950dd3c3b8b3ac17e1555cb32f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 15 insertions(+), 8 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +15 -8
@@ 9290,18 9290,25 @@ working with Valve's VDF text format.")
(define-public python-bump2version
  (package
    (name "python-bump2version")
    (version "1.0.1")
    (properties '((commit . "1044c085ba7d32d73c9cd7ca4561a7ec624c6b19")
                  (revision . "1")))
    (version (git-version "1.0.1"
                          (assoc-ref properties 'revision)
                          (assoc-ref properties 'commit)))
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "bump2version" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/c4urself/bump2version")
             (commit (assoc-ref properties 'commit))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1rinm4gv1fyh7xjv3v6r1p3zh5kl4ry2qifz5f7frx31mnzv4b3n"))))
    (build-system python-build-system)
        (base32 "1m5c5rdz9723irwdl46mg7si5syddlzna0ldkz2ps6dphkmqsv7j"))))
    (build-system pyproject-build-system)
    (arguments
     ;; XXX: Tests fail with "bumpversion: error: the following arguments are
     ;; required: --new-version".
     `(#:tests? #false))
     ;; XXX: Single flaky failing test.
     (list #:test-flags #~(list "-k" "not test_usage_string")))
    (native-inputs (list python-pytest python-setuptools python-testfixtures))
    (home-page "https://github.com/c4urself/bump2version")
    (synopsis "Version-bump your software with a single command!")
    (description