Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required python libs to run np.test() #28

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
14 changes: 14 additions & 0 deletions ports/py-attrs/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO python-attrs/attrs
REF ${VERSION}
SHA512 e96727d68081a761effcdf5a5d62d66902e7f5229879711739fd14d257b7f1c71ddab84309ffeff161bfc4da3a2b130eda4fad920b9f5bc3134bed138d05c16c
HEAD_REF main
)

set(ENV{SETUPTOOLS_SCM_PRETEND_VERSION} "${VERSION}")
vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}" OPTIONS -x)

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
19 changes: 19 additions & 0 deletions ports/py-attrs/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "py-attrs",
"version": "23.1.0",
"description": "Python Classes Without Boilerplate",
"homepage": "https://www.attrs.org/",
"license": "MIT",
"dependencies": [
"py-attrs",
"py-hatch-fancy-pypi-readme",
"py-hatch-vcs",
"py-hatchling",
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
15 changes: 15 additions & 0 deletions ports/py-calver/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

string(REPLACE "-" "." new_version "${VERSION}")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO di/calver
REF ${new_version}
SHA512 4d436cead8930cae1a71eddef9f0ecd2881f8cb632c3814dc75390b061a909e7ca969a604a5fded1c66647947856d540e2180bd3ce4bed5087b4dbc9d5edb393
HEAD_REF master
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
15 changes: 15 additions & 0 deletions ports/py-calver/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "py-calver",
"version-date": "2022-06-26",
"description": "About Setuptools extension for CalVer package versions",
"homepage": "pypi.org/p/calver",
"license": "MIT",
"dependencies": [
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-certifi/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO certifi/python-certifi
REF 2023.07.22
SHA512 72ebe32f284eee5998c08961206564206b2162a38d84484fad9894770394c9a9a20979bd374e687d2978eee681197971dae580ec78f4922e7482b083482bd657
HEAD_REF main
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
16 changes: 16 additions & 0 deletions ports/py-certifi/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "py-certifi",
"version-date": "2023-07-22",
"description": "A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.",
"homepage": "https://github.com/certifi/python-certifi",
"license": null,
"dependencies": [
"py-semantic-version",
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-charset-normalizer/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Ousret/charset_normalizer
REF ${VERSION}
SHA512 52df4ed731fecf2736ce89af3348bdfaec28e2c6bb4526a3e6cb52d9d90db33fb7fc339a91e9b77da1268a879f865a944ddf761de0ce700c156a3e70a9ca88b1
HEAD_REF main
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
15 changes: 15 additions & 0 deletions ports/py-charset-normalizer/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "py-charset-normalizer",
"version": "3.3.2",
"description": "Truly universal encoding detector in pure Python",
"homepage": "https://charset-normalizer.readthedocs.io/en/latest/",
"license": "MIT",
"dependencies": [
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-editables/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pfmoore/editables
REF 87cec30b6bff6aa9d871d74d44e47dbf48e2a6ad
SHA512 e139bbe51772535e7d1bd9a1daeeb2b0df3651997961d0af434c51f0e0c9c846499cf28b1c7ba5c9224e162e25cb4311322a0655ac789888830b28588edd20b2
HEAD_REF master
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
15 changes: 15 additions & 0 deletions ports/py-editables/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "py-editables",
"version": "0.3",
"description": "A Python library for creating editable wheels",
"homepage": "https://github.com/pfmoore/editables",
"license": "MIT",
"dependencies": [
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
14 changes: 14 additions & 0 deletions ports/py-hatch-fancy-pypi-readme/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO hynek/hatch-fancy-pypi-readme
REF ${VERSION}
SHA512 a26b8205877815292c7c65380f3fff43a3222ec5044556a29fb0b570f0822b548f8f4403cb6a800044671692806b257ecee5f9ec0f3efb597e9a5780a8885424
HEAD_REF main
PATCHES
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
16 changes: 16 additions & 0 deletions ports/py-hatch-fancy-pypi-readme/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "py-hatch-fancy-pypi-readme",
"version": "23.1.0",
"description": "Fancy PyPI READMEs with Hatch",
"homepage": "https://github.com/hynek/hatch-fancy-pypi-readme",
"license": "MIT",
"dependencies": [
"py-hatchling",
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-hatch-vcs/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ofek/hatch-vcs
REF v${VERSION}
SHA512 bf40cc371c8d8e120fce83e5986fc2bdc2087fa5a4ac4a407d32617e98205ded79dcb29a00c7638ba68dd5ce09f31e84b34176627a6a34dfb7708031f4c4519a
HEAD_REF main
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
17 changes: 17 additions & 0 deletions ports/py-hatch-vcs/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "py-hatch-vcs",
"version": "0.4.0",
"description": "Hatch plugin for versioning with your preferred VCS",
"homepage": "https://github.com/ofek/hatch-vcs",
"license": "MIT",
"dependencies": [
"py-hatchling",
"py-setuptools",
"py-setuptools-scm",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
14 changes: 14 additions & 0 deletions ports/py-hatch/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pypa/hatch
REF 46a2118ba39c00ca102cf463bdc829301402d05b
SHA512 82cd572e01c8380e938477c2f9588f1e1c172b10e7b85a99715cd299446c9de96973def85f75b868f2458d216582bf6c1120ce005f3bac4a68404c714648214b
HEAD_REF master
)


vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
16 changes: 16 additions & 0 deletions ports/py-hatch/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "py-hatch",
"version": "1.7.0",
"description": "Modern, extensible Python project management",
"homepage": "hatch.pypa.io/latest/",
"license": "MIT",
"dependencies": [
"py-hatchling",
"py-wheel",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
14 changes: 14 additions & 0 deletions ports/py-hatchling/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pypa/hatch
REF hatchling-v${VERSION}
SHA512 e71e51fdace9b9aa276c2efba3a81a030ed934c21283057f83a6ce4a09f8feed8cd4386088280c9fe1381dd92e574daeda8c845a6a2cf6a015708126ca9788d7
HEAD_REF master
)


vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}/backend")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
19 changes: 19 additions & 0 deletions ports/py-hatchling/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "py-hatchling",
"version": "1.18.0",
"description": "Modern, extensible Python project management",
"homepage": "hatch.pypa.io/latest/",
"license": "MIT",
"dependencies": [
"pytest-dev-pluggy",
"py-editables",
"py-pathspec",
"py-trove-classifiers",
"py-wheel",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-hypothesis/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO HypothesisWorks/hypothesis
REF hypothesis-python-${VERSION}
SHA512 5aec60a77e0f0bbeafba07da2dce6896ff66d6074367128694ffb2b86a4d7d225fc1d0f8d938b6dbe9652abc7f8a5bc5b891a7a0bd86cd8955ee8031ef2cba80
HEAD_REF main
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}/hypothesis-python")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
15 changes: 15 additions & 0 deletions ports/py-hypothesis/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "py-hypothesis",
"version": "6.74.0",
"description": "About Hypothesis is a powerful, flexible, and easy to use library for property-based testing.",
"homepage": "https://hypothesis.works/",
"license": "MIT",
"dependencies": [
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-idna/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO kjd/idna
REF v${VERSION}
SHA512 0fc174ef91061e87cf31b7bc2ff7d1cb12167ece10f030fc3820bf27555e9fa498221161e3a0c272635013f4c771fc0e3855f8d968e0146fb5d93f81699f6bce
HEAD_REF main
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
15 changes: 15 additions & 0 deletions ports/py-idna/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "py-idna",
"version": "3.4",
"description": "Internationalized Domain Names for Python (IDNA 2008 and UTS #46)",
"homepage": "https://github.com/kjd/idna",
"license": "Apache-2.0",
"dependencies": [
"py-setuptools",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
14 changes: 14 additions & 0 deletions ports/py-importlib-metadata/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO python/importlib_metadata
REF f604d3e462cd11ee071bfcb78b827fb67cc2e537
SHA512 ea6c3c630deb8aea4fc487f3c2540bd58d2d0b66d828565a8e3e977ec41143c24ef4bc5c39c06c46c9e6efd9f837b090f0d33722471b557d398170ec2ac4cb4d
HEAD_REF main
)

# -x to avoid setuptools_scm cycle.
vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}" OPTIONS -x)

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
14 changes: 14 additions & 0 deletions ports/py-importlib-metadata/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "py-importlib-metadata",
"version": "6.7.0",
"description": "Backport of the importlib.metadata module",
"homepage": "importlib-metadata.readthedocs.io",
"license": "MIT",
"dependencies": [
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}
13 changes: 13 additions & 0 deletions ports/py-iniconfig/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pytest-dev/iniconfig
REF v${VERSION}
SHA512 e474aaa904070ed79dbbd2b4b572574ebb591b97a4ca0f9c4e4aef437af01035d2f73c48bb670afcec2cd8b7ea093b92d6b0c0eca7ba42033418a2b0e0ac80ad
HEAD_REF main
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
Loading