aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-05-10 04:56:38 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-05-10 04:56:38 +0000
commit84a4428ef729f39390c727b387b19e731d6f7ae0 (patch)
tree5f1ef0deeb63cc061be141ddc5a5551aed833fb8
parentc4e1bb6459e967ef6f62acc036cc2634670098f0 (diff)
downloadports-84a4428ef729f39390c727b387b19e731d6f7ae0.tar.gz
ports-84a4428ef729f39390c727b387b19e731d6f7ae0.zip
devel/range-v3: Update 0.10.0 -> 0.11.0
Changelog: https://github.com/ericniebler/range-v3/releases/tag/0.11.0 Also: * Replace TEST option with 'test' target * Remove EXAMPLES option, add 'build-examples' target instead PR: 255505 Approved by: henry.hu.sh@gmail.com (maintainer)
-rw-r--r--devel/range-v3/Makefile26
-rw-r--r--devel/range-v3/distinfo6
-rw-r--r--devel/range-v3/pkg-plist6
3 files changed, 23 insertions, 15 deletions
diff --git a/devel/range-v3/Makefile b/devel/range-v3/Makefile
index e2599b4d95ff..2ecc6221abf5 100644
--- a/devel/range-v3/Makefile
+++ b/devel/range-v3/Makefile
@@ -1,5 +1,5 @@
PORTNAME= range-v3
-DISTVERSION= 0.10.0
+DISTVERSION= 0.11.0
CATEGORIES= devel
MAINTAINER= henry.hu.sh@gmail.com
@@ -9,21 +9,27 @@ LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake compiler:c++11-lang
+
USE_GITHUB= yes
GH_ACCOUNT= ericniebler
-NO_ARCH= yes
-OPTIONS_DEFINE= TESTS EXAMPLES
-OPTIONS_DEFAULT=
+CMAKE_OFF= RANGE_V3_TESTS RANGE_V3_EXAMPLES
-# See issue 1321, 1441, etc.
-TESTS_DESC= Build tests (fail with clang 9.0)
-EXAMPLES_DESC= Build examples
-
-TESTS_CMAKE_BOOL= RANGE_V3_TESTS
-EXAMPLES_CMAKE_BOOL= RANGE_V3_EXAMPLES
+NO_ARCH= yes
post-install:
@${RM} ${STAGEDIR}${PREFIX}/include/module.modulemap
+do-test:
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DRANGE_V3_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+
+build-examples: build
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DRANGE_V3_EXAMPLES:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET}
+
+
.include <bsd.port.mk>
diff --git a/devel/range-v3/distinfo b/devel/range-v3/distinfo
index 7498d4ef4e9d..892a1fe4c6f2 100644
--- a/devel/range-v3/distinfo
+++ b/devel/range-v3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1583123384
-SHA256 (ericniebler-range-v3-0.10.0_GH0.tar.gz) = 5a1cd44e7315d0e8dcb1eee4df6802221456a9d1dbeac53da02ac7bd4ea150cd
-SIZE (ericniebler-range-v3-0.10.0_GH0.tar.gz) = 525765
+TIMESTAMP = 1619769312
+SHA256 (ericniebler-range-v3-0.11.0_GH0.tar.gz) = 376376615dbba43d3bef75aa590931431ecb49eb36d07bb726a19f680c75e20c
+SIZE (ericniebler-range-v3-0.11.0_GH0.tar.gz) = 533136
diff --git a/devel/range-v3/pkg-plist b/devel/range-v3/pkg-plist
index 80eb2919eea1..abe91e64c1c2 100644
--- a/devel/range-v3/pkg-plist
+++ b/devel/range-v3/pkg-plist
@@ -1,3 +1,4 @@
+include/concepts/compare.hpp
include/concepts/concepts.hpp
include/concepts/swap.hpp
include/concepts/type_traits.hpp
@@ -121,13 +122,14 @@ include/range/v3/all.hpp
include/range/v3/at.hpp
include/range/v3/back.hpp
include/range/v3/begin_end.hpp
+include/range/v3/compare.hpp
include/range/v3/core.hpp
include/range/v3/data.hpp
include/range/v3/detail/adl_get.hpp
include/range/v3/detail/config.hpp
-include/range/v3/detail/disable_warnings.hpp
+include/range/v3/detail/epilogue.hpp
+include/range/v3/detail/prologue.hpp
include/range/v3/detail/range_access.hpp
-include/range/v3/detail/reenable_warnings.hpp
include/range/v3/detail/satisfy_boost_range.hpp
include/range/v3/detail/variant.hpp
include/range/v3/detail/with_braced_init_args.hpp