summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-19 04:00:40 +0000
committerSam James <sam@gentoo.org>2023-03-19 04:03:16 +0000
commitd2216660ce4e19a94f754b79fee0f16e46696cc0 (patch)
treec5e12b275dd62db3704bbfdafc0ebf22f38e9bc6 /app-misc
parentapp-misc/dateutils: drop 0.4.7, 0.4.8 (diff)
downloadgentoo-d2216660ce4e19a94f754b79fee0f16e46696cc0.tar.gz
gentoo-d2216660ce4e19a94f754b79fee0f16e46696cc0.tar.bz2
gentoo-d2216660ce4e19a94f754b79fee0f16e46696cc0.zip
app-misc/dateutils: add 0.4.10
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/dateutils/Manifest1
-rw-r--r--app-misc/dateutils/dateutils-0.4.10.ebuild36
-rw-r--r--app-misc/dateutils/dateutils-9999.ebuild2
3 files changed, 38 insertions, 1 deletions
diff --git a/app-misc/dateutils/Manifest b/app-misc/dateutils/Manifest
index 6e1a5f0eb879..edfdc3dbca37 100644
--- a/app-misc/dateutils/Manifest
+++ b/app-misc/dateutils/Manifest
@@ -1 +1,2 @@
+DIST dateutils-0.4.10.tar.xz 652548 BLAKE2B b1fe3b07edfd223c9265df99888bf2edc37458b487b0f3b913f4c19e23b86d4a7f8cb3f0610bf140e6ce0233a9008ccd26cbe0b1462c5f85b2424cd39ffcbdb7 SHA512 04a9fff177596bb9bc47d3b221865bbeafeafbc708385610845a1cdcb2a7fa379e8d9363cce578836ae121dab7ee64e19f61d82e8f222250e52d23c5f43cf521
DIST dateutils-0.4.9.tar.xz 651024 BLAKE2B 9b9bab5f990689a367fa574c20113c01f4847cdcced47275b992655cb91cd14076c22e2d550a969c20ef979b63156c72a485c42105022e522dce4d1376aa0393 SHA512 b5cda838f8fa01e4208e11842f835503357c02b4a21b003db08ef88763a65f26ad2cd6f5d71c80b499d4e5ee5c0b4e552469ef91aa6cd02ebe5c5d2ad6e3105e
diff --git a/app-misc/dateutils/dateutils-0.4.10.ebuild b/app-misc/dateutils/dateutils-0.4.10.ebuild
new file mode 100644
index 000000000000..0f24dadd469b
--- /dev/null
+++ b/app-misc/dateutils/dateutils-0.4.10.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}"
+}
diff --git a/app-misc/dateutils/dateutils-9999.ebuild b/app-misc/dateutils/dateutils-9999.ebuild
index 3e16869e3d11..7c1baaa588b0 100644
--- a/app-misc/dateutils/dateutils-9999.ebuild
+++ b/app-misc/dateutils/dateutils-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7