cppcheck 1.5.1__tar.gz → 1.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. {cppcheck-1.5.1 → cppcheck-1.5.2}/.copier-answers.yml +1 -1
  2. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/cd.yml +1 -1
  3. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/ci.yml +5 -5
  4. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/codeql.yml +2 -2
  5. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/pages.yml +2 -2
  6. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/ports.yml +5 -5
  7. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/renovate.yml +1 -1
  8. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/reuseable_cibuildwheel.yml +7 -7
  9. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/workflows/semantic-release.yml +1 -1
  10. {cppcheck-1.5.1 → cppcheck-1.5.2}/.pre-commit-config.yaml +5 -5
  11. {cppcheck-1.5.1 → cppcheck-1.5.2}/.renovaterc.json +1 -1
  12. {cppcheck-1.5.1 → cppcheck-1.5.2}/CMakeLists.txt +5 -2
  13. {cppcheck-1.5.1 → cppcheck-1.5.2}/PKG-INFO +3 -1
  14. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/triplets/x64-mingw-dynamic.json +2 -1
  15. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/triplets/x64-mingw-static.json +2 -1
  16. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -1
  17. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +10 -5
  18. cppcheck-1.5.2/cmake/vcpkg/ports/cppcheck/portfile.cmake +53 -0
  19. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/ports/cppcheck/vcpkg.json +1 -1
  20. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/export-cmake-targets.patch +23 -0
  21. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/pcre-8.4.5_fix_check_function_exists_for_arm-androi_builds.patch +32 -0
  22. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/pcre-8.45_fix_postfix_for_debug_Windows_builds.patch +161 -0
  23. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch +18 -0
  24. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/portfile.cmake +81 -0
  25. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/unofficial-pcre-config.cmake +1 -0
  26. cppcheck-1.5.2/cmake/vcpkg/ports/pcre/vcpkg.json +18 -0
  27. {cppcheck-1.5.1 → cppcheck-1.5.2}/pyproject.toml +5 -3
  28. cppcheck-1.5.2/src/cppcheck/_version.py +24 -0
  29. {cppcheck-1.5.1 → cppcheck-1.5.2}/vcpkg.json +3 -3
  30. cppcheck-1.5.1/cmake/vcpkg/ports/cppcheck/portfile.cmake +0 -49
  31. cppcheck-1.5.1/src/cppcheck/_version.py +0 -21
  32. {cppcheck-1.5.1 → cppcheck-1.5.2}/.devcontainer/devcontainer.json +0 -0
  33. {cppcheck-1.5.1 → cppcheck-1.5.2}/.editorconfig +0 -0
  34. {cppcheck-1.5.1 → cppcheck-1.5.2}/.gitattributes +0 -0
  35. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/codecov.yml +0 -0
  36. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/codeql-config.yml +0 -0
  37. {cppcheck-1.5.1 → cppcheck-1.5.2}/.github/matchers/pylint.json +0 -0
  38. {cppcheck-1.5.1 → cppcheck-1.5.2}/.gitignore +0 -0
  39. {cppcheck-1.5.1 → cppcheck-1.5.2}/.markdownlint.yaml +0 -0
  40. {cppcheck-1.5.1 → cppcheck-1.5.2}/.pre-commit-hooks.yaml +0 -0
  41. {cppcheck-1.5.1 → cppcheck-1.5.2}/.releaserc.js +0 -0
  42. {cppcheck-1.5.1 → cppcheck-1.5.2}/.vscode/launch.json +0 -0
  43. {cppcheck-1.5.1 → cppcheck-1.5.2}/.vscode/settings.json +0 -0
  44. {cppcheck-1.5.1 → cppcheck-1.5.2}/CMakePresets.json +0 -0
  45. {cppcheck-1.5.1 → cppcheck-1.5.2}/LICENSE +0 -0
  46. {cppcheck-1.5.1 → cppcheck-1.5.2}/README.md +0 -0
  47. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/ProjectOptions.cmake +0 -0
  48. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/arch/x64.json +0 -0
  49. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/base.json +0 -0
  50. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/compilers/gcc.json +0 -0
  51. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/compilers/llvm.json +0 -0
  52. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/compilers/mingw.json +0 -0
  53. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/compilers/msvc.json +0 -0
  54. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/default.json +0 -0
  55. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/generators/ninja.json +0 -0
  56. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/os/darwin.json +0 -0
  57. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/os/linux.json +0 -0
  58. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/os/windows.json +0 -0
  59. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/toolchains/vcpkg.json +0 -0
  60. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/triplets/x64-linux.json +0 -0
  61. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/triplets/x64-osx.json +0 -0
  62. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/triplets/x64-windows.json +0 -0
  63. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-linux-gcc.json +0 -0
  64. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-linux-llvm.json +0 -0
  65. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
  66. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-osx-gcc.json +0 -0
  67. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-osx-llvm.json +0 -0
  68. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-windows-llvm.json +0 -0
  69. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/presets/x64-windows-msvc.json +0 -0
  70. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
  71. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
  72. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
  73. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
  74. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +0 -0
  75. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
  76. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/ports/README.md +0 -0
  77. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/scripts/build_type.cmake +0 -0
  78. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
  79. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/triplets/README.md +0 -0
  80. {cppcheck-1.5.1 → cppcheck-1.5.2}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
  81. {cppcheck-1.5.1 → cppcheck-1.5.2}/docs/api/index.md +0 -0
  82. {cppcheck-1.5.1 → cppcheck-1.5.2}/docs/conf.py +0 -0
  83. {cppcheck-1.5.1 → cppcheck-1.5.2}/docs/index.md +0 -0
  84. {cppcheck-1.5.1 → cppcheck-1.5.2}/noxfile.py +0 -0
  85. {cppcheck-1.5.1 → cppcheck-1.5.2}/src/cppcheck/__init__.py +0 -0
  86. {cppcheck-1.5.1 → cppcheck-1.5.2}/src/cppcheck/__main__.py +0 -0
  87. {cppcheck-1.5.1 → cppcheck-1.5.2}/src/cppcheck/_version.pyi +0 -0
  88. {cppcheck-1.5.1 → cppcheck-1.5.2}/src/cppcheck/py.typed +0 -0
  89. {cppcheck-1.5.1 → cppcheck-1.5.2}/tests/test_package.py +0 -0
@@ -1,5 +1,5 @@
1
1
  # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2
- _commit: v0.8.38
2
+ _commit: v0.8.41
3
3
  _src_path: https://github.com/serious-scaffold/ss-pybind11
4
4
  author_email: msclock@126.com
5
5
  author_name: l.feng
@@ -20,7 +20,7 @@ jobs:
20
20
  name: Build SDist
21
21
  runs-on: ubuntu-24.04
22
22
  steps:
23
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v7
24
24
  with:
25
25
  fetch-depth: 0
26
26
 
@@ -23,7 +23,7 @@ jobs:
23
23
  pre-commit:
24
24
  runs-on: ubuntu-24.04
25
25
  steps:
26
- - uses: actions/checkout@v4
26
+ - uses: actions/checkout@v7
27
27
  with:
28
28
  fetch-depth: 0
29
29
 
@@ -55,12 +55,12 @@ jobs:
55
55
  needs: [pre-commit]
56
56
 
57
57
  steps:
58
- - uses: actions/checkout@v4
58
+ - uses: actions/checkout@v7
59
59
  with:
60
60
  fetch-depth: 0
61
61
 
62
62
  - name: Cache
63
- uses: actions/cache@v4
63
+ uses: actions/cache@v6
64
64
  with:
65
65
  path: |
66
66
  ~/vcpkg
@@ -92,12 +92,12 @@ jobs:
92
92
  needs: [pre-commit]
93
93
 
94
94
  steps:
95
- - uses: actions/checkout@v4
95
+ - uses: actions/checkout@v7
96
96
  with:
97
97
  fetch-depth: 0
98
98
 
99
99
  - name: Cache
100
- uses: actions/cache@v4
100
+ uses: actions/cache@v6
101
101
  with:
102
102
  path: |
103
103
  ~/vcpkg
@@ -44,7 +44,7 @@ jobs:
44
44
 
45
45
  steps:
46
46
  - name: Checkout repository
47
- uses: actions/checkout@v4
47
+ uses: actions/checkout@v7
48
48
  with:
49
49
  fetch-depth: 0
50
50
 
@@ -55,7 +55,7 @@ jobs:
55
55
  config-file: ./.github/codeql-config.yml
56
56
 
57
57
  - name: Cache
58
- uses: actions/cache@v4
58
+ uses: actions/cache@v6
59
59
  with:
60
60
  path: |
61
61
  ~/vcpkg
@@ -30,13 +30,13 @@ jobs:
30
30
  id-token: write
31
31
 
32
32
  steps:
33
- - uses: actions/checkout@v4
33
+ - uses: actions/checkout@v7
34
34
  with:
35
35
  token: ${{ secrets.GITHUB_TOKEN }}
36
36
  ref: ${{ github.head_ref }}
37
37
 
38
38
  - name: Cache
39
- uses: actions/cache@v4
39
+ uses: actions/cache@v6
40
40
  with:
41
41
  path: |
42
42
  ~/vcpkg
@@ -18,7 +18,7 @@ jobs:
18
18
  - name: Generate a bot token with BOT_APP_ID
19
19
  id: bot_token
20
20
  if: vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
21
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1
21
+ uses: actions/create-github-app-token@v2
22
22
  env:
23
23
  BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
24
24
  with:
@@ -26,7 +26,7 @@ jobs:
26
26
  private-key: ${{ secrets.BOT_PRIVATE_KEY }}
27
27
 
28
28
  - name: Checkout repository
29
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
29
+ uses: actions/checkout@v7
30
30
  with:
31
31
  token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}
32
32
  ref: ${{ github.head_ref }}
@@ -37,7 +37,7 @@ jobs:
37
37
  vcpkg format-manifest --all $(find cmake/vcpkg/ports/ -name "vcpkg.json")
38
38
 
39
39
  - name: Commit format vcpkg.json
40
- uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5
40
+ uses: stefanzweifel/git-auto-commit-action@v5
41
41
  if: success()
42
42
  with:
43
43
  commit_message: 'ci: format vcpkg configuration'
@@ -70,7 +70,7 @@ jobs:
70
70
 
71
71
  - name: Detect hash changes against local
72
72
  id: filter-hash
73
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
73
+ uses: dorny/paths-filter@v3
74
74
  with:
75
75
  list-files: shell
76
76
  base: HEAD
@@ -80,7 +80,7 @@ jobs:
80
80
 
81
81
  - name: Commit port hash
82
82
  if: steps.filter-hash.outputs.ports == 'true'
83
- uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5
83
+ uses: stefanzweifel/git-auto-commit-action@v5
84
84
  with:
85
85
  file_pattern: cmake/vcpkg/ports/*
86
86
  commit_message: 'ci: update port hash'
@@ -19,7 +19,7 @@ jobs:
19
19
  RENOVATE_PLATFORM: github
20
20
  RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
21
21
  RENOVATE_REPOSITORY_CACHE: enabled
22
- image: ghcr.io/renovatebot/renovate:39.233.5@sha256:84b33fa815229cd70dabb3ac4a0abd96515933038bfb20b2bad13ed06bace951
22
+ image: ghcr.io/renovatebot/renovate:40.42.3@sha256:de4644ae20be68a74909fcf25572c8d38861f67e2f02adc6ab3d6e35b447256e
23
23
  options: --user root
24
24
  runs-on: ubuntu-24.04
25
25
  steps:
@@ -24,14 +24,14 @@ jobs:
24
24
  build: [manylinux, musllinux]
25
25
  qemu_arch: [aarch64 ppc64le s390x armv7l]
26
26
  include:
27
- - {os: windows-2019, arch: AMD64, build: win}
28
- - {os: windows-2019, arch: x86, build: win}
27
+ - {os: windows-latest, arch: AMD64, build: win}
28
+ - {os: windows-latest, arch: x86, build: win}
29
29
  - {os: windows-2022, arch: ARM64, build: win}
30
- - {os: macos-13, arch: x86_64, build: macos}
31
- - {os: macos-14, arch: arm64, build: macos}
30
+ - {os: macos-15-intel, arch: x86_64, build: macos}
31
+ - {os: macos-15, arch: arm64, build: macos}
32
32
 
33
33
  steps:
34
- - uses: actions/checkout@v4
34
+ - uses: actions/checkout@v7
35
35
  if: >
36
36
  inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
37
37
  inputs.extra && contains(matrix.qemu_arch, matrix.arch)
@@ -52,7 +52,7 @@ jobs:
52
52
  if: >
53
53
  inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
54
54
  inputs.extra && contains(matrix.qemu_arch, matrix.arch)
55
- uses: actions/cache@v4
55
+ uses: actions/cache@v6
56
56
  with:
57
57
  path: |
58
58
  ~/.cache/vcpkg
@@ -64,7 +64,7 @@ jobs:
64
64
  if: >
65
65
  inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
66
66
  inputs.extra && contains(matrix.qemu_arch, matrix.arch)
67
- uses: pypa/cibuildwheel@v2.23.2
67
+ uses: pypa/cibuildwheel@v4.2
68
68
  env:
69
69
  CIBW_ARCHS: ${{ matrix.arch }}
70
70
  CIBW_BUILD: cp39-${{ matrix.build }}*
@@ -40,7 +40,7 @@ jobs:
40
40
  echo "# :warning: GITHUB_TOKEN is used" >> $GITHUB_STEP_SUMMARY
41
41
  echo "The GITHUB_TOKEN is used instead of a bot token or PAT that will not emit the released publish event for triggering a released workflow." >> $GITHUB_STEP_SUMMARY
42
42
 
43
- - uses: actions/checkout@v4
43
+ - uses: actions/checkout@v7
44
44
  with:
45
45
  fetch-depth: 0
46
46
  token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}
@@ -48,7 +48,7 @@ repos:
48
48
 
49
49
  # Strong lint from ruff
50
50
  - repo: https://github.com/astral-sh/ruff-pre-commit
51
- rev: v0.11.4
51
+ rev: v0.11.13
52
52
  hooks:
53
53
  - id: ruff
54
54
  args: [--fix, --show-fixes]
@@ -56,7 +56,7 @@ repos:
56
56
 
57
57
  # Mypy Check
58
58
  - repo: https://github.com/pre-commit/mirrors-mypy
59
- rev: v1.15.0
59
+ rev: v2.4.0
60
60
  hooks:
61
61
  - id: mypy
62
62
  files: src|tests
@@ -108,7 +108,7 @@ repos:
108
108
 
109
109
  # Check jsonschema
110
110
  - repo: https://github.com/python-jsonschema/check-jsonschema
111
- rev: 0.32.1
111
+ rev: 0.38.2
112
112
  hooks:
113
113
  - id: check-dependabot
114
114
  - id: check-github-workflows
@@ -132,13 +132,13 @@ repos:
132
132
 
133
133
  # Check for markdown
134
134
  - repo: https://github.com/igorshubovych/markdownlint-cli
135
- rev: v0.44.0
135
+ rev: v0.45.0
136
136
  hooks:
137
137
  - id: markdownlint-fix
138
138
 
139
139
  # Check for renovate config
140
140
  - repo: https://github.com/renovatebot/pre-commit-hooks
141
- rev: 39.227.2
141
+ rev: 40.36.8
142
142
  hooks:
143
143
  - id: renovate-config-validator
144
144
  stages: [manual]
@@ -5,7 +5,7 @@
5
5
  ":enablePreCommit"
6
6
  ],
7
7
  "automergeType": "pr",
8
- "automergeStrategy": "merge-commit",
8
+ "automergeStrategy": "squash",
9
9
  "ignoreScripts": false,
10
10
  "platformAutomerge": false,
11
11
  "packageRules": [
@@ -14,7 +14,10 @@ include(cmake-modules/ProjectDefault)
14
14
  find_program(cppcheck NAMES "cppcheck" "cppcheck.exe")
15
15
  cmake_path(GET cppcheck PARENT_PATH cppcheck_dir)
16
16
  file(GLOB cppcheck_runtimes ${cppcheck_dir}/*)
17
- install(PROGRAMS ${cppcheck_runtimes}
18
- DESTINATION ${CMAKE_PROJECT_NAME}/Cppcheck)
17
+ install(
18
+ PROGRAMS
19
+ ${cppcheck_runtimes}
20
+ ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/bin/cppcheck-htmlreport
21
+ DESTINATION ${CMAKE_PROJECT_NAME}/Cppcheck)
19
22
  install(DIRECTORY ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/Cppcheck
20
23
  DESTINATION ${CMAKE_PROJECT_NAME})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cppcheck
3
- Version: 1.5.1
3
+ Version: 1.5.2
4
4
  Summary: Package cppcheck as a python wheel.
5
5
  Author-Email: "l.feng" <msclock@126.com>
6
6
  License: Apache-2.0
@@ -18,6 +18,8 @@ Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
21
23
  Classifier: Topic :: Scientific/Engineering
22
24
  Classifier: Typing :: Typed
23
25
  Project-URL: Homepage, https://github.com/msclock/cppcheck-wheel
@@ -11,7 +11,8 @@
11
11
  "x64"
12
12
  ],
13
13
  "cacheVariables": {
14
- "VCPKG_TARGET_TRIPLET": "x64-mingw-dynamic"
14
+ "VCPKG_TARGET_TRIPLET": "x64-mingw-dynamic",
15
+ "VCPKG_HOST_TRIPLET": "x64-mingw-dynamic"
15
16
  }
16
17
  }
17
18
  ]
@@ -11,7 +11,8 @@
11
11
  "x64"
12
12
  ],
13
13
  "cacheVariables": {
14
- "VCPKG_TARGET_TRIPLET": "x64-mingw-static"
14
+ "VCPKG_TARGET_TRIPLET": "x64-mingw-static",
15
+ "VCPKG_HOST_TRIPLET": "x64-mingw-static"
15
16
  }
16
17
  }
17
18
  ]
@@ -15,7 +15,6 @@
15
15
  "mingw",
16
16
  "x64-mingw-dynamic"
17
17
  ]
18
-
19
18
  }
20
19
  ],
21
20
  "buildPresets": [
@@ -75,6 +75,15 @@ function(_vcpkg_tool_bootstrap vcpkg_root)
75
75
  set(bootstrap_cmd "${vcpkg_root}/bootstrap-vcpkg.sh")
76
76
  endif()
77
77
 
78
+ set(bootstrap_impl "${vcpkg_root}/scripts/bootstrap.sh")
79
+ message(STATUS "Disable build vcpkg-test from source...")
80
+ file(READ "${bootstrap_impl}" file_contents)
81
+ string(REPLACE [[cmakeConfigOptions="-D]]
82
+ [[cmakeConfigOptions="-DBUILD_TESTING=OFF -D]] file_contents
83
+ "${file_contents}")
84
+ file(WRITE "${bootstrap_impl}" "${file_contents}")
85
+
86
+ message(STATUS "Build vcpkg from source...")
78
87
  execute_process(
79
88
  COMMAND ${bootstrap_cmd} -disableMetrics
80
89
  WORKING_DIRECTORY ${vcpkg_root}
@@ -83,7 +92,6 @@ function(_vcpkg_tool_bootstrap vcpkg_root)
83
92
  if(NOT result EQUAL "0")
84
93
  if(CMAKE_HOST_UNIX)
85
94
  message(STATUS "Retry to build vcpkg from source...")
86
- set(bootstrap_impl "${vcpkg_root}/scripts/bootstrap.sh")
87
95
  file(READ "${bootstrap_impl}" file_contents)
88
96
  string(REPLACE [[elif [ "$ARCH" = "x86_64" ]; then]]
89
97
  [[elif [ "$ARCH" = "" ]; then]] file_contents
@@ -119,10 +127,6 @@ function(_vcpkg_upgrade vcpkg_root vcpkg_repo vcpkg_ref)
119
127
  OUTPUT_VARIABLE safe_directory
120
128
  OUTPUT_STRIP_TRAILING_WHITESPACE
121
129
  RESULT_VARIABLE result)
122
-
123
- if(NOT result EQUAL "0")
124
- message(FATAL_ERROR "failed to get git safe directory")
125
- endif()
126
130
  endif()
127
131
 
128
132
  if(NOT DEFINED safe_directory
@@ -131,6 +135,7 @@ function(_vcpkg_upgrade vcpkg_root vcpkg_repo vcpkg_ref)
131
135
 
132
136
  execute_process(
133
137
  COMMAND ${GIT_EXECUTABLE} config --global safe.directory ${vcpkg_root}
138
+ --append
134
139
  WORKING_DIRECTORY ${vcpkg_root}
135
140
  RESULT_VARIABLE result)
136
141
 
@@ -0,0 +1,53 @@
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH
5
+ SOURCE_PATH
6
+ REPO
7
+ danmar/cppcheck
8
+ REF
9
+ "${VERSION}"
10
+ SHA512
11
+ 072179cf35f91708735a85966517b5788554c32443558865af64d782cfc082acd073219ab511f5e2f98bd8f1dc8c0d02447452a00f15524eda2ca20be6af8108
12
+ HEAD_REF
13
+ main)
14
+
15
+ if(VCPKG_TARGET_IS_LINUX)
16
+ if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
17
+ message(STATUS "Disable automatic elf rpath fixup for ${VCPKG_TARGET_ARCHITECTURE} linux")
18
+ set(VCPKG_FIXUP_ELF_RPATH OFF)
19
+ endif()
20
+ endif()
21
+
22
+ vcpkg_check_features(
23
+ OUT_FEATURE_OPTIONS FEATURE_OPTIONS
24
+ FEATURES
25
+ have-rules HAVE_RULES
26
+ )
27
+
28
+ if(EXISTS "/etc/alpine-release")
29
+ message(STATUS "No execinfo.h in muslc for alpine")
30
+ set(NO_UNIX_BACKTRACE_SUPPORT ON)
31
+ endif()
32
+
33
+ vcpkg_cmake_configure(
34
+ SOURCE_PATH "${SOURCE_PATH}"
35
+ OPTIONS
36
+ -DDISABLE_DMAKE=ON
37
+ -DNO_UNIX_BACKTRACE_SUPPORT=${NO_UNIX_BACKTRACE_SUPPORT}
38
+ ${FEATURE_OPTIONS}
39
+ )
40
+
41
+ vcpkg_cmake_install()
42
+ vcpkg_copy_pdbs()
43
+
44
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
45
+
46
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"
47
+ "${CURRENT_PACKAGES_DIR}/debug/share")
48
+
49
+ vcpkg_copy_tools(TOOL_NAMES cppcheck AUTO_CLEAN)
50
+
51
+ set(VCPKG_POLICY_ALLOW_EMPTY_FOLDERS enabled)
52
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
53
+ set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cppcheck",
3
- "version": "2.17.1",
3
+ "version": "2.20.0",
4
4
  "description": "static analysis of C/C++ code",
5
5
  "homepage": "https://github.com/danmar/cppcheck",
6
6
  "license": "GPL-3.0",
@@ -0,0 +1,23 @@
1
+ --- a/CMakeLists.txt 2021-06-14 10:33:38.000000000 +0200
2
+ +++ b/CMakeLists.txt 2021-06-18 18:08:24.162881000 +0200
3
+ @@ -934,10 +934,19 @@
4
+ # Installation
5
+ SET(CMAKE_INSTALL_ALWAYS 1)
6
+
7
+ -INSTALL(TARGETS ${targets}
8
+ +foreach(target ${targets})
9
+ + INSTALL(TARGETS ${target}
10
+ + EXPORT pcre-targets
11
+ RUNTIME DESTINATION bin
12
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
13
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
14
+ + target_include_directories(${target} PUBLIC $<INSTALL_INTERFACE:include>)
15
+ +endforeach()
16
+ +
17
+ +INSTALL(EXPORT pcre-targets
18
+ + NAMESPACE unofficial::pcre::
19
+ + FILE unofficial-pcre-targets.cmake
20
+ + DESTINATION "share/unofficial-pcre")
21
+
22
+ INSTALL(FILES ${PCRE_HEADERS} ${PCREPOSIX_HEADERS} DESTINATION include)
23
+
@@ -0,0 +1,32 @@
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 2c3a309..cdd480f 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -94,7 +94,7 @@ FIND_PACKAGE( Editline )
6
+
7
+ INCLUDE(CheckIncludeFile)
8
+ INCLUDE(CheckIncludeFileCXX)
9
+ -INCLUDE(CheckFunctionExists)
10
+ +INCLUDE(CheckSymbolExists)
11
+ INCLUDE(CheckTypeSize)
12
+ INCLUDE(GNUInstallDirs) # for CMAKE_INSTALL_LIBDIR
13
+
14
+ @@ -109,12 +109,12 @@ CHECK_INCLUDE_FILE(windows.h HAVE_WINDOWS_H)
15
+ CHECK_INCLUDE_FILE_CXX(type_traits.h HAVE_TYPE_TRAITS_H)
16
+ CHECK_INCLUDE_FILE_CXX(bits/type_traits.h HAVE_BITS_TYPE_TRAITS_H)
17
+
18
+ -CHECK_FUNCTION_EXISTS(bcopy HAVE_BCOPY)
19
+ -CHECK_FUNCTION_EXISTS(memmove HAVE_MEMMOVE)
20
+ -CHECK_FUNCTION_EXISTS(strerror HAVE_STRERROR)
21
+ -CHECK_FUNCTION_EXISTS(strtoll HAVE_STRTOLL)
22
+ -CHECK_FUNCTION_EXISTS(strtoq HAVE_STRTOQ)
23
+ -CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64)
24
+ +CHECK_SYMBOL_EXISTS(bcopy strings.h HAVE_BCOPY)
25
+ +CHECK_SYMBOL_EXISTS(memmove string.h HAVE_MEMMOVE)
26
+ +CHECK_SYMBOL_EXISTS(strerror string.h HAVE_STRERROR)
27
+ +CHECK_SYMBOL_EXISTS(strtoll stdlib.h HAVE_STRTOLL)
28
+ +CHECK_SYMBOL_EXISTS(strtoq stdlib.h HAVE_STRTOQ)
29
+ +CHECK_SYMBOL_EXISTS(_strtoi64 stdlib.h HAVE__STRTOI64)
30
+
31
+ CHECK_TYPE_SIZE("long long" LONG_LONG)
32
+ CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
@@ -0,0 +1,161 @@
1
+ Index: CMakeLists.txt
2
+ ===================================================================
3
+ --- CMakeLists.txt (revision 1767)
4
+ +++ CMakeLists.txt (working copy)
5
+ @@ -436,6 +436,12 @@
6
+ @ONLY)
7
+ ENDIF(PCRE_BUILD_PCRECPP)
8
+
9
+ +# Make sure to not link debug libs
10
+ +# against release libs and vice versa
11
+ +IF(WIN32)
12
+ + SET(CMAKE_DEBUG_POSTFIX "d")
13
+ +ENDIF(WIN32)
14
+ +
15
+ # Generate pkg-config files
16
+ SET(PACKAGE_VERSION "${PCRE_MAJOR}.${PCRE_MINOR}")
17
+ SET(prefix "${CMAKE_INSTALL_PREFIX}")
18
+ @@ -442,6 +448,9 @@
19
+ SET(exec_prefix "\${prefix}")
20
+ SET(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
21
+ SET(includedir "\${prefix}/include")
22
+ +IF(WIN32 AND (CMAKE_BUILD_TYPE MATCHES Debug))
23
+ + SET(LIB_POSTFIX ${CMAKE_DEBUG_POSTFIX})
24
+ +ENDIF()
25
+ IF(NOT BUILD_SHARED_LIBS)
26
+ SET(PCRE_STATIC_CFLAG "-DPCRE_STATIC")
27
+ ENDIF(NOT BUILD_SHARED_LIBS)
28
+ @@ -659,11 +668,6 @@
29
+ ENDIF(MSVC)
30
+
31
+ SET(CMAKE_INCLUDE_CURRENT_DIR 1)
32
+ -# needed to make sure to not link debug libs
33
+ -# against release libs and vice versa
34
+ -IF(WIN32)
35
+ - SET(CMAKE_DEBUG_POSTFIX "d")
36
+ -ENDIF(WIN32)
37
+
38
+ SET(targets)
39
+
40
+ Index: configure.ac
41
+ ===================================================================
42
+ --- configure.ac (revision 1767)
43
+ +++ configure.ac (working copy)
44
+ @@ -1044,6 +1044,9 @@
45
+ AM_CONDITIONAL([WITH_GCOV],[test "x$enable_coverage" = "xyes"])
46
+
47
+ # Produce these files, in addition to config.h.
48
+ +# LIB_POSTFIX is used by CMakeLists.txt for Windows debug builds.
49
+ +# Pass empty LIB_POSTFIX to *.pc files and pcre-config here.
50
+ +AC_SUBST(LIB_POSTFIX)
51
+ AC_CONFIG_FILES(
52
+ Makefile
53
+ libpcre.pc
54
+ Index: libpcre.pc.in
55
+ ===================================================================
56
+ --- libpcre.pc.in (revision 1767)
57
+ +++ libpcre.pc.in (working copy)
58
+ @@ -8,6 +8,6 @@
59
+ Name: libpcre
60
+ Description: PCRE - Perl compatible regular expressions C library with 8 bit character support
61
+ Version: @PACKAGE_VERSION@
62
+ -Libs: -L${libdir} -lpcre
63
+ +Libs: -L${libdir} -lpcre@LIB_POSTFIX@
64
+ Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
65
+ Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
66
+ Index: libpcre16.pc.in
67
+ ===================================================================
68
+ --- libpcre16.pc.in (revision 1767)
69
+ +++ libpcre16.pc.in (working copy)
70
+ @@ -8,6 +8,6 @@
71
+ Name: libpcre16
72
+ Description: PCRE - Perl compatible regular expressions C library with 16 bit character support
73
+ Version: @PACKAGE_VERSION@
74
+ -Libs: -L${libdir} -lpcre16
75
+ +Libs: -L${libdir} -lpcre16@LIB_POSTFIX@
76
+ Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
77
+ Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
78
+ Index: libpcre32.pc.in
79
+ ===================================================================
80
+ --- libpcre32.pc.in (revision 1767)
81
+ +++ libpcre32.pc.in (working copy)
82
+ @@ -8,6 +8,6 @@
83
+ Name: libpcre32
84
+ Description: PCRE - Perl compatible regular expressions C library with 32 bit character support
85
+ Version: @PACKAGE_VERSION@
86
+ -Libs: -L${libdir} -lpcre32
87
+ +Libs: -L${libdir} -lpcre32@LIB_POSTFIX@
88
+ Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
89
+ Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
90
+ Index: libpcrecpp.pc.in
91
+ ===================================================================
92
+ --- libpcrecpp.pc.in (revision 1767)
93
+ +++ libpcrecpp.pc.in (working copy)
94
+ @@ -8,5 +8,5 @@
95
+ Name: libpcrecpp
96
+ Description: PCRECPP - C++ wrapper for PCRE
97
+ Version: @PACKAGE_VERSION@
98
+ -Libs: -L${libdir} -lpcre -lpcrecpp
99
+ +Libs: -L${libdir} -lpcre@LIB_POSTFIX@ -lpcrecpp@LIB_POSTFIX@
100
+ Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
101
+ Index: libpcreposix.pc.in
102
+ ===================================================================
103
+ --- libpcreposix.pc.in (revision 1767)
104
+ +++ libpcreposix.pc.in (working copy)
105
+ @@ -8,6 +8,6 @@
106
+ Name: libpcreposix
107
+ Description: PCREPosix - Posix compatible interface to libpcre
108
+ Version: @PACKAGE_VERSION@
109
+ -Libs: -L${libdir} -lpcreposix
110
+ +Libs: -L${libdir} -lpcreposix@LIB_POSTFIX@
111
+ Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
112
+ Requires.private: libpcre
113
+ Index: pcre-config.in
114
+ ===================================================================
115
+ --- pcre-config.in (revision 1767)
116
+ +++ pcre-config.in (working copy)
117
+ @@ -91,7 +91,7 @@
118
+ ;;
119
+ --libs-posix)
120
+ if test @enable_pcre8@ = yes ; then
121
+ - echo $libS$libR -lpcreposix -lpcre
122
+ + echo $libS$libR -lpcreposix@LIB_POSTFIX@ -lpcre@LIB_POSTFIX@
123
+ else
124
+ echo "${usage}" 1>&2
125
+ fi
126
+ @@ -98,7 +98,7 @@
127
+ ;;
128
+ --libs)
129
+ if test @enable_pcre8@ = yes ; then
130
+ - echo $libS$libR -lpcre
131
+ + echo $libS$libR -lpcre@LIB_POSTFIX@
132
+ else
133
+ echo "${usage}" 1>&2
134
+ fi
135
+ @@ -105,7 +105,7 @@
136
+ ;;
137
+ --libs16)
138
+ if test @enable_pcre16@ = yes ; then
139
+ - echo $libS$libR -lpcre16
140
+ + echo $libS$libR -lpcre16@LIB_POSTFIX@
141
+ else
142
+ echo "${usage}" 1>&2
143
+ fi
144
+ @@ -112,7 +112,7 @@
145
+ ;;
146
+ --libs32)
147
+ if test @enable_pcre32@ = yes ; then
148
+ - echo $libS$libR -lpcre32
149
+ + echo $libS$libR -lpcre32@LIB_POSTFIX@
150
+ else
151
+ echo "${usage}" 1>&2
152
+ fi
153
+ @@ -119,7 +119,7 @@
154
+ ;;
155
+ --libs-cpp)
156
+ if test @enable_cpp@ = yes ; then
157
+ - echo $libS$libR -lpcrecpp -lpcre
158
+ + echo $libS$libR -lpcrecpp@LIB_POSTFIX@ -lpcre@LIB_POSTFIX@
159
+ else
160
+ echo "${usage}" 1>&2
161
+ fi
@@ -0,0 +1,18 @@
1
+ --- a/CMakeLists.txt 2021-06-14 10:33:38.000000000 +0200
2
+ +++ b/CMakeLists.txt 2021-06-18 17:59:59.155148900 +0200
3
+ @@ -77,7 +77,6 @@
4
+ # CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY.
5
+
6
+ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
7
+ -CMAKE_POLICY(SET CMP0026 OLD)
8
+
9
+ # For FindReadline.cmake. This was changed to allow setting CMAKE_MODULE_PATH
10
+ # on the command line.
11
+ @@ -199,6 +198,7 @@
12
+ ENDIF(MINGW)
13
+
14
+ IF(MSVC)
15
+ + add_definitions(/wd4703 /wd4146 /wd4308)
16
+ OPTION(PCRE_STATIC_RUNTIME
17
+ "ON=Compile against the static runtime (/MT)."
18
+ OFF)
@@ -0,0 +1,81 @@
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ set(PCRE_VERSION 8.45)
4
+ set(EXPECTED_SHA 71f246c0abbf356222933ad1604cab87a1a2a3cd8054a0b9d6deb25e0735ce9f40f923d14cbd21f32fdac7283794270afcb0f221ad24662ac35934fcb73675cd)
5
+ set(PATCHES
6
+ # Fix CMake Deprecation Warning concerning OLD behavior for policy CMP0026
7
+ # Suppress MSVC compiler warnings C4703, C4146, C4308, which fixes errors
8
+ # under x64-uwp and arm-uwp
9
+ pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch
10
+ # Modified for 8.45 from https://bugs.exim.org/show_bug.cgi?id=2600
11
+ pcre-8.45_fix_postfix_for_debug_Windows_builds.patch
12
+ export-cmake-targets.patch
13
+ pcre-8.4.5_fix_check_function_exists_for_arm-androi_builds.patch)
14
+
15
+ vcpkg_from_sourceforge(
16
+ OUT_SOURCE_PATH SOURCE_PATH
17
+ REPO pcre/pcre
18
+ REF ${PCRE_VERSION}
19
+ FILENAME "pcre-${PCRE_VERSION}.zip"
20
+ SHA512 ${EXPECTED_SHA}
21
+ PATCHES ${PATCHES}
22
+ )
23
+
24
+ set(IS_PCRE_SUPPORT_JIT YES)
25
+ if(VCPKG_TARGET_ARCHITECTURE MATCHES "(loongarch|^s390)")
26
+ set(IS_PCRE_SUPPORT_JIT NO)
27
+ endif()
28
+
29
+ vcpkg_cmake_configure(
30
+ SOURCE_PATH ${SOURCE_PATH}
31
+ OPTIONS
32
+ -DPCRE_BUILD_TESTS=NO
33
+ -DPCRE_BUILD_PCREGREP=NO
34
+ -DPCRE_BUILD_PCRE32=YES
35
+ -DPCRE_BUILD_PCRE16=YES
36
+ -DPCRE_BUILD_PCRE8=YES
37
+ -DPCRE_SUPPORT_JIT=${IS_PCRE_SUPPORT_JIT}
38
+ -DPCRE_SUPPORT_UTF=YES
39
+ -DPCRE_SUPPORT_UNICODE_PROPERTIES=YES
40
+ # optional dependencies for PCREGREP
41
+ -DPCRE_SUPPORT_LIBBZ2=OFF
42
+ -DPCRE_SUPPORT_LIBZ=OFF
43
+ -DPCRE_SUPPORT_LIBEDIT=OFF
44
+ -DPCRE_SUPPORT_LIBREADLINE=OFF
45
+ # OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
46
+ # OPTIONS_RELEASE -DOPTIMIZE=1
47
+ # OPTIONS_DEBUG -DDEBUGGABLE=1
48
+ )
49
+
50
+ vcpkg_cmake_install()
51
+
52
+ vcpkg_cmake_config_fixup(PACKAGE_NAME "unofficial-${PORT}" CONFIG_PATH "share/unofficial-${PORT}")
53
+
54
+ foreach(FILE "${CURRENT_PACKAGES_DIR}/include/pcre.h" "${CURRENT_PACKAGES_DIR}/include/pcreposix.h")
55
+ file(READ ${FILE} PCRE_H)
56
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
57
+ string(REPLACE "defined(PCRE_STATIC)" "1" PCRE_H "${PCRE_H}")
58
+ else()
59
+ string(REPLACE "defined(PCRE_STATIC)" "0" PCRE_H "${PCRE_H}")
60
+ endif()
61
+ file(WRITE ${FILE} "${PCRE_H}")
62
+ endforeach()
63
+
64
+ vcpkg_fixup_pkgconfig()
65
+
66
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
67
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
68
+
69
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/man")
70
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/man")
71
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
72
+
73
+ file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/pcre-config" "${CURRENT_PACKAGES_DIR}/debug/bin/pcre-config")
74
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS)
75
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
76
+ endif()
77
+
78
+ vcpkg_copy_pdbs()
79
+ configure_file("${CMAKE_CURRENT_LIST_DIR}/unofficial-pcre-config.cmake" "${CURRENT_PACKAGES_DIR}/share/unofficial-pcre/unofficial-pcre-config.cmake" @ONLY)
80
+
81
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
@@ -0,0 +1 @@
1
+ include("${CMAKE_CURRENT_LIST_DIR}/unofficial-pcre-targets.cmake")
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "pcre",
3
+ "version": "8.45",
4
+ "port-version": 7,
5
+ "description": "Perl Compatible Regular Expressions",
6
+ "homepage": "https://www.pcre.org/",
7
+ "license": null,
8
+ "dependencies": [
9
+ {
10
+ "name": "vcpkg-cmake",
11
+ "host": true
12
+ },
13
+ {
14
+ "name": "vcpkg-cmake-config",
15
+ "host": true
16
+ }
17
+ ]
18
+ }
@@ -24,6 +24,8 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.11",
25
25
  "Programming Language :: Python :: 3.12",
26
26
  "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
28
+ "Programming Language :: Python :: 3.15",
27
29
  "Topic :: Scientific/Engineering",
28
30
  "Typing :: Typed",
29
31
  ]
@@ -86,14 +88,14 @@ test-skip = ["*-win_arm64", "*-macosx_universal2:arm64"]
86
88
  before-build = [
87
89
  'yum install zip perl-IPC-Cmd -y || apk add zip || true',
88
90
  'apt update && apt install zip pkg-config -y || true',
89
- 'pip install cmake==3.31.6',
90
- 'pip install ninja==1.11.1.4',
91
+ 'pip install cmake==3.31.10',
92
+ 'pip install ninja==1.13.2',
91
93
  'cmake --version',
92
94
  'ninja --version',
93
95
  ]
94
96
 
95
97
  [[tool.cibuildwheel.overrides]]
96
- select = "*linux_{aarch64,armv7l,ppc64le,s390x}"
98
+ select = "*linux_{i686,x86_64,aarch64,armv7l,ppc64le,s390x}"
97
99
  environment = { VCPKG_FORCE_SYSTEM_BINARIES = "1" }
98
100
 
99
101
  [tool.pytest.ini_options]
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '1.5.2'
22
+ __version_tuple__ = version_tuple = (1, 5, 2)
23
+
24
+ __commit_id__ = commit_id = 'g7eedd17b6'
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
3
3
  "name": "cppcheck-wheel",
4
4
  "description": "Package cppcheck as a python wheel.",
5
- "builtin-baseline": "65be7019941e1401e02daaba0738cab2c8a4a355",
5
+ "builtin-baseline": "19780d9cdf84d0944cf9a318666703b89ab6629c",
6
6
  "homepage": "https://github.com/msclock/cppcheck-wheel",
7
7
  "dependencies": [
8
8
  {
@@ -17,7 +17,7 @@
17
17
  "overrides": [
18
18
  {
19
19
  "name": "cppcheck",
20
- "version": "2.17.1"
20
+ "version": "2.20.0"
21
21
  },
22
22
  {
23
23
  "name": "pcre",
@@ -32,7 +32,7 @@
32
32
  "registries": [
33
33
  {
34
34
  "kind": "git",
35
- "baseline": "82147f387552e0f31d5ca2c9370d9726789fa568",
35
+ "baseline": "762a01c0f8624fdaf1e2e682dd6b91f90900945e",
36
36
  "repository": "https://github.com/msclock/cmake-registry",
37
37
  "packages": [
38
38
  "cmake-modules",
@@ -1,49 +0,0 @@
1
- vcpkg_from_github(
2
- OUT_SOURCE_PATH
3
- SOURCE_PATH
4
- REPO
5
- danmar/cppcheck
6
- REF
7
- "${VERSION}"
8
- SHA512
9
- ffd1caeba22493e45ad24c61af19c71adc25ba8eb2c3070152d150921024d68b4892d4e01575c9960e0b0aa1df9deae3514612b184afcf48e377022ca3bb0d85
10
- HEAD_REF
11
- main)
12
-
13
- vcpkg_replace_string("${SOURCE_PATH}/cmake/compilerDefinitions.cmake"
14
- [[-D_WIN64]]
15
- [[]]
16
- )
17
-
18
- if(VCPKG_TARGET_IS_LINUX)
19
- if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
20
- message(STATUS "Disable automatic elf rpath fixup for ${VCPKG_TARGET_ARCHITECTURE} linux")
21
- set(VCPKG_FIXUP_ELF_RPATH OFF)
22
- endif()
23
- endif()
24
-
25
- vcpkg_check_features(
26
- OUT_FEATURE_OPTIONS FEATURE_OPTIONS
27
- FEATURES
28
- have-rules HAVE_RULES
29
- )
30
-
31
- vcpkg_cmake_configure(
32
- SOURCE_PATH "${SOURCE_PATH}"
33
- OPTIONS
34
- -DDISABLE_DMAKE=ON
35
- ${FEATURE_OPTIONS}
36
- )
37
-
38
- vcpkg_cmake_install()
39
- vcpkg_copy_pdbs()
40
-
41
- vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
42
-
43
- file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"
44
- "${CURRENT_PACKAGES_DIR}/debug/share")
45
-
46
- vcpkg_copy_tools(TOOL_NAMES cppcheck AUTO_CLEAN)
47
-
48
- set(VCPKG_POLICY_ALLOW_EMPTY_FOLDERS enabled)
49
- set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
@@ -1,21 +0,0 @@
1
- # file generated by setuptools-scm
2
- # don't change, don't track in version control
3
-
4
- __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
-
6
- TYPE_CHECKING = False
7
- if TYPE_CHECKING:
8
- from typing import Tuple
9
- from typing import Union
10
-
11
- VERSION_TUPLE = Tuple[Union[int, str], ...]
12
- else:
13
- VERSION_TUPLE = object
14
-
15
- version: str
16
- __version__: str
17
- __version_tuple__: VERSION_TUPLE
18
- version_tuple: VERSION_TUPLE
19
-
20
- __version__ = version = '1.5.1'
21
- __version_tuple__ = version_tuple = (1, 5, 1)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes