aboutsummaryrefslogtreecommitdiff
path: root/ports/pybind11
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/pybind11
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/pybind11')
-rw-r--r--ports/pybind11/CONTROL2
-rw-r--r--ports/pybind11/aliastemplates.patch45
-rw-r--r--ports/pybind11/portfile.cmake2
3 files changed, 1 insertions, 48 deletions
diff --git a/ports/pybind11/CONTROL b/ports/pybind11/CONTROL
index acaedef63..4b2ae8ca7 100644
--- a/ports/pybind11/CONTROL
+++ b/ports/pybind11/CONTROL
@@ -1,5 +1,5 @@
Source: pybind11
-Version: 2.3.0
+Version: 2.3.0-1
Homepage: https://github.com/pybind/pybind11
Description: pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code.
Build-Depends: python3 (windows) \ No newline at end of file
diff --git a/ports/pybind11/aliastemplates.patch b/ports/pybind11/aliastemplates.patch
deleted file mode 100644
index a692ad583..000000000
--- a/ports/pybind11/aliastemplates.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 598ec67e4d6727dd9455bcc9959e32fee02a80ac Mon Sep 17 00:00:00 2001
-From: Michael Goulding <Michael.Goulding@microsoft.com>
-Date: Wed, 18 Jul 2018 10:59:15 -0700
-Subject: [PATCH 1/2] VS 15.8.0 Preview 4.0 has a bug with alias templates
-
----
- include/pybind11/detail/common.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h
-index 3c6722891..89d922190 100644
---- a/include/pybind11/detail/common.h
-+++ b/include/pybind11/detail/common.h
-@@ -476,7 +476,7 @@ template <typename...> struct void_t_impl { using type = void; };
- template <typename... Ts> using void_t = typename void_t_impl<Ts...>::type;
-
- /// Compile-time all/any/none of that check the boolean value of all template types
--#ifdef __cpp_fold_expressions
-+#if (!defined(_MSC_VER) || ( _MSC_VER >= 1916 )) && defined(__cpp_fold_expressions)
- template <class... Ts> using all_of = bool_constant<(Ts::value && ...)>;
- template <class... Ts> using any_of = bool_constant<(Ts::value || ...)>;
- #elif !defined(_MSC_VER)
-
-From 7d534251ca67c5e725ed549900f04adeb5ddb99e Mon Sep 17 00:00:00 2001
-From: Michael Goulding <Michael.Goulding@microsoft.com>
-Date: Thu, 19 Jul 2018 10:27:41 -0700
-Subject: [PATCH 2/2] Address feedback
-
----
- include/pybind11/detail/common.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h
-index 89d922190..8d65b260d 100644
---- a/include/pybind11/detail/common.h
-+++ b/include/pybind11/detail/common.h
-@@ -476,7 +476,7 @@ template <typename...> struct void_t_impl { using type = void; };
- template <typename... Ts> using void_t = typename void_t_impl<Ts...>::type;
-
- /// Compile-time all/any/none of that check the boolean value of all template types
--#if (!defined(_MSC_VER) || ( _MSC_VER >= 1916 )) && defined(__cpp_fold_expressions)
-+#if defined(__cpp_fold_expressions) && !(defined(_MSC_VER) && (_MSC_VER < 1916))
- template <class... Ts> using all_of = bool_constant<(Ts::value && ...)>;
- template <class... Ts> using any_of = bool_constant<(Ts::value || ...)>;
- #elif !defined(_MSC_VER)
diff --git a/ports/pybind11/portfile.cmake b/ports/pybind11/portfile.cmake
index 71786016d..e97841d32 100644
--- a/ports/pybind11/portfile.cmake
+++ b/ports/pybind11/portfile.cmake
@@ -6,8 +6,6 @@ vcpkg_from_github(
REF e43e1cc01ae6d4e4e5ba10557a057d7f3d5ece0d
SHA512 546a0501c420cbbb21fb458192bae6c8d34bdd4bdbfe47fed22869e09429d6404b4e399e30c36c6d658bf8002339d051efde33685b03a00797b9cfe476cfb98e
HEAD_REF master
- PATCHES
- ${CMAKE_CURRENT_LIST_DIR}/aliastemplates.patch
)
vcpkg_find_acquire_program(PYTHON3)