From aa43b9c7ae94f904aaf46dfde66d5e2bd7af6107 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Wed, 2 Sep 2020 09:01:07 -0700 Subject: [PATCH] [json5-parser] update source for json5-parser from BitBucket to GitHub. (#13289) Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> --- ports/json5-parser/CONTROL | 5 +++-- ports/json5-parser/portfile.cmake | 12 +++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ports/json5-parser/CONTROL b/ports/json5-parser/CONTROL index 891aa1c713c..99041602192 100644 --- a/ports/json5-parser/CONTROL +++ b/ports/json5-parser/CONTROL @@ -1,5 +1,6 @@ Source: json5-parser -Version: 1.0.0-1 -Homepage: https://bitbucket.org/wlandry/json5_parser +Version: 1.0.0 +Port-Version: 2 +Homepage: https://github.com/Caltech-IPAC/json5_parser Description: An enhancement of the JSON Spirit C++ library to understand json5. Build-Depends: boost-spirit diff --git a/ports/json5-parser/portfile.cmake b/ports/json5-parser/portfile.cmake index 18ac091bb56..79e4d1afc68 100644 --- a/ports/json5-parser/portfile.cmake +++ b/ports/json5-parser/portfile.cmake @@ -1,12 +1,10 @@ -include(vcpkg_common_functions) - vcpkg_check_linkage(ONLY_STATIC_LIBRARY) -vcpkg_from_bitbucket( +vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH - REPO wlandry/json5_parser - REF 1.0.0 - SHA512 105d0cccb28dd9045c06d73ab1e98a5e744ffdb38310a4581b8f1517b0edffb2cba424dc557a3490dfdcd4627d3bd1c6850eb38f588e1627dcab1de120d70717 + REPO Caltech-IPAC/json5_parser + REF 580bfe30c5ee5e06a0f536d7bddb75c07a29eda6 # 1.0.0 + SHA512 25cdbc02ed2e3b05f0644c3398230ab82ede093ed6f7d8f140a9810509dd05feab1187d62fc38818725a92c47029fe3dc5ecfdbe14e1e0a2ef314e925b369d59 HEAD_REF master PATCHES 00001-fix-build.patch ) @@ -23,4 +21,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/json5-parser) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) -configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/json5-parser/copyright COPYONLY) +configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)