diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-14 04:00:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-14 04:00:22 +0100 |
commit | a64517889ae341f6c77a299cd3aecdcfcf1694f6 (patch) | |
tree | 410993b950943be906cf07547eb28561772ac995 /app-emacs | |
parent | a0e652963f4d02b0e7c1148509f4ce3327c83808 (diff) |
gentoo auto-resync : 14:05:2023 - 04:00:22
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/Manifest.gz | bin | 69795 -> 69786 bytes | |||
-rw-r--r-- | app-emacs/transient/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/transient/transient-0.4.0.ebuild (renamed from app-emacs/transient/transient-0.3.6.ebuild) | 22 | ||||
-rw-r--r-- | app-emacs/ts/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/ts/files/ts-0.3-test.patch | 105 |
5 files changed, 112 insertions, 21 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz Binary files differindex a3330a09fb7d..31e825464ae6 100644 --- a/app-emacs/Manifest.gz +++ b/app-emacs/Manifest.gz diff --git a/app-emacs/transient/Manifest b/app-emacs/transient/Manifest index 20db1feb4e06..056dfaa79858 100644 --- a/app-emacs/transient/Manifest +++ b/app-emacs/transient/Manifest @@ -1,8 +1,8 @@ AUX 50transient-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5 -DIST transient-0.3.6.tar.gz 100905 BLAKE2B cc7a78104b77a7ff49d2ee686a780db7509744b1f737e4f995d5e5f8ada18828ccf1b6ae5d995fb8aa09e9fc16895226e5e8cf3cf50a79c246c5d07d5f467ce0 SHA512 c1b43046f07f9efce1720f6e151d8223922574262d4e5436b0c81453b0a21a404f1c555a5bc92a201c71beb1b2f95aafb38b88203cd08c1d3a9d80f45ed0d0c9 DIST transient-0.3.7.tar.gz 103105 BLAKE2B 3253529af82116881b6fdbb5465d3e0ffa8246e017a266fe0868d31e9c576a3927ed7b8d968d95f7e84e31859705f08582260d074f7f55cf10e535177df761f4 SHA512 93d1e00db3f483d830c9e636de1ae752c43bada580209c4839e89941507be5fd7ebbd31cf597436f13448b29085453742a0623dad9dcc1d343e29a5d47d76987 DIST transient-0.3.7_p20220918.tar.gz 125422 BLAKE2B 19d1e2e4ea24076856a1816042d63964527b4c98d5727805058e5bfd829c708afa277d88b46e0e4da64b8a21fc4c012b410399f7bc71d877c285edda6b9e7d8e SHA512 9dd61f6eb69bdcd9a582e34261f9b6806d048df3d009aefe5f3a5a8f36e733187140b933f8e4af02c6e6f35fac6a3d5d13665ac108fa74299b1555c485be87c3 -EBUILD transient-0.3.6.ebuild 618 BLAKE2B 7f8f2d71e2e1d1446b0b7d8ffa2e0c1c26f90a2c3ca95a59e74e9ace834c8dcfc322ddda58452e39423577049aaa580f93fcd54ad88bb13565fab92ff4c770e5 SHA512 dc8b36bec36a55f61d5c9bae86fb67a8c4dd4c32c7e644164ae59f06a1f467813c0384a5c2df31ac8a98432988380de0d2a43dd93767c00f67c8940540a033a4 +DIST transient-0.4.0.tar.gz 128429 BLAKE2B cd97b5fcef5d7d4bb14677ab1fa4a49f16af527cfaf92c17d97de9073a6662067195822a6e25ff6cefdb8278c806ceee996f6552e4616a52cd16390a1baa8459 SHA512 b7946983828ed2d5cc9884b08fead22fffa4d3fa2f10b0797df54f4260ae0d41e27aa3804dce12ae61d6e60d245484e68ad269a5bbe98cfde7a6a154eed7a3db EBUILD transient-0.3.7.ebuild 618 BLAKE2B caa55a263afc6fb555886e6511ab0502e20a3135a1a60ab2fc5311ef92a8ec506f1a44d967eb8318008c263c34322b381a9a9dc816955a73c0764e9f5baf1398 SHA512 1a9aa9bf670f7c0084c70a52d9782e1e759e0aaf0c79bb81fc25fd03fa41c00c932053c622ad681591d31c07af5955c0512f56a47a3b70d7eb1f7d5ac93c584a EBUILD transient-0.3.7_p20220918-r1.ebuild 719 BLAKE2B c64dfa62198be34fac7e1b153d07b68e67e544b26f41c4b84f87bfe49c4b62b21fc32b7f203604c3425ad1e734c76c11b76883457d491f36eea0967f7cf156a9 SHA512 6840921d56497567a0ce9a5d3ebe0c6ccfce46c13816e13458d832da5fdef81ef807b56fbb2293c898adb923409f6aa20427be20d3cf36baf11502328913eaac +EBUILD transient-0.4.0.ebuild 686 BLAKE2B d6390ae4054e664299978683bcf1f869171f013e8c7a72843f732a2769deb501526dfcde187a9d5c8c6d501ae612c35caa15a37a1037b92fccfdc65a50fcba15 SHA512 5bd586bd6a3f8f6629f8befaa9bc9242b74fd06cf8ec761bb8eb97e3f97e3a2830b20416349177aa22e43e52c22664a2976575e52650589d8a61476f191e42d6 MISC metadata.xml 1434 BLAKE2B 6f7f91e2cd8c87559f15552d6fbe920e5262a50f21919a096af55df037726eb380a774cfba8be73b588ba9aa2c39da5caf6ad64a31106b843c6bd308fe7aa40e SHA512 3316d9ac21d2a2aa0a5824f2c8ded736ad1bfcd7319a9c4cb8b02f0ffec5f440820bfe48e4f4d4264fbc3864bd7959875f1396285b6a7eb2ad3333a6a062a14f diff --git a/app-emacs/transient/transient-0.3.6.ebuild b/app-emacs/transient/transient-0.4.0.ebuild index b7a1b10c7773..3b7d6fcbaea9 100644 --- a/app-emacs/transient/transient-0.3.6.ebuild +++ b/app-emacs/transient/transient-0.4.0.ebuild @@ -1,25 +1,29 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit elisp DESCRIPTION="Transient commands abstraction for GNU Emacs" -HOMEPAGE="https://magit.vc/manual/transient" -SRC_URI="https://github.com/magit/transient/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://magit.vc/manual/transient/ + https://github.com/magit/transient/" +SRC_URI="https://github.com/magit/transient/archive/v${PV}.tar.gz + -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +DOCS=( CHANGELOG README.org docs/${PN}.org ) +ELISP_TEXINFO="docs/${PN}.texi" SITEFILE="50${PN}-gentoo.el" -ELISP_TEXINFO="docs/*.texi" -DOCS="README.md docs/transient.org" -DEPEND="" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} sys-apps/texinfo" +RDEPEND=">=app-emacs/compat-29.1.4.1" +BDEPEND=" + ${RDEPEND} + sys-apps/texinfo +" src_prepare() { mv lisp/*.el . || die diff --git a/app-emacs/ts/Manifest b/app-emacs/ts/Manifest index 4bfe3a5ca106..2fc1442727bd 100644 --- a/app-emacs/ts/Manifest +++ b/app-emacs/ts/Manifest @@ -1,5 +1,5 @@ AUX 50ts-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5 -AUX ts-0.3-test.patch 650 BLAKE2B 174a01b8035a677e2ae742931ac9b9d9f7eadd9a0bd02ffda69867c950239c32e948b952d6a16ffcd4ea423b84b8eec4d20a8000bddc4ef64e072e29fccfa203 SHA512 0276582170693f476c448dc6154b4930a52734ddf8325a903b018f3aca8e7d16ba150d1ef50f61e541ed234b2097c2b9f7d048f74cf058a6c088070c3722e2de +AUX ts-0.3-test.patch 4234 BLAKE2B 5ecaa201c552f899a30998e3d2d313368a9f8d850ee42b8ba774ab695fac1057f5f4133e1da5dea777a60d0001e722860f856a8eddb789f4a6e17aa87178eb0b SHA512 b57f760adf3c3eeef0c227956ea273eedd6b3492ab1b4347b64738cd1d5c1e8fb94b4cc4903022cb44fc9688791209a67e09c8ccdf3c256f58d4e4bfad2ed565 DIST ts-0.3.tar.gz 50790 BLAKE2B 99708218584764776d6f93565b7da83e266a1ea2588aba614151a9cffaddd69983a0dd897b9a59247e73992b1611dc761f250f189e179d72c36dc417f5f60aa2 SHA512 8e31543ffb69214c2daf3a26b8f2a76c9933e13f699575678c3262b1524da6615d34ec3fe9d30c62c354ba7139e7a96ac5a894850569688e75ba64959bded61c EBUILD ts-0.3.ebuild 855 BLAKE2B 75054d6ba86495a1bad1c8badb0a73e0e51c6043dc16afc4168920c9292fcbf7dc42432da4ae56674fcb41b2d25bf784f80d3ff8c5e824aa60765538d17f3b25 SHA512 d9551b5b1ada56b9581bcacaa85b9458e0dc27988f970d6f08c9c51a3b664ebe6bba798e7c54261f1f69568ad0bc3f6159bf4a088d978879febda7ee2f45b7f5 MISC metadata.xml 1017 BLAKE2B bd37ba7901c48fef2cbfd665f2785a83b4bb2a3c0ff96177f7e6e4248efbc4698347fbce7f14e1ef6f77de3d4d9b0d267bcbef5d1a396f1dfd82a634b2c6ddee SHA512 a3b39642f71c692f2e68e96b96dbe2cf25cb014734c0ade0026a839eb15a2265d69203e76b3c707763f7710de9f93b3df822e1ca141d5ce86c8c3056f8ad5a9b diff --git a/app-emacs/ts/files/ts-0.3-test.patch b/app-emacs/ts/files/ts-0.3-test.patch index 0b473d24873f..387d7555a79e 100644 --- a/app-emacs/ts/files/ts-0.3-test.patch +++ b/app-emacs/ts/files/ts-0.3-test.patch @@ -1,13 +1,100 @@ --- a/test/test.el +++ b/test/test.el -@@ -259,10 +259,8 @@ - ;; machine's local timezone affecting results. - (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 20 :minute 48 :second 08 :tz-offset "-0400"))) - ;; Following the pattern in the function: +@@ -254,24 +254,6 @@ + + ;;;;; Formatting + +-(ert-deftest ts-format () +- ;; We test two timestamps to help avoid problems with the test +- ;; machine's local timezone affecting results. +- (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 20 :minute 48 :second 08 :tz-offset "-0400"))) +- ;; Following the pattern in the function: - (should (equal (ts-format ts) "2019-07-27 20:48:08 -0400")) - (should (equal (ts-format "%Y" ts) "2019")) - (should (ts-format "%Y")) +- (should (equal (ts-format "%Y" ts) "2019")) +- (should (ts-format "%Y")) - (should (equal (ts-format nil ts) "2019-07-27 20:48:08 -0400")) - (should (ts-format))) - (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 19 :minute 48 :second 08 :tz-offset "-0500"))) - ;; Following the pattern in the function: +- (should (ts-format))) +- (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 19 :minute 48 :second 08 :tz-offset "-0500"))) +- ;; Following the pattern in the function: +- (should (equal (ts-format ts) "2019-07-27 19:48:08 -0500")) +- (should (equal (ts-format "%Y" ts) "2019")) +- (should (ts-format "%Y")) +- (should (equal (ts-format nil ts) "2019-07-27 19:48:08 -0500")) +- (should (ts-format)))) +- + ;;;;; Parsing + + (ert-deftest ts-parse () +@@ -355,13 +337,6 @@ + ;; 12:12, which means 0 seconds. + (should (eq (ts-S ts) 0)))) + +-(ert-deftest ts-parse-org () +- ;; NOTE: Not sure how to best handle loading `org-parse-time-string'. Calling (require 'ts) +- ;; shouldn't cause Org to be loaded, so the user will probably have to do that. +- (require 'org) +- (let* ((org-ts-string "<2015-09-24 Thu .+1d>")) +- (should (equal 1443070800.0 (ts-unix (ts-parse-org org-ts-string)))))) +- + (ert-deftest ts-parse-org-fill () + (should-error (ts-parse-org-fill nil "<2015-09-24 Thu .+1d>")) + (let ((ts (ts-parse-org-fill 'begin "<2015-09-24 Thu .+1d>"))) +@@ -413,27 +388,6 @@ + (should (eq (ts-M ts) 12)) + (should (eq (ts-S ts) 0)))) + +-(ert-deftest ts-parse-org-element () +- (let ((org-ts '(timestamp (:type active +- :raw-value "<2015-09-24 Thu .+1d>" +- :year-start 2015 :month-start 9 :day-start 24 +- :hour-start nil :minute-start nil +- :year-end 2015 :month-end 9 :day-end 24 +- :hour-end nil :minute-end nil +- :begin 230314 :end 230335 :post-blank 0 +- :repeater-type restart :repeater-value 1 :repeater-unit day)))) +- (should (equal 1443070800.0 (ts-unix (ts-parse-org-element org-ts))))) +- (let ((org-ts-string "<2015-09-24 Thu .+1d>")) +- (with-temp-buffer +- (delay-mode-hooks +- (org-mode) +- (save-excursion +- (insert org-ts-string)) +- (should (->> (org-element-context) +- (ts-parse-org-element) +- (ts-unix) +- (equal 1443070800.0))))))) +- + ;;;;; Other + + (ert-deftest ts-apply () +@@ -443,30 +397,6 @@ + (should (= (- (ts-year now) (ts-year then)) + expected-difference)))) + +-(ert-deftest ts-fill () +- (let ((zones '("America/Chicago" (-18000 "CDT"))) +- ts) +- (dolist (zone zones) +- (setf ts (ts-fill (make-ts :unix 1625426636.7569551) zone)) +- (should (equal (ts-year ts) 2021)) +- (should (equal (ts-month-num ts) 7)) +- (should (equal (ts-day-of-month-num ts) 4)) +- (should (equal (ts-day-of-week-num ts) 0)) +- (should (equal (ts-hour ts) 14)) +- (should (equal (ts-minute ts) 23)) +- (should (equal (ts-second ts) 56)) +- (should (equal (ts-month-name ts) "July")) +- (should (equal (ts-month-abbr ts) "Jul")) +- (should (equal (ts-day-abbr ts) "Sun")) +- (should (equal (ts-day-name ts) "Sunday")) +- (should (equal (ts-day-of-year ts) 185)) +- (should (equal (ts-week-of-year ts) 26)) +- (should (equal (ts-tz-abbr ts) "CDT")) +- (should (equal (ts-tz-offset ts) "-0500")))) +- ;; If ZONE is the plain integer -18000, the tz-abbr ("%z" to `format-time-string') +- ;; is "-05" rather than the zone abbreviation, so we test it separately. +- (should (equal (ts-tz-abbr (ts-fill (make-ts :unix 1625426636.7569551) -18000)) "-05"))) +- + (ert-deftest ts-now () + "Ensure `ts-now' returns what appears to be the current time." + (should (equal (floor (ts-unix (ts-now))) |