Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/local-time/
Date: Fri, 07 Jul 2017 15:32:20
Message-Id: 1499441545.59e191b892e63f254ad0fb44f95bba8935900f1f.nimiux@gentoo
1 commit: 59e191b892e63f254ad0fb44f95bba8935900f1f
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 7 15:32:25 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 7 15:32:25 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=59e191b8
7
8 dev-lisp/local-time: Drops old version. Updates header and EAPI
9
10 .../local-time/local-time-1.0.1_p20100617.ebuild | 47 ----------------------
11 dev-lisp/local-time/local-time-1.0.5.ebuild | 10 ++---
12 dev-lisp/local-time/local-time-1.0.6.ebuild | 7 ++--
13 3 files changed, 8 insertions(+), 56 deletions(-)
14
15 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
16 deleted file mode 100644
17 index 859d6bfe..00000000
18 --- a/dev-lisp/local-time/local-time-1.0.1_p20100617.ebuild
19 +++ /dev/null
20 @@ -1,47 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=3
26 -
27 -inherit common-lisp-3
28 -
29 -DESCRIPTION="LOCAL-TIME is a development library for manipulating date and time information."
30 -HOMEPAGE="http://common-lisp.net/project/local-time/"
31 -SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.gz"
32 -
33 -LICENSE="MIT"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
36 -IUSE="doc postgres"
37 -
38 -DEPEND="sys-apps/texinfo
39 - doc? ( virtual/texi2dvi )"
40 -RDEPEND="sys-libs/timezone-data
41 - dev-lisp/cl-fad"
42 -PDEPEND="postgres? ( dev-lisp/postmodern )"
43 -
44 -src_prepare() {
45 - epatch "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
46 -}
47 -
48 -src_compile() {
49 - cd doc
50 - makeinfo ${PN}.texinfo -o ${PN}.info || die "Cannot compile info docs"
51 - if use doc ; then
52 - VARTEXFONTS="${T}"/fonts \
53 - texi2pdf ${PN}.texinfo -o ${PN}.pdf || die "Cannot build PDF docs"
54 - fi
55 -}
56 -
57 -src_install() {
58 - common-lisp-install-sources src/local-time.lisp test
59 - common-lisp-install-asdf local-time.asd local-time.test.asd
60 - if use postgres; then
61 - common-lisp-install-sources src/integration/cl-postgres.lisp
62 - common-lisp-install-asdf cl-postgres+local-time.asd
63 - fi
64 - dodoc CREDITS README TODO
65 - doinfo doc/${PN}.info
66 - use doc && dodoc doc/${PN}.pdf
67 -}
68
69 diff --git a/dev-lisp/local-time/local-time-1.0.5.ebuild b/dev-lisp/local-time/local-time-1.0.5.ebuild
70 index 1678cbd2..cbaf220b 100644
71 --- a/dev-lisp/local-time/local-time-1.0.5.ebuild
72 +++ b/dev-lisp/local-time/local-time-1.0.5.ebuild
73 @@ -1,8 +1,7 @@
74 -# Copyright 1999-2016 Gentoo Foundation
75 +# Copyright 1999-2017 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 -# $Id$
78
79 -EAPI=5
80 +EAPI=6
81
82 inherit common-lisp-3
83
84 @@ -27,12 +26,13 @@ install_postgresql_files() {
85 }
86
87 src_prepare() {
88 - epatch "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
89 + eapply "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
90 + eapply_user
91 }
92
93 src_compile() {
94 - cd doc
95 if use doc ; then
96 + cd doc || die
97 VARTEXFONTS="${T}"/fonts \
98 texi2pdf ${PN}.texinfo -o ${PN}.pdf || die "Cannot build PDF docs"
99 fi
100
101 diff --git a/dev-lisp/local-time/local-time-1.0.6.ebuild b/dev-lisp/local-time/local-time-1.0.6.ebuild
102 index b816e2c8..0622a769 100644
103 --- a/dev-lisp/local-time/local-time-1.0.6.ebuild
104 +++ b/dev-lisp/local-time/local-time-1.0.6.ebuild
105 @@ -1,6 +1,5 @@
106 -# Copyright 1999-2016 Gentoo Foundation
107 +# Copyright 1999-2017 Gentoo Foundation
108 # Distributed under the terms of the GNU General Public License v2
109 -# $Id$
110
111 EAPI=6
112
113 @@ -27,8 +26,8 @@ install_postgresql_files() {
114 }
115
116 src_prepare() {
117 - epatch "${FILESDIR}"/${P}-use-system-zonedata.patch
118 - default
119 + eapply "${FILESDIR}"/${P}-use-system-zonedata.patch
120 + eapply_user
121 }
122
123 src_compile() {