Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
./vcpkg/vcpkg install $VCPKG_OPTIONS py-attrs
./vcpkg/vcpkg install $VCPKG_OPTIONS py-beautifulsoup4
./vcpkg/vcpkg install $VCPKG_OPTIONS py-fiona
./vcpkg/vcpkg install $VCPKG_OPTIONS py-pysfcgal
./vcpkg/vcpkg install $VCPKG_OPTIONS py-rasterio
./vcpkg/vcpkg install $VCPKG_OPTIONS py-shapely
./vcpkg/vcpkg install $VCPKG_OPTIONS py-jsonschema
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-attrs
./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-beautifulsoup4
./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-fiona
./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-pysfcgal
./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-rasterio
./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-shapely
# ./vcpkg/vcpkg.exe install $VCPKG_OPTIONS py-jsonschema
Expand Down
22 changes: 22 additions & 0 deletions ports/py-pysfcgal/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
set(VCPKG_BUILD_TYPE release)

vcpkg_from_pythonhosted(
OUT_SOURCE_PATH SOURCE_PATH
PACKAGE_NAME pysfcgal
VERSION ${VERSION}
SHA512 78998df1083a0c657008eee55ebe39cb0841ef7d783996cee0eee0dbee83d607cf467ba7a3edbc92eb1c60480ec1942ba2fded5f301664b6d0169b6624d9cb62
FILENAME pysfcgal
)

set(ENV{INCLUDE_PATH} "${CURRENT_INSTALLED_DIR}/include")
set(ENV{LIBPATH} "${CURRENT_INSTALLED_DIR}/lib")

vcpkg_python_build_and_install_wheel(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

vcpkg_python_test_import(MODULE "pysfcgal")

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
22 changes: 22 additions & 0 deletions ports/py-pysfcgal/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "py-pysfcgal",
"version": "2.3.0",
"description": "Python binding of SFCGAL. SFCGAL is a C++ wrapper library around CGAL with the aim of supporting ISO 191007:2013 and OGC Simple Features for 3D operations.",
"homepage": "https://sfcgal.gitlab.io/pysfcgal/",
"dependencies": [
{
"name": "py-cffi",
"host": true
},
{
"name": "py-setuptools",
"host": true
},
"python3",
"sfcgal",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@
"baseline": "26.1",
"port-version": 2
},
"py-pysfcgal": {
"baseline": "2.3.0",
"port-version": 0
},
"py-pyspnego": {
"baseline": "0.12.1",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/p-/py-pysfcgal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "62944f0d96937253edf81326554feabdea4ee63e",
"version": "2.3.0",
"port-version": 0
}
]
}
Loading