From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD4A613835B for ; Wed, 19 Aug 2020 18:56:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CE20E09F4; Wed, 19 Aug 2020 18:56:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 022D2E09F4 for ; Wed, 19 Aug 2020 18:56:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D164334EF06 for ; Wed, 19 Aug 2020 18:56:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 584692FE for ; Wed, 19 Aug 2020 18:56:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1597862874.4471cc36a86e40e7d2607a8de1cf69a34f913c7f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/dateutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/dateutils/dateutils-0.4.6.ebuild app-misc/dateutils/dateutils-0.4.7.ebuild app-misc/dateutils/dateutils-9999.ebuild app-misc/dateutils/metadata.xml X-VCS-Directories: app-misc/dateutils/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4471cc36a86e40e7d2607a8de1cf69a34f913c7f X-VCS-Branch: master Date: Wed, 19 Aug 2020 18:56:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aae302ec-d645-4b8f-becb-45e416e58241 X-Archives-Hash: e098f6fb93253d8b3494fb14a08ae5ef commit: 4471cc36a86e40e7d2607a8de1cf69a34f913c7f Author: Matthias Coppens gmail com> AuthorDate: Sun Aug 9 15:08:53 2020 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 19 18:47:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4471cc36 app-misc/dateutils: Added live ebuild Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Matthias Coppens gmail.com> Signed-off-by: Sam James gentoo.org> app-misc/dateutils/dateutils-0.4.6.ebuild | 31 ++++++++++++++++---------- app-misc/dateutils/dateutils-0.4.7.ebuild | 30 +++++++++++++++++--------- app-misc/dateutils/dateutils-9999.ebuild | 36 +++++++++++++++++++++++++++++++ app-misc/dateutils/metadata.xml | 2 +- 4 files changed, 77 insertions(+), 22 deletions(-) diff --git a/app-misc/dateutils/dateutils-0.4.6.ebuild b/app-misc/dateutils/dateutils-0.4.6.ebuild index 7b12131bfec..c785ee95ac5 100644 --- a/app-misc/dateutils/dateutils-0.4.6.ebuild +++ b/app-misc/dateutils/dateutils-0.4.6.ebuild @@ -4,26 +4,35 @@ EAPI=7 DESCRIPTION="command line date and time utilities" -HOMEPAGE="https://www.fresse.org/dateutils/" -SRC_URI="https://bitbucket.org/hroptatyr/${PN}/downloads/${P}.tar.xz" +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" -KEYWORDS="~amd64 ~x86" -DEPEND="app-arch/xz-utils - sys-libs/timezone-data" +BDEPEND="app-arch/xz-utils" +DEPEND="sys-libs/timezone-data" # bug 429810 -RDEPEND="!sys-fabric/dapl" +RDEPEND="${DEPEND} + !sys-fabric/dapl" PATCHES=( "${FILESDIR}"/${P}-unportable-sys-sysctl_h.patch ) -src_compile() { - emake CFLAGS="${CFLAGS}" +src_prepare() { + default + [[ "${PV}" = 9999 ]] && eautoreconf } -src_test() { - # parallel tests failure - emake CFLAGS="${CFLAGS}" -j1 check +src_configure() { + econf CFLAGS="${CFLAGS}" } diff --git a/app-misc/dateutils/dateutils-0.4.7.ebuild b/app-misc/dateutils/dateutils-0.4.7.ebuild index 968fb4c912f..7d96bcf272a 100644 --- a/app-misc/dateutils/dateutils-0.4.7.ebuild +++ b/app-misc/dateutils/dateutils-0.4.7.ebuild @@ -4,23 +4,33 @@ EAPI=7 DESCRIPTION="command line date and time utilities" -HOMEPAGE="https://www.fresse.org/dateutils/" -SRC_URI="https://bitbucket.org/hroptatyr/${PN}/downloads/${P}.tar.xz" +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" -KEYWORDS="~amd64 ~x86" -DEPEND="app-arch/xz-utils - sys-libs/timezone-data" +BDEPEND="app-arch/xz-utils" +DEPEND="sys-libs/timezone-data" # bug 429810 -RDEPEND="!sys-fabric/dapl" +RDEPEND="${DEPEND} + !sys-fabric/dapl" -src_compile() { - emake CFLAGS="${CFLAGS}" +src_prepare() { + default + [[ "${PV}" = 9999 ]] && eautoreconf } -src_test() { - emake CFLAGS="${CFLAGS}" check +src_configure() { + econf CFLAGS="${CFLAGS}" } diff --git a/app-misc/dateutils/dateutils-9999.ebuild b/app-misc/dateutils/dateutils-9999.ebuild new file mode 100644 index 00000000000..7d96bcf272a --- /dev/null +++ b/app-misc/dateutils/dateutils-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 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}" +} diff --git a/app-misc/dateutils/metadata.xml b/app-misc/dateutils/metadata.xml index 361cab5915e..c0305048faa 100644 --- a/app-misc/dateutils/metadata.xml +++ b/app-misc/dateutils/metadata.xml @@ -3,7 +3,7 @@ coppens.matthias.abc@gmail.com - Matthias Coppens + Matthias Coppens proxy-maint@gentoo.org