Skip to content

Commit

Permalink
[hypodermic] added version 2.5.3, updated baseline (#20414)
Browse files Browse the repository at this point in the history
* added 2.5.3, updated baseline

* added quotes and fixed how license installation is done

* updated portfile based on bots recommendations

* Change version-semver to version.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
  • Loading branch information
helynranta and BillyONeal authored Sep 30, 2021
1 parent 25b1d99 commit 25e38b6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
18 changes: 7 additions & 11 deletions ports/hypodermic/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ybainier/Hypodermic
REF 3e86a5a1fd5e8279d6ca461f9f398fa3f3c2eddc # v2.5.2
SHA512 1af2a94037aa5bf8c65aceb4a2e941f7f6d016422d345f86280085115e9bb871387370158b1a83891be8efdadd4eea0a1f8905225ebee64c000ec9023a9f212e
REF 0e0d85d70aa2f2391dfd84f8af4a3863d4fb1611 # v2.5.3
SHA512 6fc3f9eca034a4de3f7086bd51e9ba11ee31c8ec000a3e0bdfc06db1f3c12a89b66793adf5d219441e680541e26acaef72d21f9dd0acf3f5fee3aa12d3fb7b4d
HEAD_REF master
PATCHES
"disable_hypodermic_tests.patch"
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})

vcpkg_install_cmake()
vcpkg_cmake_install()

file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/lib
${CURRENT_PACKAGES_DIR}/debug
"${CURRENT_PACKAGES_DIR}/lib"
"${CURRENT_PACKAGES_DIR}/debug"
)


# Put the license file where vcpkg expects it
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/hypodermic/)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/hypodermic/LICENSE ${CURRENT_PACKAGES_DIR}/share/hypodermic/copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
12 changes: 10 additions & 2 deletions ports/hypodermic/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypodermic",
"version-string": "2.5.2",
"version": "2.5.3",
"description": "Hypodermic is a non-intrusive header only IoC container for C++",
"homepage": "https://github.com/ybainier/Hypodermic",
"license": "MIT",
Expand All @@ -11,6 +11,14 @@
"boost-range",
"boost-signals2",
"boost-system",
"boost-test"
"boost-test",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@
"port-version": 2
},
"hypodermic": {
"baseline": "2.5.2",
"baseline": "2.5.3",
"port-version": 0
},
"hypre": {
Expand Down
5 changes: 5 additions & 0 deletions versions/h-/hypodermic.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5b25c37438cbd5b8c8851c91413e1f671ebe1436",
"version": "2.5.3",
"port-version": 0
},
{
"git-tree": "94648decd2043ffd566f58a1d5c826835bb33aca",
"version-string": "2.5.2",
Expand Down

0 comments on commit 25e38b6

Please sign in to comment.