pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/dateutils Updated time/dateutils to 0.4.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c0076f2b5cd
branches:  trunk
changeset: 378184:1c0076f2b5cd
user:      mef <mef%pkgsrc.org@localhost>
date:      Tue Apr 03 07:09:32 2018 +0000

description:
Updated time/dateutils to 0.4.3

(from: http://www.fresse.org/dateutils/changelog.html)
This is dateutils v0.4.3.
This is a feature release.

Features:
    base expansion works for times now

Bugfixes:
    durations in months weeks and days are calculated like
    durations in months and days, consistency
    am and pm indicators in inputs are handled properly
    military midnights decay when not printed in full

See info page examples and/or README.

diffstat:

 time/dateutils/Makefile                |     10 +-
 time/dateutils/distinfo                |     12 +-
 time/dateutils/patches/patch-configure |  13520 ++++++++++++++++++++++++++++++-
 3 files changed, 13515 insertions(+), 27 deletions(-)

diffs (truncated from 13616 to 300 lines):

diff -r f095990a74bb -r 1c0076f2b5cd time/dateutils/Makefile
--- a/time/dateutils/Makefile   Tue Apr 03 06:14:54 2018 +0000
+++ b/time/dateutils/Makefile   Tue Apr 03 07:09:32 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2016/09/25 21:13:09 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/04/03 07:09:32 mef Exp $
 
-DISTNAME=      dateutils-0.4.0
+DISTNAME=      dateutils-0.4.3
 CATEGORIES=    time
 #MASTER_SITES= ${MASTER_SITE_GITHUB:=hroptatyr/}
 MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
@@ -13,7 +13,7 @@
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 GNU_CONFIGURE= yes
-USE_TOOLS+=    pkg-config gmake makeinfo bison flex
+USE_TOOLS+=    pkg-config automake autoconf gmake makeinfo bison flex
 USE_LIBTOOL=   yes
 MAKE_JOBS_SAFE= no
 
@@ -22,8 +22,8 @@
 INCLUDEDIR=            include/${PKGBASE}
 AUTO_MKDIRS=           YES
 
-post-build:
-       (cd ${WRKSRC}/lib; ${GMAKE})
+pre-configure:
+       (cd ${WRKSRC}; autoreconf -i)
 
 post-install:
        (cd ${WRKSRC}/lib; \
diff -r f095990a74bb -r 1c0076f2b5cd time/dateutils/distinfo
--- a/time/dateutils/distinfo   Tue Apr 03 06:14:54 2018 +0000
+++ b/time/dateutils/distinfo   Tue Apr 03 07:09:32 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.8 2016/09/19 05:33:15 mef Exp $
+$NetBSD: distinfo,v 1.9 2018/04/03 07:09:32 mef Exp $
 
-SHA1 (dateutils-0.4.0.tar.xz) = 7f3ec03b68464f37ea2eb661b569b3352ed66740
-RMD160 (dateutils-0.4.0.tar.xz) = b1efb3742d47ae4d3f2cddb0df88480a40e0d82b
-SHA512 (dateutils-0.4.0.tar.xz) = 06aeed8cc2e8bd22584d74fccd6a9739fbed191a01d5dfb5bab48d5b059dce01d48f8b5f4b6e927e26c1ac2143d7aeed1f20f0415d1275d172f2584ef9d776a9
-Size (dateutils-0.4.0.tar.xz) = 608364 bytes
+SHA1 (dateutils-0.4.3.tar.xz) = a4a4e36ad3042665c8af3222126551b5c6bbb61a
+RMD160 (dateutils-0.4.3.tar.xz) = ab629abea195ca853534bffd18353800ef4a2591
+SHA512 (dateutils-0.4.3.tar.xz) = 0210ad1f47aec77b8b87a520da9155430b52068e53733ef7bb26dfa10e8651f2190171537d4317adf888733e9377f961d5ed070efacd8ca18139225fa8c185ca
+Size (dateutils-0.4.3.tar.xz) = 631216 bytes
 SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
 SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a
-SHA1 (patch-configure) = abb72e6c1ff9e9aca1bd20ee57b779667c8ecc29
+SHA1 (patch-configure) = 09afa4f5237d8bc20a0585e97d616f0830f80d7c
 SHA1 (patch-m4_sxe-compiler.m4) = 8df17f891ba18ff54555e302388f0fe184fa33bc
diff -r f095990a74bb -r 1c0076f2b5cd time/dateutils/patches/patch-configure
--- a/time/dateutils/patches/patch-configure    Tue Apr 03 06:14:54 2018 +0000
+++ b/time/dateutils/patches/patch-configure    Tue Apr 03 07:09:32 2018 +0000
@@ -1,17 +1,14 @@
-$NetBSD: patch-configure,v 1.3 2016/09/19 05:33:15 mef Exp $
+$NetBSD: patch-configure,v 1.4 2018/04/03 07:09:32 mef Exp $
 
 Don't create broken or non-portable binaries. This code isn't even
 performance critical.
 
---- configure~ 2016-05-20 17:26:30.000000000 +0900
-+++ configure  2016-09-19 14:20:56.000000000 +0900
-@@ -7735,381 +7735,6 @@ $as_echo_n "checking for preferred warni
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${warnflags}" >&5
- $as_echo "${warnflags}" >&6; }
+--- configure.orig     2018-03-01 18:56:23.000000000 +0900
++++ configure  2018-04-03 15:55:03.039176622 +0900
+@@ -7916,13869 +7916,3 @@ $as_echo "${warnflags}" >&6; }
  
--
--
--
+ 
+ 
 -      case " ${CFLAGS} ${EXTRA_CFLAGS} " in
 -      (*" -O"[0-9]" "*)
 -              ;;
@@ -138,7 +135,7 @@
 -  IFS=$as_save_IFS
 -  test -z "$as_dir" && as_dir=.
 -    for ac_exec_ext in '' $ac_executable_extensions; do
--  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 -    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 -    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 -    break 2
@@ -182,7 +179,7 @@
 -  IFS=$as_save_IFS
 -  test -z "$as_dir" && as_dir=.
 -    for ac_exec_ext in '' $ac_executable_extensions; do
--  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 -    ac_cv_prog_ac_ct_AR="$ac_prog"
 -    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 -    break 2
@@ -238,7 +235,7 @@
 -  IFS=$as_save_IFS
 -  test -z "$as_dir" && as_dir=.
 -    for ac_exec_ext in '' $ac_executable_extensions; do
--  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 -    ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
 -    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 -    break 2
@@ -282,7 +279,7 @@
 -  IFS=$as_save_IFS
 -  test -z "$as_dir" && as_dir=.
 -    for ac_exec_ext in '' $ac_executable_extensions; do
--  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 -    ac_cv_prog_ac_ct_LD="$ac_prog"
 -    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 -    break 2
@@ -384,6 +381,13497 @@
 -
 -
 -
-       SXE_CFLAGS="${SXE_CFLAGS} ${debugflags} ${optiflags} ${warnflags}"
- 
-               ## default flags for needed features
+-      SXE_CFLAGS="${SXE_CFLAGS} ${debugflags} ${optiflags} ${warnflags}"
+-
+-              ## default flags for needed features
+-
+-      XCCFLAG="${XFLAG}"
+-
+-      ## recent gentoos went ballistic again, they compile PIE gcc's
+-      ## but there's no way to turn that misconduct off ...
+-      ## however I've got one report about a working PIE build
+-      ## we'll just check for -nopie here, if it works, we turn it on
+-      ## (and hence PIE off) and hope bug 16 remains fixed
+-              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -nopie" >&5
+-$as_echo_n "checking whether C compiler accepts -nopie... " >&6; }
+-
+-      ## store werror status, then turn -Werror on
+-      save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+-      if ${sxe_cv_c_flag__nopie+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-              sxe_save_FLAGS="${CFLAGS}"
+-              CFLAGS="-nopie"
+-              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+-  eval sxe_cv_c_flag__nopie="yes"
+-else
+-  eval sxe_cv_c_flag__nopie="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-              CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+-      eval sxe_check_flag=$sxe_cv_c_flag__nopie
+-      ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+-      if test "${sxe_check_flag}" = "yes"; then
+-              :
+-              featflags="$featflags -nopie"
+-      else
+-              :
+-
+-      fi
+-
+-
+-      ## icc and gcc related
+-      ## check if some stuff can be staticalised
+-      ## actually requires SXE_WARNFLAGS so warnings would be disabled
+-      ## that affect the outcome of the following tests
+-              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -static-intel" >&5
+-$as_echo_n "checking whether C compiler accepts -static-intel... " >&6; }
+-
+-      ## store werror status, then turn -Werror on
+-      save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+-      if ${sxe_cv_c_flag__static_intel+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-              sxe_save_FLAGS="${CFLAGS}"
+-              CFLAGS="-static-intel"
+-              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+-  eval sxe_cv_c_flag__static_intel="yes"
+-else
+-  eval sxe_cv_c_flag__static_intel="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-              CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+-      eval sxe_check_flag=$sxe_cv_c_flag__static_intel
+-      ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+-      if test "${sxe_check_flag}" = "yes"; then
+-              :
+-
+-              featflags="${featflags} -static-intel"
+-              XCCLDFLAGS="${XCCLDFLAGS} \${XCCFLAG} -static-intel"
+-      else
+-              :
+-              :
+-      fi
+-
+-              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -static-libgcc" >&5
+-$as_echo_n "checking whether C compiler accepts -static-libgcc... " >&6; }
+-
+-      ## store werror status, then turn -Werror on
+-      save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+-      if ${sxe_cv_c_flag__static_libgcc+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-              sxe_save_FLAGS="${CFLAGS}"
+-              CFLAGS="-static-libgcc"
+-              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+-  eval sxe_cv_c_flag__static_libgcc="yes"
+-else
+-  eval sxe_cv_c_flag__static_libgcc="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-              CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+-      eval sxe_check_flag=$sxe_cv_c_flag__static_libgcc
+-      ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+-      if test "${sxe_check_flag}" = "yes"; then
+-              :
+-
+-              featflags="${featflags} -static-libgcc"
+-              XCCLDFLAGS="${XCCLDFLAGS} \${XCCFLAG} -static-libgcc"
+-      else
+-              :
+-              :
+-      fi
+-
+-
+-              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -intel-extensions" >&5
+-$as_echo_n "checking whether C compiler accepts -intel-extensions... " >&6; }
+-
+-      ## store werror status, then turn -Werror on
+-      save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+-      if ${sxe_cv_c_flag__intel_extensions+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-              sxe_save_FLAGS="${CFLAGS}"
+-              CFLAGS="-intel-extensions"
+-              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-



Home | Main Index | Thread Index | Old Index