summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2016-12-01 17:10:40 +0100
committerChema Alonso Josa <nimiux@gentoo.org>2018-03-09 22:33:53 +0100
commitac852e9a409adb18c062f2c442a59f2ee15bd946 (patch)
tree3ea73c0fc3c2640f488c9e7a77797ffc3d9537b9 /dev-lisp
parentdev-lisp/local-time: Updates header (diff)
downloadlisp-ac852e9a409adb18c062f2c442a59f2ee15bd946.tar.gz
lisp-ac852e9a409adb18c062f2c442a59f2ee15bd946.tar.bz2
lisp-ac852e9a409adb18c062f2c442a59f2ee15bd946.zip
dev-lisp/local-time: Bumps version to 1.0.6
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/local-time/Manifest3
-rw-r--r--dev-lisp/local-time/files/local-time-1.0.6-use-system-zonedata.patch27
-rw-r--r--dev-lisp/local-time/local-time-1.0.6.ebuild49
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-lisp/local-time/Manifest b/dev-lisp/local-time/Manifest
index 277e8d30..2c8df00e 100644
--- a/dev-lisp/local-time/Manifest
+++ b/dev-lisp/local-time/Manifest
@@ -1,6 +1,9 @@
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
+AUX local-time-1.0.6-use-system-zonedata.patch 1139 SHA256 292d1fdf218916ea29221eadcdf647b69810551f8a0736a9739a1531f2c72059 SHA512 0396077d2aaab0cbedd10b0ce4d71b6100cc825a8611de30780c9a4eae3dcf5b84869ea0b5e891fc70ab3591a07e1f581dbef58f2d189ee2e7ec04a094d7128b WHIRLPOOL 3c7048a415cb149602b25fee4eed6234bbeaed14382d81d362cdc9275841b4156d6f0ec89bf6fd259ee5b27b6dd04469a6c33ed3b1acd2830dcee3897318db9a
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
+DIST v1.0.6.tar.gz 281165 SHA256 cfc78d4422c88af2cd68c887126fa8766239dd29a332c77351770a13165de519 SHA512 f30b9024afce1856da8b38d1121536aea65c5e7f4ec02e25be4aa6f69f2b579f659e11d52af9c2c797a5be8021e8c951bccdac8a2059c17e3ae95cd60df46762 WHIRLPOOL 021d68f4484475b1dd50602d114735bae7846921ff6f4e91943a168483b2387e7956a9d4f29fff1bf38bb1c643d7b259685b70d750ffb90134c7714d0c0439f4
EBUILD local-time-1.0.1_p20100617.ebuild 1245 SHA256 8dbd8f6da10ff4a06fd90d575a800007e1a97fb44dcf8c95eecc7846dff62e75 SHA512 ba7383f1e777317143fcd3d0faad19ac06d21085233862d1a6fecabcb5b5d6bfb6c0f36b4ec39a6d64c2d0e523bc69c7fce232fedf9fa298a1b40ce6f5e973d4 WHIRLPOOL 91522da70cd2f31f02b4612219f73649dd6299cc82a35e5d7fbcaa38c55e28831ce46e17d9a71fd767c3e089137892de14ef848de3ff6f345b5db78c5688707f
EBUILD local-time-1.0.5.ebuild 1209 SHA256 da1cfe28763517f9fc77ffa907943686178a53e0214277b321531bbc0f8997ff SHA512 9f18762012f2fa4d972fd94e8bb2dbe4ad899fa13ed32388d738bf3b269f0982e42ea71b5026ccc5002726639cb302c9fed72dd4900b378d260520f499c7d879 WHIRLPOOL 1cd677192da6d11ddb9bf06af1a19e9341ea212ad30e5f430bdb57a1eb41e3e013fa0d84c98ab4c312dc9687ce8dad6bd27379ad28ad231b3594c6f4c0e05ea5
+EBUILD local-time-1.0.6.ebuild 1179 SHA256 260ca814a7f4f85726a452b91ed8816b9a21ed5bc3d6d4f8265a093cd2596ff3 SHA512 5f5df3b7bad8797189d911f0af1b24d502a3dc3abf4794ca5323afdd3b001effff384cda5e3b6dac5d4b9f767680669da10ddaca606c4272580647021f56a82a WHIRLPOOL deccd69032021188b725eccea33e46f0f3fd23f363cc72eb5f102ca0ae25a82702884221188f44102418d21ac95a92f33183cab525c77265e524c88f9827ca7d
diff --git a/dev-lisp/local-time/files/local-time-1.0.6-use-system-zonedata.patch b/dev-lisp/local-time/files/local-time-1.0.6-use-system-zonedata.patch
new file mode 100644
index 00000000..19c5e133
--- /dev/null
+++ b/dev-lisp/local-time/files/local-time-1.0.6-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 2015-05-27 13:13:43.000000000 +0200
++++ b/src/local-time.lisp 2016-12-01 17:00:46.440002481 +0100
+@@ -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/")
+
+ ;;; Month information
+ (defparameter +month-names+
diff --git a/dev-lisp/local-time/local-time-1.0.6.ebuild b/dev-lisp/local-time/local-time-1.0.6.ebuild
new file mode 100644
index 00000000..b816e2c8
--- /dev/null
+++ b/dev-lisp/local-time/local-time-1.0.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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://github.com/dlowe-net/${PN}/archive/v${PV}.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}"/${P}-use-system-zonedata.patch
+ default
+}
+
+src_compile() {
+ if use doc ; then
+ cd doc || die
+ VARTEXFONTS="${T}"/fonts \
+ texi2pdf ${PN}.texinfo -o ${PN}.pdf || die
+ 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
+ use doc && dodoc doc/${PN}.pdf
+}