diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2020-11-25 00:01:29 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2020-11-25 00:11:42 +0100 |
commit | b7c945b0ec0f7d4a134a66f49e2a28622ab810f7 (patch) | |
tree | a56c9093689ff8e257aba71de635f34fc1fe87b6 /app-misc/when | |
parent | net-print/dymo-cups-drivers: QA fix USE underscore (diff) | |
download | gentoo-b7c945b0ec0f7d4a134a66f49e2a28622ab810f7.tar.gz gentoo-b7c945b0ec0f7d4a134a66f49e2a28622ab810f7.tar.bz2 gentoo-b7c945b0ec0f7d4a134a66f49e2a28622ab810f7.zip |
app-misc/when: version bump.
Closes: https://bugs.gentoo.org/738092
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-misc/when')
-rw-r--r-- | app-misc/when/Manifest | 1 | ||||
-rw-r--r-- | app-misc/when/when-1.1.40.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/app-misc/when/Manifest b/app-misc/when/Manifest index be3e75e7932f..b8fe0ed27720 100644 --- a/app-misc/when/Manifest +++ b/app-misc/when/Manifest @@ -1,2 +1,3 @@ DIST when-1.1.36.tar.gz 50926 BLAKE2B 339e50db6b3c7e4867569e2a400563e9d53966904cf904044b3e7f7deee8e60872582011d90e1a685d69c4a1a5b9ffe2a727470bb09c8d6e1ca7780c9d0abce7 SHA512 04b2efbcebae79325d8410a5aa5cdf59662fe42c06229ebc91f3b7163091d305a6ba91914a2a9117d86807d5ca0c875d48679dbc3545162a7263679bf605a52e DIST when-1.1.37.tar.gz 51020 BLAKE2B 242d7833c91279bc7a73effc108a0f7d5edad9838006d8ff632c46215b7cd2a2187660075e2525a352a458a494abc648a9518945cdf18e2e7d58261e428efd8f SHA512 b1f0cb9cb797a5a32263ef2851498dfbf6a769d3e708b79ca1c5b37c7c877124194dd9b5ae78bfafebc0e73e82f306b3ae734a5ef7140fe3bf0e6b2cfcc4bb18 +DIST when-1.1.40.tar.gz 55306 BLAKE2B 3d4bdc962ccff64b09f5dda7a2c7be1daa0fd5fed2039f784ea6279e9aac495823159098f6a05c281de40d7964cc244a76c6b3bda1c4227748c04c98effac54d SHA512 0d70f2c9c4d44bbd922dc0d6b1a4e1eb90561a81add3ad4f1e1fc467a6331ca856d66725361d4e5ea3f1ce9ea1ed59d91ad18178e022b029c04c0c15747ecbcd diff --git a/app-misc/when/when-1.1.40.ebuild b/app-misc/when/when-1.1.40.ebuild new file mode 100644 index 000000000000..d52e2ced5ed1 --- /dev/null +++ b/app-misc/when/when-1.1.40.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Minimalistic personal calendar program" +HOMEPAGE="http://www.lightandmatter.com/when/when.html" +SRC_URI="http://www.lightandmatter.com/when/when.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/when_dist" + +DOCS=( README ) + +RESTRICT="test" + +src_prepare() { + default + + # Fix path for tests + sed -i 's,^ when, ./when,' Makefile || die 'sed failed' +} + +src_compile() { :; } + +src_test() { + # The when command requires these files, or attempts to run setup function. + mkdir "${HOME}"/.when || die 'mkdir failed' + touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed' + emake test +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" + einstalldocs +} |