~ruther/guix-local

2ede88e3bc7c4fbbe116bd35d8a02f536d05dac5 — Hugo Buddelmeijer 2 months ago a52bd84
gnu: python-ghp-import: Update to 2.1.0.

* gnu/packages/version-control.scm (python-ghp-import): Update to 2.1.0.
[source]: Update URL, permanent redirects.
[build-system]: Switch to pyproject.
[arguments]: Switch to gexps.
<#:tests?>: Disables tests, do not exist in PyPI or Git.
[native-inputs]: Add python-setuptools.
[home-page]: Update URL.

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

M gnu/packages/version-control.scm
M gnu/packages/version-control.scm => gnu/packages/version-control.scm +11 -6
@@ 1897,19 1897,22 @@ repository")
(define-public python-ghp-import
  (package
    (name "python-ghp-import")
    (version "2.0.2")
    (version "2.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/davisp/ghp-import")
             (url "https://github.com/c-w/ghp-import")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0i4lxsgqri1y8sw4k44bkwbzmdmk4vpmdi882mw148j8gk4i7vvj"))))
    (build-system python-build-system)
        (base32 "1v6kay6yr8sz0601ib8lrvbgpxslhll20b28i04bdwj1f1cjygy4"))))
    (build-system pyproject-build-system)
    (arguments
     `(#:phases (modify-phases %standard-phases
     (list
      #:tests? #f                       ;no tests, also not in Git
      #:phases
      #~(modify-phases %standard-phases
                  (add-after 'install 'install-documentation
                    (lambda* (#:key outputs #:allow-other-keys)
                      (let* ((out (assoc-ref outputs "out"))


@@ 1917,8 1920,10 @@ repository")
                             (licenses (string-append out "/share/licenses")))
                        (install-file "README.md" doc)
                        (install-file "LICENSE" licenses)))))))
    (native-inputs
     (list python-setuptools))
    (propagated-inputs (list python-dateutil))
    (home-page "https://github.com/davisp/ghp-import")
    (home-page "https://github.com/c-w/ghp-import")
    (synopsis "Copy directory to the gh-pages branch")
    (description "Script that copies a directory to the gh-pages branch (by
default) of the repository.")