summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso <nimiux@gentoo.org>2015-04-28 23:41:44 +0200
committerChema Alonso Josa <nimiux@gentoo.org>2018-03-09 22:33:43 +0100
commit4c1320d47ea4092127025fe91da24d1031cbd958 (patch)
treeb6bc3953cac05620ce9eb1b7d6c59a186ad86c97 /dev-lisp/local-time
parentdev-lisp/parse-js: new live ebuild (diff)
downloadlisp-4c1320d47ea4092127025fe91da24d1031cbd958.tar.gz
lisp-4c1320d47ea4092127025fe91da24d1031cbd958.tar.bz2
lisp-4c1320d47ea4092127025fe91da24d1031cbd958.zip
dev-lisp/local-time: bump to version 1.0.5
Diffstat (limited to 'dev-lisp/local-time')
-rw-r--r--dev-lisp/local-time/Manifest9
-rw-r--r--dev-lisp/local-time/files/1.0.5-gentoo-use-system-zonedata.patch27
-rw-r--r--dev-lisp/local-time/local-time-1.0.5.ebuild49
3 files changed, 82 insertions, 3 deletions
diff --git a/dev-lisp/local-time/Manifest b/dev-lisp/local-time/Manifest
index 269648ec..84311462 100644
--- a/dev-lisp/local-time/Manifest
+++ b/dev-lisp/local-time/Manifest
@@ -1,3 +1,6 @@
-AUX 1.0.1_p20100617-gentoo-use-system-zonedata.patch 1234 RMD160 5cfd2154bbade3234b648e59d3569dfaaf64d84c SHA1 f62c082ff4e00816c171f897b9c0115cff787f0b SHA256 f40fffc0fce86c879ecc267620651769a6fa50c71672272f84afdb1008c2b414
-DIST local-time-1.0.1_p20100617.tar.gz 38838 RMD160 56d81a694bfe890ddc2f27b863f4c8ad1a060c5b SHA1 52e4dd9795553236cfae5090d2389585733db12e SHA256 46631c0595bb724f1c92282e13858d0d0b8040eb573b8ae2e1873074909c6287
-EBUILD local-time-1.0.1_p20100617.ebuild 1250 RMD160 75e353c6d2afcdb71134fccb3d53f31f8ebebfa7 SHA1 d90a035114989138bb9d36cd9fedc305d9334415 SHA256 27a64c8262f99caf35a00972e92b71bd69baa68ce0676a28c42b91dfc2c1f3dc
+AUX 1.0.1_p20100617-gentoo-use-system-zonedata.patch 1234 SHA256 f40fffc0fce86c879ecc267620651769a6fa50c71672272f84afdb1008c2b414 SHA512 077b146cddd4744046e26bb34d44fb3db51341fd6b35e53a49f6d1b49429703b56483efe78117f6d9e3a5a2f6b7277392c27ae8ccc6bf4e1d12819e4e5ecad8c WHIRLPOOL f22774fac6cf2d3a7eb60495d8aa0fda3edd75318f8c727a15b6191c38a1054a95ed3e788af005e591691c0c39caaa24223e96ca07d5469d573d8d89a70ed360
+AUX 1.0.5-gentoo-use-system-zonedata.patch 1229 SHA256 7c431ffac6a3a3318b97c84c2c088c3af6503e90bd35f018dfca0e8385fff320 SHA512 258be86ef65722c1ae549cd252f882fd4b86f75fa02efe409058d9b3d281efcec051ece79ae3bc38b85a937bb0be2915baef5ac6c23ff4f78dc120c5783bcee4 WHIRLPOOL ec48d8d409fe1489a5727bfdd464d91f2f8a8d31e6d318e404736a4bcb5082b76ee2be4b337cf7886cde6db16eeba21ef10d42432c1c1d4cf27c4633c775c068
+DIST local-time-1.0.1_p20100617.tar.gz 38838 SHA256 46631c0595bb724f1c92282e13858d0d0b8040eb573b8ae2e1873074909c6287 SHA512 809ebd9aa52e6b06432ba00c2d1d01c7741f830501dd0fb87b4dfcd28d4b474480655abc294f424df801d478dc289f87e9c42eadfdae6978f218db379733ea59 WHIRLPOOL 8b1aef029e13c2a36afc0b49db5db94b831a61179533a6bc587d1d9c573a01ccc41ca0b51c8d6256fa150df2814c5e6ddc94ba2fae0ca2edf15269295889e4ca
+DIST local-time-1.0.5.tar.gz 747092 SHA256 d35b5f2adde6b6441e7471a0550799fb7c79e93c0584801767843cf98aecb326 SHA512 f692bc33d4d2429b5898153378a8446bb1c950e3e26f6e7d85dbdb33267fca1077dfb2d552cdc9b9055da50363a175bed79efacefc139b1b198d129d98bf5287 WHIRLPOOL 4b928a075918ccb852b3a7d817ae895a8fded13abee3e35afcf583215d35c768b6e95331113b62769b043ddb525ef865769be2ba31bc21a4126879438b299123
+EBUILD local-time-1.0.1_p20100617.ebuild 1250 SHA256 27a64c8262f99caf35a00972e92b71bd69baa68ce0676a28c42b91dfc2c1f3dc SHA512 84e6217cf0665a396475fb41c17df3e59a08f63284e730c123ca339c1c9c4feda72265ee896536337806f74623e4e0f57b13a099305967a30fdc7e9bf14b1130 WHIRLPOOL 2b8841df79d9a95d785dfe2b3b726436128ed24589a31da2a07d35821857ab0c9d4987b655e7aa1706ce1bc0905506f54f77389904d53137683ce96ca354a689
+EBUILD local-time-1.0.5.ebuild 1215 SHA256 5597f16c654d8adc0ec86e874da0fcb516d25a1fc0ec11d9f3bb99df7fc95b4d SHA512 b49b6849c113b73e8d6d3d39a5e221ee82e4ad9ba9243064d0346383c4cc3f506eb856598f91dd121e1709233e8b6b2abe213498a230b988beb337bbb253e85d WHIRLPOOL b91fad4fa3bfabfc87c6e355f85e5dced1c237adaa474ae07db0449eedcda1dba79b6d1105dda265cdafe81efdee624fcdc3f9633ae8ee03d68088b6260cec63
diff --git a/dev-lisp/local-time/files/1.0.5-gentoo-use-system-zonedata.patch b/dev-lisp/local-time/files/1.0.5-gentoo-use-system-zonedata.patch
new file mode 100644
index 00000000..e8a5b62c
--- /dev/null
+++ b/dev-lisp/local-time/files/1.0.5-gentoo-use-system-zonedata.patch
@@ -0,0 +1,27 @@
+diff -Nuar a/src/local-time.lisp b/src/local-time.lisp
+--- a/src/local-time.lisp 2014-12-05 03:01:37.000000000 +0100
++++ b/src/local-time.lisp 2015-04-27 11:12:05.317886065 +0200
+@@ -91,22 +91,7 @@
+ (defvar *default-timezone*)
+
+ (defparameter *default-timezone-repository-path*
+- (flet ((try (project-home-directory)
+- (when project-home-directory
+- (ignore-errors
+- (truename
+- (merge-pathnames "zoneinfo/"
+- (make-pathname :directory (pathname-directory project-home-directory))))))))
+- (or (when (find-package "ASDF")
+- (let ((path (eval (read-from-string
+- "(let ((system (asdf:find-system :local-time nil)))
+- (when system
+- (asdf:component-pathname system)))"))))
+- (try path)))
+- (let ((path (or #.*compile-file-truename*
+- *load-truename*)))
+- (when path
+- (try (merge-pathnames "../" path)))))))
++ #p"/usr/share/zoneinfo/")
+
+ ;;; Per Naggum we use the terms Political Time and Scientific Time to
+ ;;; distinguish between two ways to think about adjusting times around
diff --git a/dev-lisp/local-time/local-time-1.0.5.ebuild b/dev-lisp/local-time/local-time-1.0.5.ebuild
new file mode 100644
index 00000000..2f8720d3
--- /dev/null
+++ b/dev-lisp/local-time/local-time-1.0.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+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="https://common-lisp.net/project/${PN}/${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 )"
+
+install_postgresql_files() {
+ common-lisp-install-sources src/integration/cl-postgres.lisp
+ common-lisp-install-asdf cl-postgres+local-time.asd
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gentoo-use-system-zonedata.patch
+}
+
+src_compile() {
+ cd doc
+ 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/*.lisp test
+ common-lisp-install-asdf local-time.asd local-time.test.asd
+
+ use postgres && install_postgresql_files
+ dodoc CREDITS README TODO
+ doinfo doc/${PN}.info
+ use doc && dodoc doc/${PN}.pdf
+}