Skip to content

Commit

Permalink
pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 20, 2024
1 parent 093a3b1 commit c0b1dc1
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ports/py-pycodestyle/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 pycodestyle
VERSION ${VERSION}
SHA512 e2a5a10723a2606e49674c4782b50f65ad4d02238e9251fff3d8cf4332cc8df665740265b687a3ec3f9e1e5e03e5787bb82c599ba31dc3c408f32bab353cef71
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

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

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
17 changes: 17 additions & 0 deletions ports/py-pycodestyle/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "py-pycodestyle",
"version": "2.12.1",
"description": "Python style guide checker",
"homepage": "https://pycodestyle.pycqa.org/",
"dependencies": [
{
"name": "py-setuptools",
"host": true
},
"python3",
{
"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 @@ -140,6 +140,10 @@
"baseline": "2.9.9",
"port-version": 2
},
"py-pycodestyle": {
"baseline": "2.12.1",
"port-version": 0
},
"py-pyparsing": {
"baseline": "3.1.1",
"port-version": 2
Expand Down
9 changes: 9 additions & 0 deletions versions/p-/py-pycodestyle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "791d70831b9e668e39eb6c4a5cb89f04128d3339",
"version": "2.12.1",
"port-version": 0
}
]
}

0 comments on commit c0b1dc1

Please sign in to comment.