From owner-svn-ports-all@freebsd.org Fri May 17 23:28:53 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08DFE15A261F; Fri, 17 May 2019 23:28:53 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E4768F755; Fri, 17 May 2019 23:28:52 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 749ACF50F; Fri, 17 May 2019 23:28:52 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4HNSqv6059284; Fri, 17 May 2019 23:28:52 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4HNSp2P059277; Fri, 17 May 2019 23:28:51 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201905172328.x4HNSp2P059277@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 17 May 2019 23:28:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501888 - in head/devel: . date X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . date X-SVN-Commit-Revision: 501888 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8E4768F755 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2019 23:28:53 -0000 Author: yuri Date: Fri May 17 23:28:50 2019 New Revision: 501888 URL: https://svnweb.freebsd.org/changeset/ports/501888 Log: New port: devel/date: Date and time library based on the C++11/14/17 header Added: head/devel/date/ head/devel/date/Makefile (contents, props changed) head/devel/date/distinfo (contents, props changed) head/devel/date/pkg-descr (contents, props changed) head/devel/date/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri May 17 22:23:46 2019 (r501887) +++ head/devel/Makefile Fri May 17 23:28:50 2019 (r501888) @@ -435,6 +435,7 @@ SUBDIR += darts SUBDIR += dash.el SUBDIR += datadraw + SUBDIR += date SUBDIR += dbus SUBDIR += dbus-c++ SUBDIR += dbus-glib Added: head/devel/date/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/date/Makefile Fri May 17 23:28:50 2019 (r501888) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= date +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.1-80 +DISTVERSIONSUFFIX= -ged0368f +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Date and time library based on the C++11/14/17 header + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/typeof/boost/chrono/chrono.hpp:devel/boost-libs +LIB_DEPENDS= libcurl.so:ftp/curl +TEST_DEPENDS= bash:shells/bash + +USES= cmake compiler:c++17-lang +USE_GITHUB= yes +GH_ACCOUNT= HowardHinnant +USE_LDCONFIG= yes + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= ENABLE_DATE_TESTING + +do-test: + @cd ${WRKSRC} && ${REINPLACE_CMD} 's|!/bin/bash|!${LOCALBASE}/bin/bash|' compile_fail.sh test_fail.sh + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DENABLE_DATE_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} testit + +.include Added: head/devel/date/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/date/distinfo Fri May 17 23:28:50 2019 (r501888) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558125722 +SHA256 (HowardHinnant-date-v2.4.1-80-ged0368f_GH0.tar.gz) = 4b8f053e9ba717b66829ca0aa4df03eeed68996416bbef17353716cebdf09156 +SIZE (HowardHinnant-date-v2.4.1-80-ged0368f_GH0.tar.gz) = 804032 Added: head/devel/date/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/date/pkg-descr Fri May 17 23:28:50 2019 (r501888) @@ -0,0 +1,22 @@ +This is actually several separate C++11/C++14/C++17 libraries: +* "date.h" is a header-only library which builds upon . It adds some new + duration types, and new time_point types. It also adds "field" types such as + year_month_day which is a struct {year, month, day}. And it provides + convenient means to convert between the "field" types and the time_point + types. +* "tz.h" / "tz.cpp" are a timezone library built on top of the "date.h" library. + This timezone library is a complete parser of the IANA timezone database. It + provides for an easy way to access all of the data in this database, using the + types from "date.h" and . The IANA database also includes data on leap + seconds, and this library provides utilities to compute with that information + as well. +* "iso_week.h" is a header-only library built on top of the "date.h" library + which implements the ISO week date calendar. +* "julian.h" is a header-only library built on top of the "date.h" library which + implements a proleptic Julian calendar which is fully interoperable with + everything above. +* "islamic.h" is a header-only library built on top of the "date.h" library + which implements a proleptic Islamic calendar which is fully interoperable + with everything above. + +WWW: https://github.com/HowardHinnant/date Added: head/devel/date/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/date/pkg-plist Fri May 17 23:28:50 2019 (r501888) @@ -0,0 +1,11 @@ +include/date/chrono_io.h +include/date/date.h +include/date/ios.h +include/date/islamic.h +include/date/iso_week.h +include/date/julian.h +include/date/ptz.h +include/date/tz.h +include/date/tz_private.h +lib/cmake/date/dateConfig.cmake +lib/libtz.so