Skip to content

Commit

Permalink
[sdformat6] Migrate from Bitbucket to GitHub 🤖 (#10859)
Browse files Browse the repository at this point in the history
* [sdformat6] Migrate from Bitbucket to GitHub

As announced in https://community.gazebosim.org/t/important-gazebo-and-ignition-are-going-to-github/533,
the sdformat repository has been migrated from Bitbucket to GitHub.

This commit also updates the hash as apparently the archive generated by GitHub is slightly different
from the one generated by Bitbucket.

* Cleanup of sdformat6 port

* Commit to fixup
  • Loading branch information
traversaro authored Apr 21, 2020
1 parent 84cf4b3 commit 7873205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion ports/sdformat6/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Source: sdformat6
Version: 6.2.0
Version: 6.2.0-1
Homepage: http://sdformat.org/
Build-Depends: boost-any, boost-variant, ignition-math4, urdfdom, tinyxml
Description: Simulation Description Format (SDF) parser and description files.
Supports: !(arm|uwp)
11 changes: 4 additions & 7 deletions ports/sdformat6/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include(vcpkg_common_functions)
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")

vcpkg_from_bitbucket(
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO osrf/sdformat
REF sdformat6_6.2.0
SHA512 3e3934010438bffbf10c1df29bd486c098e3c1bdf2b0349b69a53fb6f4d2bd3b3c8c4b4a8dfb413da13a638c0794f41c1bff4adb11a889b1552d90ba8b94c495
SHA512 3d139ec4b4c9fbfd547ed8bfca0adb5cdca92c1b7cc4d4b554a7c51ccf755b9079c26a006ebfedc5bc5b1ba5e16ad950bb38c47ea97bf97e59a2fd7d12d60620
HEAD_REF sdf6
)

Expand Down Expand Up @@ -49,7 +49,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/share)

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/sdformat6 RENAME copyright)

# Post-build test for cmake libraries
vcpkg_test_cmake(PACKAGE_NAME SDFormat)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

0 comments on commit 7873205

Please sign in to comment.