aboutsummaryrefslogtreecommitdiff
path: root/ports/xtensor-io
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2020-01-07 04:57:25 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 12:57:24 -0800
commit38260a7936a1ec1c02c80fb8a593b7b5d6f199ff (patch)
treec1f8314a4e9cd77674e4ded8486e1febd1e64575 /ports/xtensor-io
parent95d989c4a40023f46be66753443789c4a98ea4a4 (diff)
downloadvcpkg-38260a7936a1ec1c02c80fb8a593b7b5d6f199ff.tar.gz
vcpkg-38260a7936a1ec1c02c80fb8a593b7b5d6f199ff.zip
[xsimd][xtensor][xtl] Update to lastest (#9158)
* [xsimd][xtensor][xtl] Update to lastest * [xtensor-io] Disable parallel config * [xsimd][xtensor][xtensor-blas][xtensor-io][xtl] Update to 2019-12-06 * [xsimd][xtensor-blas][xtensor][xtl] Update to lastest * [xsimd][xtensor-blas][xtensor-io][xtensor][xtl] Update to lastest
Diffstat (limited to 'ports/xtensor-io')
-rw-r--r--ports/xtensor-io/CONTROL3
-rw-r--r--ports/xtensor-io/portfile.cmake14
2 files changed, 7 insertions, 10 deletions
diff --git a/ports/xtensor-io/CONTROL b/ports/xtensor-io/CONTROL
index 734c0becf..20d92198d 100644
--- a/ports/xtensor-io/CONTROL
+++ b/ports/xtensor-io/CONTROL
@@ -1,5 +1,6 @@
Source: xtensor-io
-Version: 0.7.0
+Version: 0.9.0
Description: xtensor plugin to read and write images, audio files, numpy (compressed) npz and HDF5
+Homepage: https://github.com/xtensor-stack/xtensor-io
Build-Depends: xtensor, xtl
diff --git a/ports/xtensor-io/portfile.cmake b/ports/xtensor-io/portfile.cmake
index d8cc89a09..d5b85978f 100644
--- a/ports/xtensor-io/portfile.cmake
+++ b/ports/xtensor-io/portfile.cmake
@@ -1,18 +1,17 @@
# header-only library
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
- REPO QuantStack/xtensor-io
- REF 0.7.0
- SHA512 6c8416c595d022ed60cd802deec6d63128d205d6fd13962098b6242ace4fa9e61122e5b05837a1aab3b64bc042da7cbf2f72f2328155c342de3a6db741d4d4ee
+ REPO xtensor-stack/xtensor-io
+ REF 863dd7dad6010038568c169f20e3d3e87bd3b37a # 0.9.0
+ SHA512 f6190c5c2c487a8170e5af1ddfd2e921c414274762dac6c8f9519d579d5eb5dd3683678e7b4f589b7ced8a42f648742755acb42e2122960d6ca7fc1a82b0723e
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
+ DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DBUILD_TESTS=OFF
-DDOWNLOAD_GTEST=OFF
@@ -25,7 +24,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
-# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
-
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)