diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/dateutils/dateutils-0.4.6.ebuild | 31 | ||||
-rw-r--r-- | app-misc/dateutils/dateutils-0.4.7.ebuild | 30 | ||||
-rw-r--r-- | app-misc/dateutils/dateutils-9999.ebuild | 36 | ||||
-rw-r--r-- | 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 7b12131bfecd..c785ee95ac5f 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 968fb4c912f1..7d96bcf272a9 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 000000000000..7d96bcf272a9 --- /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 361cab5915e8..c0305048faa1 100644 --- a/app-misc/dateutils/metadata.xml +++ b/app-misc/dateutils/metadata.xml @@ -3,7 +3,7 @@ <pkgmetadata> <maintainer type="person"> <email>coppens.matthias.abc@gmail.com</email> - <description>Matthias Coppens</description> + <name>Matthias Coppens</name> </maintainer> <maintainer type="project"> <email>proxy-maint@gentoo.org</email> |