From 2ede88e3bc7c4fbbe116bd35d8a02f536d05dac5 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Wed, 17 Dec 2025 19:50:29 +0100 Subject: [PATCH] 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 --- gnu/packages/version-control.scm | 17 +++++++++++------ 1 file 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.")