Skip to content

Commit

Permalink
[replxx] Update to 0.0.3 (microsoft#20606)
Browse files Browse the repository at this point in the history
* Update replxx to 0.0.3

* Update CI baseline

Co-authored-by: chausner <[email protected]>
  • Loading branch information
chausner and chausner authored Oct 12, 2021
1 parent f904f73 commit 80e863f
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 61 deletions.
17 changes: 0 additions & 17 deletions ports/replxx/add-stdexcept.patch

This file was deleted.

26 changes: 11 additions & 15 deletions ports/replxx/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO AmokHuginnsson/replxx
REF 45696c250ce39ab21dedeea962b94d7827007a8c
SHA512 7beec508fa3049fe5a736a487728506d646d26d7194ef7453fc07bceade1982430808fab0a10ca9b1c43a8b87bf3a973f5cfe4aa22ed06927647c9a7244167fd
HEAD_REF master
PATCHES
add-stdexcept.patch
OUT_SOURCE_PATH SOURCE_PATH
REPO AmokHuginnsson/replxx
REF release-0.0.3
SHA512 039812B65D96C44907105D409E608132A115314BEA8616F79DA928BFEECEBFF64381F063D7B1C971B61C449FA24552E001767D61C57F65AF9EBD8F0B3AC62B18
HEAD_REF master
)

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

vcpkg_install_cmake()

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/replxx")
vcpkg_copy_pdbs()

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

file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/replxxConfig.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
20 changes: 0 additions & 20 deletions ports/replxx/replxxConfig.cmake

This file was deleted.

4 changes: 0 additions & 4 deletions ports/replxx/usage

This file was deleted.

15 changes: 12 additions & 3 deletions ports/replxx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"name": "replxx",
"version-string": "0.0.2",
"port-version": 3,
"version": "0.0.3",
"description": "A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters.",
"homepage": "https://github.com/AmokHuginnsson/replxx",
"supports": "!uwp"
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5829,8 +5829,8 @@
"port-version": 1
},
"replxx": {
"baseline": "0.0.2",
"port-version": 3
"baseline": "0.0.3",
"port-version": 0
},
"reproc": {
"baseline": "14.2.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/replxx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e6d52564217b918d799280703fdfde6e600272d4",
"version": "0.0.3",
"port-version": 0
},
{
"git-tree": "5e56bb5dd211e60671da16308a06e0738b7854c2",
"version-string": "0.0.2",
Expand Down

0 comments on commit 80e863f

Please sign in to comment.