pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/dateutils (pkgsrc)
details: https://anonhg.NetBSD.org/pkgsrc/rev/68b8f98b8dbf
branches: trunk
changeset: 643363:68b8f98b8dbf
user: mef <mef%pkgsrc.org@localhost>
date: Mon Dec 15 08:45:47 2014 +0000
description:
(pkgsrc)
- MASTER_SITES moved
- DIST_SUBDIR is now used.
- pre-configure:, post-build: added for Makefile
- Some tweak added (post-build: etc) to get similar PLIST (as of 0.2.6)
(upstream)
Update 0.2.6 to 0.3.1
From: http://www.fresse.org/dateutils/changelog.html
v0.3.1
------------------------
This is a bugfix release.
Bugfixes:
- octave/matlab code is distributed fully
- negative durations with refined units are minus-signed only once
- ddiff is entirely anticommutative now
- tests don?¢Â?ª®t fail if zones don?¢Â?ª®t exist on the build system
- dseq with empty ranges will no longer produce output (just as seq(1))
- arbitrary integers are not interpreted as time anymore
- when converting from zone info properly clear zone difference for %Z
- dseq(1) will automatically resort to +1mo and +1y iterators for wildcarded ymd dates
- dadd(1)?¢Â?ª®ing ywd dates with output as ymd works properly now
Features:
- ddiff can output nanosecond diffs
- automatic fix-up of dates is documented now
- parser errors and fix ups are reported through return code 2
- dseq with no -f|--format stays in the calendric system of
the start value instead of converting all output to ymd
v0.3.0
------------------------
This is a feature release.
Features:
- dgrep supports time zones both for the expression and the input
- timezones can be specified by alternative codes and tzmap files
- new tool dzone to inspect date/times in multiple timezones in bulk
- new tool dsort to sort input chronologically
- gengetopt and help2man maintainer dependencies removed
- lilian/julian inputs via -i ldn and -i jdn
- ymcw dates now follow ISO 8601 in using 07 to denote Sunday
Bugfixes:
- ddiff takes differences between a unix epoch stamp and a date/time
- zone converter assigns correct sign to zone difference when using %Z
- weekdays are properly calculated from epoch stamps (issue 24)
v0.2.7
--------------------------
This is a feature release.
Features:
- dgrep supports -v|--invert-match like grep
- output specifier %G is supported for compatibility with POSIX
- ddiff calculates year-day differences
- ddiff calculates ISO-week date differences
- ddiff output can be zero and space padded through 0 and SPC modifier
- zoneinfo database on AIX >= 6.1 is taken into account
Bug fixes:
- ddiff can calculate full year differences, issue 21 fixed
- dseq now accepts %W, %V output formats, issue 22 fixed
- builds with clang >= 3.3 work again, clang bug 18028
diffstat:
time/dateutils/Makefile | 50 ++++++++++++++++++++++++++++---
time/dateutils/PLIST | 12 ++++++-
time/dateutils/distinfo | 9 +++--
time/dateutils/patches/patch-Makefile.am | 16 ++++++++++
4 files changed, 75 insertions(+), 12 deletions(-)
diffs (152 lines):
diff -r 10a4cbd0287c -r 68b8f98b8dbf time/dateutils/Makefile
--- a/time/dateutils/Makefile Mon Dec 15 08:36:40 2014 +0000
+++ b/time/dateutils/Makefile Mon Dec 15 08:45:47 2014 +0000
@@ -1,20 +1,58 @@
-# $NetBSD: Makefile,v 1.2 2013/10/31 08:32:55 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2014/12/15 08:45:47 mef Exp $
-DISTNAME= dateutils-0.2.6
+DISTNAME= v0.3.1
+PKGNAME= ${DISTNAME:S/^v/dateutils-/}
CATEGORIES= time
-MASTER_SITES= http://cdn.bitbucket.org/hroptatyr/dateutils/downloads/
-EXTRACT_SUFX= .tar.xz
+MASTER_SITES= http://github.com/hroptatyr/dateutils/archive/
+DIST_SUBDIR= dateutils
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.fresse.org/dateutils/
COMMENT= Command line tools for working with dates
LICENSE= modified-bsd
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config automake autoreconf gmake makeinfo bison flex
+USE_LIBTOOL= yes
-PKGCONFIG_OVERRIDE+= libdut.pc.in
INFO_FILES= yes
TEST_TARGET= check
+INCLUDEDIR= include/${PKGBASE}
+AUTO_MKDIRS= YES
+pre-configure:
+ (cd ${WRKSRC}; autoreconf -i )
+
+post-build:
+ (cd ${WRKSRC}/lib; ${GMAKE})
+
+post-install:
+ (cd ${WRKSRC}/lib; \
+ env DESTDIR=${DESTDIR} ${GMAKE} install-libLIBRARIES)
+# To have the similar PLIST of previous version, installing headers.
+.for i in \
+ boops.h \
+ date-core-strpf.h \
+ date-core.h \
+ dt-core-strpf.h \
+ dt-core-tz-glue.h \
+ dt-core.h \
+ generics.h \
+ gmtime.h \
+ leaps.h \
+ leapseconds.def \
+ leapseconds.h \
+ nifty.h \
+ strops.h \
+ time-core-strpf.h \
+ time-core.h \
+ token.h \
+ tzmap.h \
+ tzraw.h \
+ version.h
+ (cd ${WRKSRC}/lib; ${INSTALL_DATA} ${i} ${DESTDIR}${PREFIX}/${INCLUDEDIR})
+.endfor
+
+.include "../../devel/gperf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 10a4cbd0287c -r 68b8f98b8dbf time/dateutils/PLIST
--- a/time/dateutils/PLIST Mon Dec 15 08:36:40 2014 +0000
+++ b/time/dateutils/PLIST Mon Dec 15 08:45:47 2014 +0000
@@ -1,11 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2013/10/21 15:05:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/12/15 08:45:47 mef Exp $
bin/dadd
bin/dconv
bin/ddiff
bin/dgrep
bin/dround
bin/dseq
+bin/dsort
bin/dtest
+bin/dzone
bin/strptime
include/dateutils/boops.h
include/dateutils/date-core-strpf.h
@@ -14,17 +16,20 @@
include/dateutils/dt-core-tz-glue.h
include/dateutils/dt-core.h
include/dateutils/generics.h
+include/dateutils/gmtime.h
include/dateutils/leaps.h
include/dateutils/leapseconds.def
+include/dateutils/leapseconds.h
include/dateutils/nifty.h
include/dateutils/strops.h
include/dateutils/time-core-strpf.h
include/dateutils/time-core.h
include/dateutils/token.h
+include/dateutils/tzmap.h
include/dateutils/tzraw.h
+include/dateutils/version.h
info/dateutils.info
lib/libdut.a
-lib/pkgconfig/libdut.pc
man/man1/dadd.1
man/man1/dateutils.1
man/man1/dconv.1
@@ -32,6 +37,9 @@
man/man1/dgrep.1
man/man1/dround.1
man/man1/dseq.1
+man/man1/dsort.1
man/man1/dtest.1
+man/man1/dzone.1
man/man1/strptime.1
share/doc/dateutils/README.md
+@pkgdir share/dateutils
diff -r 10a4cbd0287c -r 68b8f98b8dbf time/dateutils/distinfo
--- a/time/dateutils/distinfo Mon Dec 15 08:36:40 2014 +0000
+++ b/time/dateutils/distinfo Mon Dec 15 08:45:47 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2013/10/31 08:32:55 wiz Exp $
+$NetBSD: distinfo,v 1.3 2014/12/15 08:45:47 mef Exp $
-SHA1 (dateutils-0.2.6.tar.xz) = 55709a7a259bf73fb9ff7bb62de7a31a894870ed
-RMD160 (dateutils-0.2.6.tar.xz) = 3b505637bba64a0cc8fbd63935dd63e397b1e1cc
-Size (dateutils-0.2.6.tar.xz) = 485740 bytes
+SHA1 (dateutils/v0.3.1.tar.gz) = 166b94597a112aff0c1bd227c4e2d8f8f5b46f25
+RMD160 (dateutils/v0.3.1.tar.gz) = 4f495a63c619d662fd2894862b9555348386cc0c
+Size (dateutils/v0.3.1.tar.gz) = 247307 bytes
+SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
diff -r 10a4cbd0287c -r 68b8f98b8dbf time/dateutils/patches/patch-Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/dateutils/patches/patch-Makefile.am Mon Dec 15 08:45:47 2014 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.am,v 1.1 2014/12/15 08:45:47 mef Exp $
+
+Previous version (at least 0.27) installs libdut.a, while 0.31
+does not. Add that one.
+
+--- lib/Makefile.am~ 2014-10-07 23:57:32.000000000 +0900
++++ lib/Makefile.am 2014-12-15 16:13:40.000000000 +0900
+@@ -9,7 +9,7 @@
+ noinst_HEADERS =
+ noinst_LIBRARIES =
+ pkgdata_DATA =
+-lib_LIBRARIES =
++lib_LIBRARIES = libdut.a
+ BUILT_SOURCES =
+ CLEANFILES =
+ DISTCLEANFILES =
Home |
Main Index |
Thread Index |
Old Index