Skip to content

Commit

Permalink
[pybind11] Update to 2.10.2 (microsoft#29950)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBlack authored Mar 1, 2023
1 parent 2c3f7b4 commit 728d28b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 2 additions & 3 deletions ports/pybind11/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pybind/pybind11
REF "v${VERSION}"
SHA512 040f109ec870516acdaebc5133ccbba9e3ed7ff93214a66997cf4b8366c209322f3c902c283040826c7e585c3ea2259caf62d90d0b475bfa33d21e459dd54df1
SHA512 051c2608c37612e857c00ac48429d1c26c14336f20988fb447df25b345b28c5b97ccb80f4227c54de4ef2bd4f8ea3d550acc4a5bb2dd86d65dc1915fdca36719
HEAD_REF master
)

Expand All @@ -27,5 +27,4 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/pybind11/pybind11Tools.cmake
[=[find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} MODULE REQUIRED ${_pybind11_quiet})]=]
[=[find_package(PythonLibs ${PYBIND11_PYTHON_VERSION} MODULE REQUIRED ${_pybind11_quiet})]=]) # CMake's PythonLibs works better with vcpkg

# copy license
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
2 changes: 1 addition & 1 deletion ports/pybind11/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pybind11",
"version": "2.10.1",
"version": "2.10.2",
"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",
"homepage": "https://github.com/pybind/pybind11",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6245,7 +6245,7 @@
"port-version": 0
},
"pybind11": {
"baseline": "2.10.1",
"baseline": "2.10.2",
"port-version": 0
},
"pystring": {
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/pybind11.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "af5e32ffd90fcd1583c27138cce6faba792d779f",
"version": "2.10.2",
"port-version": 0
},
{
"git-tree": "3d37cf3a4dcdb06b0ea273724079574dc4be12e3",
"version": "2.10.1",
Expand Down

0 comments on commit 728d28b

Please sign in to comment.