summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-17 19:50:29 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-17 23:20:54 +0000
commit2ede88e3bc7c4fbbe116bd35d8a02f536d05dac5 (patch)
treec4ff6504a05f21a63aa91f0adbb563baf32c6303 /gnu/packages
parenta52bd8449b2c5b34264dd7ba15175cd54da86f16 (diff)
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/version-control.scm17
1 files changed, 11 insertions, 6 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 122d3baee1a..e4c31d3b956 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -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.")