From b05fe02703b4dcef51a5a616cd6a498d48b00d0c Mon Sep 17 00:00:00 2001 From: Kris Jusiak Date: Thu, 1 Apr 2021 11:33:58 -0600 Subject: [bext-di] Rename `boost-di` to `bext-di` (#16302) * Rename `boost-di` to `di` Problem: - `boost-di` is not an official Boost library and it shouldn't use boost name. Solution: - Rename it to `di` instead. * Update the port name to bext-di * Update the version Co-authored-by: Kris Jusiak Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> --- ports/bext-di/portfile.cmake | 17 +++++++++++++++++ ports/bext-di/vcpkg.json | 6 ++++++ ports/boost-di/portfile.cmake | 17 ----------------- ports/boost-di/vcpkg.json | 6 ------ versions/b-/bext-di.json | 9 +++++++++ versions/baseline.json | 4 ++++ 6 files changed, 36 insertions(+), 23 deletions(-) create mode 100644 ports/bext-di/portfile.cmake create mode 100644 ports/bext-di/vcpkg.json delete mode 100644 ports/boost-di/portfile.cmake delete mode 100644 ports/boost-di/vcpkg.json create mode 100644 versions/b-/bext-di.json diff --git a/ports/bext-di/portfile.cmake b/ports/bext-di/portfile.cmake new file mode 100644 index 000000000..8b123db7d --- /dev/null +++ b/ports/bext-di/portfile.cmake @@ -0,0 +1,17 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO boost-ext/di + REF 6078f073feb8560127fbf0308b3794a551146252 # v1.2.0 + SHA512 d7876b10b0365a92095ee7edefdc9cb9a0e237baf2bad124a927f22ed6ec30e18802b20517bc032184f39b7b4d71f44e965bdcea074646871d0194bd4e851d43 + HEAD_REF cpp14 +) + +file(INSTALL ${SOURCE_PATH}/include/boost + DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +vcpkg_download_distfile(LICENSE + URLS http://www.boost.org/LICENSE_1_0.txt + FILENAME "di-copyright" + SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 +) +file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/bext-di/vcpkg.json b/ports/bext-di/vcpkg.json new file mode 100644 index 000000000..3278462b4 --- /dev/null +++ b/ports/bext-di/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "bext-di", + "version-string": "1.2.0", + "description": "C++14 Dependency Injection Library.", + "homepage": "https://github.com/boost-ext/di" +} diff --git a/ports/boost-di/portfile.cmake b/ports/boost-di/portfile.cmake deleted file mode 100644 index 936eefcee..000000000 --- a/ports/boost-di/portfile.cmake +++ /dev/null @@ -1,17 +0,0 @@ -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO boost-ext/di - REF 6078f073feb8560127fbf0308b3794a551146252 # v1.2.0 - SHA512 d7876b10b0365a92095ee7edefdc9cb9a0e237baf2bad124a927f22ed6ec30e18802b20517bc032184f39b7b4d71f44e965bdcea074646871d0194bd4e851d43 - HEAD_REF cpp14 -) - -file(INSTALL ${SOURCE_PATH}/include/boost - DESTINATION ${CURRENT_PACKAGES_DIR}/include) - -vcpkg_download_distfile(LICENSE - URLS http://www.boost.org/LICENSE_1_0.txt - FILENAME "boost-di-copyright" - SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 -) -file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/boost-di/vcpkg.json b/ports/boost-di/vcpkg.json deleted file mode 100644 index d1250851d..000000000 --- a/ports/boost-di/vcpkg.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "boost-di", - "version-string": "1.2.0", - "description": "C++14 Dependency Injection Library.", - "homepage": "https://github.com/boost-ext/di" -} diff --git a/versions/b-/bext-di.json b/versions/b-/bext-di.json new file mode 100644 index 000000000..d0526b9c9 --- /dev/null +++ b/versions/b-/bext-di.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "a77676231f3c6c3fe9c145bfe670cfae495fb8ac", + "version-string": "1.2.0", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 371438908..2ca9b999d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -332,6 +332,10 @@ "baseline": "4.8.30", "port-version": 5 }, + "bext-di": { + "baseline": "1.2.0", + "port-version": 0 + }, "bfgroup-lyra": { "baseline": "1.5", "port-version": 1 -- cgit v1.2.3