Skip to content

Commit

Permalink
Merge pull request #54 from open-vcpkg/moreports
Browse files Browse the repository at this point in the history
add py-lxml, py-owslib and py-pytz
  • Loading branch information
m-kuhn authored Oct 18, 2024
2 parents 4003cfe + 69969a8 commit dbfdce7
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ports/py-lxml/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_pythonhosted(
OUT_SOURCE_PATH SOURCE_PATH
PACKAGE_NAME lxml
VERSION ${VERSION}
SHA512 7f8a3717645893bc6f790cc9adfb8fdab91c352dc4dc23c0ccb4af9a0d138acf9ef5054e9786af497955f10079e9242dbd63ea9ac39c33bfd71ca2fe4ef4a7c0
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
vcpkg_python_test_import(MODULE "lxml")

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
19 changes: 19 additions & 0 deletions ports/py-lxml/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "py-lxml",
"version": "5.3.0",
"description": "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.",
"homepage": "https://lxml.de/",
"dependencies": [
"libxml2",
"libxslt",
{
"name": "py-setuptools",
"host": true
},
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-owslib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_pythonhosted(
OUT_SOURCE_PATH SOURCE_PATH
PACKAGE_NAME OWSLib
VERSION ${VERSION}
SHA512 4182ca1df362c2f30bff843d7937c642d730d7d5de312a20d8f2c8396653ee52265218a17fe6ee0777accccc7ebbe6eee94fc7f160dc495015361fe3981907cf
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
vcpkg_python_test_import(MODULE "owslib")

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
17 changes: 17 additions & 0 deletions ports/py-owslib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "py-owslib",
"version": "0.31.0",
"description": "OGC Web Service utility library",
"homepage": "https://owslib.readthedocs.io/",
"dependencies": [
{
"name": "py-setuptools",
"host": true
},
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-pytz/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_pythonhosted(
OUT_SOURCE_PATH SOURCE_PATH
PACKAGE_NAME pytz
VERSION ${VERSION}
SHA512 140a34f51044188420ac3bfbaa5ece91ea0fe4faf7a247c01312265b63b4aa8d2b389219234e173eca0343d0463aef9d6472ee803915ead989594896567c593e
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
vcpkg_python_test_import(MODULE "pytz")

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
17 changes: 17 additions & 0 deletions ports/py-pytz/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "py-pytz",
"version": "2024.2",
"description": "World timezone definitions, modern and historical",
"homepage": "http://pythonhosted.org/pytz",
"dependencies": [
{
"name": "py-setuptools",
"host": true
},
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
12 changes: 12 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
"baseline": "1.4.5",
"port-version": 0
},
"py-lxml": {
"baseline": "5.3.0",
"port-version": 0
},
"py-markupsafe": {
"baseline": "3.0.1",
"port-version": 0
Expand All @@ -92,6 +96,10 @@
"baseline": "1.26.4",
"port-version": 0
},
"py-owslib": {
"baseline": "0.31.0",
"port-version": 0
},
"py-packaging": {
"baseline": "24.1",
"port-version": 1
Expand Down Expand Up @@ -144,6 +152,10 @@
"baseline": "13.8.0",
"port-version": 0
},
"py-pytz": {
"baseline": "2024.2",
"port-version": 0
},
"py-pyyaml": {
"baseline": "6.0.2",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/p-/py-lxml.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "4484db34ac967ae57178fecde9d5b3cd94a551cf",
"version": "5.3.0",
"port-version": 0
}
]
}
9 changes: 9 additions & 0 deletions versions/p-/py-owslib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "e4bcbf7076e370c325e5be3e2ab72235d9020337",
"version": "0.31.0",
"port-version": 0
}
]
}
9 changes: 9 additions & 0 deletions versions/p-/py-pytz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5d6c8dabe465dbeddcbc0c5aa8b4f229b907c1a1",
"version": "2024.2",
"port-version": 0
}
]
}

0 comments on commit dbfdce7

Please sign in to comment.