1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 20:10:39 +02:00

gnu: Merge EMACS-JANPATH-EVIL-NUMBERS and EMACS-EVIL-NUMBERS.

* gnu/packages/emacs-xyz.scm (emacs-evil-numbers): Use
EMACS-JANPATH-EVIL-NUMBERS definition.
(emacs-janpath-evil-numbers): Deprecate package.

Both packages are fork of the same project, the latter being unmaintained.
This commit is contained in:
Nicolas Goaziou 2022-11-01 09:44:56 +01:00
parent f937885311
commit b5238238a9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -13407,40 +13407,6 @@ go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
used for reverse direction.") used for reverse direction.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public emacs-janpath-evil-numbers
;; XXX: Upstream did not tag latest release. Use commit matching exact
;; version bump.
(let ((commit "61dde4e3715fd1255df8f87a37d9c8022e909bf4"))
(package
(name "emacs-janpath-evil-numbers")
(version "0.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/juliapath/evil-numbers")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"006s8azhypp5n7jnvqkb4rmzqmnsdwj87c3r97zhjzgi2jq953gx"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #t
#:test-command #~(list "emacs" "--batch"
"-l" "evil-numbers.el"
"-l" "tests/evil-numbers-tests.el"
"-f" "ert-run-tests-batch-and-exit")))
(native-inputs (list emacs-ert-runner))
(propagated-inputs (list emacs-evil))
(home-page "https://github.com/juliapath/evil-numbers")
(synopsis "Increment and decrement numeric literals")
(description
"This package provides functionality to search for a number up to the
end of a line and increment or decrement it.")
(license license:gpl3+))))
(define-public emacs-evil-owl (define-public emacs-evil-owl
(let ((commit "24c5f43df375194386344e69bc720ea3986c9510") (let ((commit "24c5f43df375194386344e69bc720ea3986c9510")
(revision "3")) (revision "3"))
@ -28430,31 +28396,42 @@ functions (e.g. @code{webfeeder-title-function}).")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-evil-numbers (define-public emacs-evil-numbers
(let ((commit "6ea1c8c3a9b37bed63d48f1128e9a4910e68187e")) ;; XXX: Upstream did not tag latest release. Use commit matching exact
;; version bump.
(let ((commit "61dde4e3715fd1255df8f87a37d9c8022e909bf4"))
(package (package
(name "emacs-evil-numbers") (name "emacs-evil-numbers")
(version (git-version "0.4" "1" commit)) (version "0.7")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/dieggsy/evil-numbers") (uri (git-reference
(commit commit))) (url "https://github.com/juliapath/evil-numbers")
(file-name (git-file-name name version)) (commit commit)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1aq95hj8x13py0pwsnc6wvd8cc5yv5qin8ym9js42y5966vwj4np")))) (base32
"006s8azhypp5n7jnvqkb4rmzqmnsdwj87c3r97zhjzgi2jq953gx"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/dieggsy/evil-numbers") (arguments
(synopsis "Increment and decrement numbers in Emacs") (list
(description "This package increments and decrements binary, octal, #:tests? #t
decimal and hex literals. It works like C-a/C-x in Vim, i.e. searches for #:test-command #~(list "emacs" "--batch"
number up to EOL and then increments or decrements and keeps zero padding up "-l" "evil-numbers.el"
(unlike in Vim). When a region is active, as in Evil's visual mode, all the "-l" "tests/evil-numbers-tests.el"
numbers within that region will be incremented/decremented (unlike in Vim). "-f" "ert-run-tests-batch-and-exit")))
(native-inputs (list emacs-ert-runner))
It is a fork of https://github.com/cofi/evil-numbers, which is unmaintained.") (propagated-inputs (list emacs-evil))
(home-page "https://github.com/juliapath/evil-numbers")
(synopsis "Increment and decrement numeric literals")
(description
"This package provides functionality to search for a number up to the
end of a line and increment or decrement it.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-janpath-evil-numbers
(deprecated-package "emacs-janpath-evil-numbers" emacs-evil-numbers))
(define-public emacs-rotate-text (define-public emacs-rotate-text
(package (package
(name "emacs-rotate-text") (name "emacs-rotate-text")