From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- app-misc/timew/Manifest | 2 +- app-misc/timew/timew-1.4.3-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++++ app-misc/timew/timew-1.4.3.ebuild | 42 --------------------------------- 3 files changed, 46 insertions(+), 43 deletions(-) create mode 100644 app-misc/timew/timew-1.4.3-r1.ebuild delete mode 100644 app-misc/timew/timew-1.4.3.ebuild (limited to 'app-misc/timew') diff --git a/app-misc/timew/Manifest b/app-misc/timew/Manifest index 2b79c38089b3..39eb8d531839 100644 --- a/app-misc/timew/Manifest +++ b/app-misc/timew/Manifest @@ -1,5 +1,5 @@ DIST timew-1.4.2.tar.gz 1316841 BLAKE2B c451f37aeb32e999fe2cdca2eb5f234c7424b76f489324d5723a3649da37f53f5094989bdf8d5c2d27f5daa0d75c72ec4a01e3c19b8b064f28e4db82587498b9 SHA512 fe4c3def6b2cd78793dd97a38a61497b3910cd87a3315f826c64893b96a998bf30363f0df1892b74b718d03a279d51c1a636739225e101c5c126794e434076f0 DIST timew-1.4.3.tar.gz 3188726 BLAKE2B ded92b2ba801023e7f6bc59c0fc17ce069c8279ee92f39280c50dabec0a2425b8612f73edf7842abdbb0b21772244eda325512070c091f32d17ff69cfcd844fa SHA512 89c98ad19d3a5ab5d4e02819d79e553cca4e93da99ec02bbf845b96b421cd084f6786de160e90c97854b50da49448472e9a4c7d23e75c8a93ecd67dda768b24a EBUILD timew-1.4.2.ebuild 888 BLAKE2B 41a2e83233277e5722567378b7337c33302b6319ade5605c9d3e32ed99896d523d1833f4ddc164e5345d4f83b5bee9af346f63b5d40dd59849e5c12ef7279263 SHA512 cb84813049c46eb18090f022e77c9eab56ecc4e72011bea60d12ed95f0e8f8b5e048fefd343c48bfa8eacdca447c3e83285f79b80ca9b4350af3e08abf5e1565 -EBUILD timew-1.4.3.ebuild 955 BLAKE2B 2c4c04e5648164f752bf91224240c8fa35c390dc56c979af0f49a8931ccd090f990c711588aa207d8e54ed1272a940e8f18b581457459c245bdb85aff535bfcf SHA512 2f66cf61771d1c04f16f0d230203d37dae2284ae4d81e7bedae228f4a884a1121053f90064856a11cee0e32ebade3bcf650acc372d6ff7c6d7c4b64b558e57c8 +EBUILD timew-1.4.3-r1.ebuild 996 BLAKE2B 5aeb90a9d4ae6b77af7c240df8f0097be60251daa3f6a09de100a82a356ca9ecc106793253ba5462c546ef8086874e8a40cf06719ec3d04e61597b6ec52d8c9c SHA512 66a71c369bf3566ae651c3260e919907a3d1a2a0d821ce8d82912c871a2140729da40644bb25d8405a0fb5d5c215f77ffdd5641c504a872e186f367eb5d6bc5f MISC metadata.xml 709 BLAKE2B e8f81df9a5e4a790903f64124cb32ecdd88db72786c765d9352b7551cfe532d7c18d7324ced319bacd47b8f675acfb0bce1fb66cbdbab17684fb619153102f50 SHA512 7580d43b68ed74a826fd7d2033de96dd1ad13e9291ede14fe139b582ea43e42d23887dd61f68d8e535d17a2afa82b150a3efe95efb1aed435a555686291267b7 diff --git a/app-misc/timew/timew-1.4.3-r1.ebuild b/app-misc/timew/timew-1.4.3-r1.ebuild new file mode 100644 index 000000000000..f608f1a27396 --- /dev/null +++ b/app-misc/timew/timew-1.4.3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Tracks your time from the command line, and generates reports" +HOMEPAGE="https://timewarrior.net" +SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_configure() { + mycmakeargs=( + -DTIMEW_DOCDIR=share/doc/${PF} + ) + + cmake_src_configure +} + +src_test() { + cd "${WORKDIR}"/"${P}"_build || die + + eninja test +} + +src_install() { + cmake_src_install + + dodoc -r ext + docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README} + + doman doc/man1/*.1 + doman doc/man7/*.7 +} + +pkg_postinst() { + elog "To integrate timewarrior with taskwarrior, issue the following commands:" + elog "cp /usr/share/doc/${PF}/ext/on-modify.timewarrior ~/.task/hooks/" + elog "chmod +x ~/.task/hooks/on-modify.timewarrior" + elog "see https://timewarrior.net/docs/taskwarrior.html" +} diff --git a/app-misc/timew/timew-1.4.3.ebuild b/app-misc/timew/timew-1.4.3.ebuild deleted file mode 100644 index e037edcce536..000000000000 --- a/app-misc/timew/timew-1.4.3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Tracks your time from the command line, and generates reports" -HOMEPAGE="https://timewarrior.net" -SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_configure() { - mycmakeargs=( - -DTIMEW_DOCDIR=share/doc/${PF} - ) - - cmake_src_configure -} - -src_test() { - cd "${WORKDIR}"/"${P}"_build || die - - eninja test -} - -src_install() { - cmake_src_install - - dodoc -r ext - docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README} -} - -pkg_postinst() { - elog "To integrate timewarrior with taskwarrior, issue the following commands:" - elog "cp /usr/share/doc/${PF}/ext/on-modify.timewarrior ~/.task/hooks/" - elog "chmod +x ~/.task/hooks/on-modify.timewarrior" - elog "see https://timewarrior.net/docs/taskwarrior.html" -} -- cgit v1.2.3