Skip to content

Commit

Permalink
app-misc/when: version bump.
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/738092
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
monsieurp committed Nov 24, 2020
1 parent 4cb1cea commit b7c945b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-misc/when/Manifest
Original file line number Diff line number Diff line change
@@ -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
43 changes: 43 additions & 0 deletions app-misc/when/when-1.1.40.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit b7c945b

Please sign in to comment.