commit:     59e191b892e63f254ad0fb44f95bba8935900f1f
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 15:32:25 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Fri Jul  7 15:32:25 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=59e191b8

dev-lisp/local-time: Drops old version. Updates header and EAPI

 .../local-time/local-time-1.0.1_p20100617.ebuild   | 47 ----------------------
 dev-lisp/local-time/local-time-1.0.5.ebuild        | 10 ++---
 dev-lisp/local-time/local-time-1.0.6.ebuild        |  7 ++--
 3 files changed, 8 insertions(+), 56 deletions(-)

diff --git a/dev-lisp/local-time/local-time-1.0.1_p20100617.ebuild 
b/dev-lisp/local-time/local-time-1.0.1_p20100617.ebuild
deleted file mode 100644
index 859d6bfe..00000000
--- a/dev-lisp/local-time/local-time-1.0.1_p20100617.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=3
-
-inherit common-lisp-3
-
-DESCRIPTION="LOCAL-TIME is a development library for manipulating date and 
time information."
-HOMEPAGE="http://common-lisp.net/project/local-time/";
-SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.gz";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc postgres"
-
-DEPEND="sys-apps/texinfo
-               doc? ( virtual/texi2dvi )"
-RDEPEND="sys-libs/timezone-data
-               dev-lisp/cl-fad"
-PDEPEND="postgres? ( dev-lisp/postmodern )"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
-}
-
-src_compile() {
-       cd doc
-       makeinfo ${PN}.texinfo -o ${PN}.info || die "Cannot compile info docs"
-       if use doc ; then
-               VARTEXFONTS="${T}"/fonts \
-                       texi2pdf ${PN}.texinfo -o ${PN}.pdf || die "Cannot 
build PDF docs"
-       fi
-}
-
-src_install() {
-       common-lisp-install-sources src/local-time.lisp test
-       common-lisp-install-asdf local-time.asd local-time.test.asd
-       if use postgres; then
-               common-lisp-install-sources src/integration/cl-postgres.lisp
-               common-lisp-install-asdf cl-postgres+local-time.asd
-       fi
-       dodoc CREDITS README TODO
-       doinfo doc/${PN}.info
-       use doc && dodoc doc/${PN}.pdf
-}

diff --git a/dev-lisp/local-time/local-time-1.0.5.ebuild 
b/dev-lisp/local-time/local-time-1.0.5.ebuild
index 1678cbd2..cbaf220b 100644
--- a/dev-lisp/local-time/local-time-1.0.5.ebuild
+++ b/dev-lisp/local-time/local-time-1.0.5.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-EAPI=5
+EAPI=6
 
 inherit common-lisp-3
 
@@ -27,12 +26,13 @@ install_postgresql_files() {
 }
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
+       eapply "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
+       eapply_user
 }
 
 src_compile() {
-       cd doc
        if use doc ; then
+               cd doc || die
                VARTEXFONTS="${T}"/fonts \
                        texi2pdf ${PN}.texinfo -o ${PN}.pdf || die "Cannot 
build PDF docs"
        fi

diff --git a/dev-lisp/local-time/local-time-1.0.6.ebuild 
b/dev-lisp/local-time/local-time-1.0.6.ebuild
index b816e2c8..0622a769 100644
--- a/dev-lisp/local-time/local-time-1.0.6.ebuild
+++ b/dev-lisp/local-time/local-time-1.0.6.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
 EAPI=6
 
@@ -27,8 +26,8 @@ install_postgresql_files() {
 }
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-use-system-zonedata.patch
-       default
+       eapply "${FILESDIR}"/${P}-use-system-zonedata.patch
+       eapply_user
 }
 
 src_compile() {

Reply via email to