Skip to content

Commit 2974b8b

Browse files
committed
[eraser] Update to 2.3.0
1 parent 4ba97a6 commit 2974b8b

File tree

5 files changed

+39
-3
lines changed

5 files changed

+39
-3
lines changed

ports/eraser/portfile.cmake

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@ vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO Curve/eraser
44
REF "v${VERSION}"
5-
SHA512 f0cc02d1bc643239ed648006db0c13e704e803537060930080b2cdd692fa09082a5d73dc7487a6c4e5aa95d0a7bf6fd4623ee8567ebd152c20221a9c8fa0f7eb
5+
SHA512 5c43cb2af7a42f4eb6c1b5f76ce36315f093cd8d2e3aa7873da7d1a1d188df3515e0e63b9ba8fd7418d9b62c3bc80fa1ec7548535fb69e3f36873eede682af4b
66
HEAD_REF master
7+
PATCHES
8+
remove-cpm.patch
79
)
810

11+
# Replace CPM and download PackageProject directly to avoid issues with FETCHCONTENT_FULLY_DISCONNECTED
12+
vcpkg_from_github(
13+
OUT_SOURCE_PATH PACKAGE_PROJECT_PATH
14+
REPO TheLartians/PackageProject.cmake
15+
REF "v1.13.0"
16+
SHA512 3cf0523bddc213f206ed0ca57803550cb7db9e293392d3741138be47f49d9027ef517e1656235a349a62b492d35c3fc677714dc00afe59e2d36144a9689cfa8f
17+
HEAD_REF master
18+
)
19+
file(RENAME "${PACKAGE_PROJECT_PATH}" "${SOURCE_PATH}/cmake/packageproject.cmake")
20+
921
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
1022
vcpkg_cmake_install()
1123

ports/eraser/remove-cpm.patch

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index 3e7e973..99adc85 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -39,13 +39,7 @@ endif()
6+
# Install Targets
7+
# --------------------------------------------------------------------------------------------------------
8+
9+
-include("cmake/cpm.cmake")
10+
-
11+
-CPMFindPackage(
12+
- NAME PackageProject
13+
- VERSION 1.13.0
14+
- GIT_REPOSITORY "https://github.com/TheLartians/PackageProject.cmake"
15+
-)
16+
+add_subdirectory(cmake/packageproject.cmake)
17+
18+
packageProject(
19+
NAMESPACE cr

ports/eraser/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eraser",
3-
"version": "2.2.1",
3+
"version": "2.3.0",
44
"description": "A C++20 type-erasure library that supports user defined interfaces",
55
"homepage": "https://github.com/Curve/eraser",
66
"license": "MIT",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@
27532753
"port-version": 0
27542754
},
27552755
"eraser": {
2756-
"baseline": "2.2.1",
2756+
"baseline": "2.3.0",
27572757
"port-version": 0
27582758
},
27592759
"ereignis": {

versions/e-/eraser.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "798245b902a2194d27326f17c398a6a6e1f09373",
5+
"version": "2.3.0",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "c3c24a9ea593a9b5fdebeac8937016c759e0435b",
510
"version": "2.2.1",

0 commit comments

Comments
 (0)