mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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>
This commit is contained in:
parent
a52bd8449b
commit
2ede88e3bc
1 changed files with 11 additions and 6 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue