Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 22:40:20 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460857 - in head/science/ALPSCore: . files
Message-ID:  <201802032240.w13MeK46074764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Feb  3 22:40:20 2018
New Revision: 460857
URL: https://svnweb.freebsd.org/changeset/ports/460857

Log:
  science/ALPSCore: Update to 2.1.1
  
  Change log:
  https://github.com/ALPSCore/ALPSCore/releases/tag/v2.1.1
  
  Additional port changes:
  Added DOCS and DOXYGEN port options.
  
  These options are added to be exactly the same way as
  devel/protobuf-c will be after D13651.
  
  IMO, this approach actually has a flaw that it allows
  the meaningless combination DOCS=on and DOXYGEN=off.
  I meant to discuss this further with portmgr@ but
  didn't yet do this.
  
  A better approach would be for DOXYGEN to enable
  PORTDOCS and other necessary bits that DOCS normally
  enables without actually requiring DOCS to be present.
  
  PR:		224162
  Submitted by:	Michael Danilov <mike.d.ft402@gmail.com> (maintainer)
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D14146

Added:
  head/science/ALPSCore/files/
  head/science/ALPSCore/files/patch-common_cmake_UseDoxygen.cmake   (contents, props changed)
Modified:
  head/science/ALPSCore/Makefile
  head/science/ALPSCore/distinfo
  head/science/ALPSCore/pkg-plist

Modified: head/science/ALPSCore/Makefile
==============================================================================
--- head/science/ALPSCore/Makefile	Sat Feb  3 22:31:49 2018	(r460856)
+++ head/science/ALPSCore/Makefile	Sat Feb  3 22:40:20 2018	(r460857)
@@ -2,8 +2,7 @@
 
 PORTNAME=	ALPSCore
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0.0
-PORTREVISION=	1
+DISTVERSION=	2.1.1
 CATEGORIES=	science
 
 MAINTAINER=	mike.d.ft402@gmail.com
@@ -16,25 +15,33 @@ LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libhdf5.so:science/hdf5 \
 		libsz.so:science/szip
 
-USES=		cmake:outsource
+USES=		cmake:outsource eigen:3
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 TEST_TARGET=	test # 2 to 3 tests fail: https://github.com/ALPSCore/ALPSCore/issues/388
 
-CMAKE_ARGS+=	-DDocumentation:BOOL=OFF # broken: https://github.com/ALPSCore/ALPSCore/issues/387
 CMAKE_ARGS+=	-DTesting:BOOL=OFF # enable only for the 'test' target
 CMAKE_ARGS_TEST=	-DTesting:BOOL=ON -DExtensiveTesting:BOOL=ON
 CXXFLAGS+=	-DNDEBUG # see https://github.com/ALPSCore/ALPSCore/issues/389
 LDFLAGS+=	-lexecinfo # https://github.com/ALPSCore/ALPSCore/issues/390
 
-OPTIONS_DEFINE=	OPENMPI2
+OPTIONS_DEFINE=	DOXYGEN DOCS OPENMPI2
 OPTIONS_DEFAULT=	OPENMPI2
 OPENMPI2_DESC=	Parallel processing support via Open MPI 2.x
 
+DOXYGEN_IMPLIES=	DOCS
+DOXYGEN_CMAKE_BOOL=	Documentation
+DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
+
 OPENMPI2_CMAKE_BOOL=	ENABLE_MPI
 OPENMPI2_LIB_DEPENDS=	libmpi.so:net/openmpi2
 OPENMPI2_VARS=		cc=${LOCALBASE}/mpi/openmpi2/bin/mpicc \
 			cxx=${LOCALBASE}/mpi/openmpi2/bin/mpicxx
+
+PORTDOCS=	*
+
+post-install-DOXYGEN-on:
+	@${RM} ${STAGEDIR}${DOCSDIR}/.tag
 
 pre-test:
 	@cd ${CONFIGURE_WRKSRC} && \

Modified: head/science/ALPSCore/distinfo
==============================================================================
--- head/science/ALPSCore/distinfo	Sat Feb  3 22:31:49 2018	(r460856)
+++ head/science/ALPSCore/distinfo	Sat Feb  3 22:40:20 2018	(r460857)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1511560982
-SHA256 (ALPSCore-ALPSCore-v1.0.0_GH0.tar.gz) = 2054f47929f3bdb6a0c07fb70e53194f884cdf6c830b737ed5d24312d060b12a
-SIZE (ALPSCore-ALPSCore-v1.0.0_GH0.tar.gz) = 1277746
+TIMESTAMP = 1516902350
+SHA256 (ALPSCore-ALPSCore-v2.1.1_GH0.tar.gz) = 324dda8e55926fafe9db334621c16cf0fc39edbbc84a857545d5762ff0b61fad
+SIZE (ALPSCore-ALPSCore-v2.1.1_GH0.tar.gz) = 1344236

Added: head/science/ALPSCore/files/patch-common_cmake_UseDoxygen.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/ALPSCore/files/patch-common_cmake_UseDoxygen.cmake	Sat Feb  3 22:40:20 2018	(r460857)
@@ -0,0 +1,11 @@
+--- common/cmake/UseDoxygen.cmake.orig	2018-01-30 05:54:55 UTC
++++ common/cmake/UseDoxygen.cmake
+@@ -134,7 +134,7 @@ if(DOXYGEN_FOUND AND DOXYFILE_IN_FOUND)
+ 
+ 
+ 	configure_file("${DOXYFILE_IN}" "${DOXYFILE}" @ONLY)
+-        install(DIRECTORY ${DOXYFILE_OUTPUT_DIR}/ DESTINATION share/ALPSCore_doc MESSAGE_NEVER)
++        install(DIRECTORY ${DOXYFILE_OUTPUT_DIR}/ DESTINATION share/doc/ALPSCore MESSAGE_NEVER)
+ 
+ 	if(NOT TARGET doc)
+ 		add_custom_target(doc ALL)

Modified: head/science/ALPSCore/pkg-plist
==============================================================================
--- head/science/ALPSCore/pkg-plist	Sat Feb  3 22:31:49 2018	(r460856)
+++ head/science/ALPSCore/pkg-plist	Sat Feb  3 22:40:20 2018	(r460857)
@@ -17,12 +17,14 @@ include/alps/accumulators/wrapper_set.hpp
 include/alps/accumulators/wrappers.hpp
 include/alps/accumulators_.hpp
 include/alps/config.hpp
+include/alps/dictionary.hpp
 include/alps/gf/flagcheck.hpp
 include/alps/gf/fourier.hpp
 include/alps/gf/gf.hpp
 include/alps/gf/grid.hpp
 include/alps/gf/mesh.hpp
 include/alps/gf/mpi_bcast.hpp
+include/alps/gf/piecewise_polynomial.hpp
 include/alps/gf/tail.hpp
 include/alps/hdf5.hpp
 include/alps/hdf5/archive.hpp
@@ -61,15 +63,17 @@ include/alps/numeric/special_functions.hpp
 include/alps/numeric/vector_functions.hpp
 include/alps/params.hpp
 include/alps/params/convenience_params.hpp
-include/alps/params/option_description_type.hpp
-include/alps/params/option_type.hpp
-include/alps/params/param_iterators.hpp
-include/alps/params/param_types.hpp
-include/alps/params/param_types_mpl.hpp
-include/alps/params/param_types_ranking.hpp
-include/alps/params/params_detail.hpp
+include/alps/params/dict_exceptions.hpp
+include/alps/params/dict_types.hpp
+include/alps/params/dict_value.hpp
+include/alps/params/dict_value_impl.hpp
+include/alps/params/hdf5_variant.hpp
+include/alps/params/iniparser_interface.hpp
+include/alps/params/mpi_variant.hpp
 include/alps/params/params_impl.hpp
-include/alps/params/typeindex.hpp
+include/alps/params/serialize_variant.hpp
+include/alps/testing/fp_compare.hpp
+include/alps/testing/unique_file.hpp
 include/alps/type_traits/average_type.hpp
 include/alps/type_traits/change_value_type.hpp
 include/alps/type_traits/covariance_type.hpp
@@ -81,16 +85,19 @@ include/alps/type_traits/is_sequence.hpp
 include/alps/type_traits/slice.hpp
 include/alps/utilities/boost_mpi.hpp
 include/alps/utilities/cast.hpp
-include/alps/utilities/get_basename.hpp
-include/alps/utilities/get_dirname.hpp
+include/alps/utilities/deprecated.hpp
+include/alps/utilities/fs/get_basename.hpp
+include/alps/utilities/fs/get_dirname.hpp
+include/alps/utilities/fs/get_extension.hpp
+include/alps/utilities/fs/remove_extensions.hpp
 include/alps/utilities/gtest_par_xml_output.hpp
 include/alps/utilities/make_copy.hpp
 include/alps/utilities/mpi.hpp
 include/alps/utilities/mpi_map.hpp
 include/alps/utilities/mpi_optional.hpp
+include/alps/utilities/mpi_pair.hpp
 include/alps/utilities/mpi_vector.hpp
 include/alps/utilities/remove_cvr.hpp
-include/alps/utilities/remove_extensions.hpp
 include/alps/utilities/short_print.hpp
 include/alps/utilities/signal.hpp
 include/alps/utilities/size.hpp
@@ -110,7 +117,8 @@ libdata/pkgconfig/alps-hdf5.pc
 libdata/pkgconfig/alps-mc.pc
 libdata/pkgconfig/alps-params.pc
 libdata/pkgconfig/alps-utilities.pc
-share/ALPSCore/ALPSCoreConfig.cmake
+%%DATADIR%%/ALPSCoreConfig.cmake
+%%DATADIR%%/ALPSCoreConfigVersion.cmake
 share/alps-accumulators/alps-accumulators-%%CMAKE_BUILD_TYPE%%.cmake
 share/alps-accumulators/alps-accumulators.cmake
 share/alps-accumulators/alps-accumulatorsConfig.cmake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802032240.w13MeK46074764>