diff options
author | Matthias Coppens <coppens.matthias.abc@gmail.com> | 2021-08-21 17:13:38 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-26 23:47:43 +0100 |
commit | de5c40a76ab328f22732995c764b5c5adfaea93f (patch) | |
tree | d8c349647a459a9fbbb669497d816d49f36db83b /app-misc/dateutils/dateutils-0.4.9.ebuild | |
parent | sys-fs/mtd-utils: Add myself as co-maintainer (diff) | |
download | gentoo-de5c40a76ab328f22732995c764b5c5adfaea93f.tar.gz gentoo-de5c40a76ab328f22732995c764b5c5adfaea93f.tar.bz2 gentoo-de5c40a76ab328f22732995c764b5c5adfaea93f.zip |
app-misc/dateutils: Version bump 0.4.9
Closes: https://bugs.gentoo.org/809413
Package-Manager: Portage-3.0.21, Repoman-3.0.3
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22066
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/dateutils/dateutils-0.4.9.ebuild')
-rw-r--r-- | app-misc/dateutils/dateutils-0.4.9.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/dateutils/dateutils-0.4.9.ebuild b/app-misc/dateutils/dateutils-0.4.9.ebuild new file mode 100644 index 000000000000..3e16869e3d11 --- /dev/null +++ b/app-misc/dateutils/dateutils-0.4.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Command line date and time utilities" +HOMEPAGE="https://www.fresse.org/dateutils/ https://github.com/hroptatyr/dateutils" + +case "${PV}" in + 9999) + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/hroptatyr/dateutils.git" + ;; + *) + SRC_URI="https://github.com/hroptatyr/dateutils/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +esac + +LICENSE="BSD" +SLOT="0" + +BDEPEND="app-arch/xz-utils" +DEPEND="sys-libs/timezone-data" + +# bug 429810 +RDEPEND="${DEPEND} + !sys-fabric/dapl" + +src_prepare() { + default + [[ "${PV}" = 9999 ]] && eautoreconf +} + +src_configure() { + econf CFLAGS="${CFLAGS}" +} |