summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2025-11-19 15:50:51 +0000
committerGreg Hogan <code@greghogan.com>2025-11-28 12:45:52 +0000
commit1811a3dd823aae60b72d0a2fdaeda086fc71034b (patch)
tree362ac405136d0e7514913dd97efe23ff262ae2f7 /gnu
parent788de2f54fd16781df0330d752b3fba847f8fd53 (diff)
gnu: Remove stgit.
* gnu/packages/version-control.scm (stgit): Delete. (stgit-2): Rename to stgit. (emacs-stgit): Inherit from stgit. Fixes #4292. Change-Id: Id4992b9768679cd3c186f6d616c5d823167fc300
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm58
1 files changed, 3 insertions, 55 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 71c170797aa..347dd6dbc80 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2179,7 +2179,7 @@ subcommands helps automate some parts of the flow to make working with it a
2179lot easier.") 2179lot easier.")
2180 (license license:bsd-2))) 2180 (license license:bsd-2)))
2181 2181
2182(define-public stgit-2 2182(define-public stgit
2183 (package 2183 (package
2184 (name "stgit") 2184 (name "stgit")
2185 (version "2.5.3") 2185 (version "2.5.3")
@@ -2245,7 +2245,7 @@ Features include:
2245 2245
2246(define-public emacs-stgit 2246(define-public emacs-stgit
2247 (package 2247 (package
2248 (inherit stgit-2) 2248 (inherit stgit)
2249 (name "emacs-stgit") 2249 (name "emacs-stgit")
2250 (version "0.17.1") ;from stgit.el 2250 (version "0.17.1") ;from stgit.el
2251 (build-system emacs-build-system) 2251 (build-system emacs-build-system)
@@ -2264,64 +2264,12 @@ Features include:
2264 (add-before 'install-license-files 'leave-lisp-directory 2264 (add-before 'install-license-files 'leave-lisp-directory
2265 (lambda _ 2265 (lambda _
2266 (chdir "..")))))) 2266 (chdir ".."))))))
2267 (inputs (list stgit-2 git)) 2267 (inputs (list stgit git))
2268 (synopsis "Emacs major mode for StGit interaction") 2268 (synopsis "Emacs major mode for StGit interaction")
2269 (description "This package a interactive tool to interact with git 2269 (description "This package a interactive tool to interact with git
2270branches using StGit.") 2270branches using StGit.")
2271 (license license:gpl2+))) 2271 (license license:gpl2+)))
2272 2272
2273(define-public stgit
2274 (package
2275 (name "stgit")
2276 (version "1.5")
2277 (source
2278 (origin
2279 (method git-fetch)
2280 (uri (git-reference
2281 (url "https://github.com/ctmarinas/stgit")
2282 (commit (string-append "v" version))))
2283 (file-name (git-file-name name version))
2284 (sha256
2285 (base32 "1igljjpdgl4na1a5hi0nmg36ph0hw6hw8hhq5436fgcl8yjimyz3"))))
2286 (build-system python-build-system)
2287 (native-inputs
2288 (list perl))
2289 (inputs
2290 (list git))
2291 (arguments
2292 `(#:phases
2293 (modify-phases %standard-phases
2294 (add-after 'unpack 'hard-code-version
2295 (lambda _
2296 ;; setup.py tries to cleverly extract the version number from the
2297 ;; git history, which the source checkout lacks. Hard-code one.
2298 (substitute* "setup.py"
2299 (("get_ver\\(\\)")
2300 (format #f "'~a'" ,version)))
2301 #t))
2302 (add-before 'check 'patch-tests
2303 (lambda _
2304 (substitute* (list "t/t1900-mail.sh"
2305 "t/t7504-commit-msg-hook.sh")
2306 (("/bin/sh")
2307 (which "bash")))
2308 #t))
2309 (replace 'check
2310 (lambda _
2311 (invoke "make"
2312 "PERL_PATH=perl"
2313 (string-append "SHELL_PATH=" (which "bash"))
2314 "test"))))))
2315 (home-page "https://stacked-git.github.io/")
2316 (synopsis "Stacked Git")
2317 (description
2318 "StGit is a command-line application that provides functionality similar
2319to Quilt (i.e., pushing/popping patches to/from a stack), but using Git
2320instead of @command{diff} and @command{patch}. StGit stores its patches in a
2321Git repository as normal Git commits, and provides a number of commands to
2322manipulate them in various ways.")
2323 (license license:gpl2)))
2324
2325(define-public vcsh 2273(define-public vcsh
2326 (package 2274 (package
2327 (name "vcsh") 2275 (name "vcsh")