pybit7z 0.3.2__tar.gz → 0.3.4__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 (108) hide show
  1. {pybit7z-0.3.2 → pybit7z-0.3.4}/.copier-answers.yml +2 -1
  2. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/cd.yml +1 -1
  3. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/ci.yml +6 -4
  4. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/codeql.yml +3 -3
  5. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/pages.yml +1 -1
  6. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/renovate.yml +4 -4
  7. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/reuseable_cibuildwheel.yml +3 -3
  8. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/workflows/semantic-release.yml +2 -2
  9. {pybit7z-0.3.2 → pybit7z-0.3.4}/.pre-commit-config.yaml +7 -7
  10. {pybit7z-0.3.2 → pybit7z-0.3.4}/.renovaterc.json +2 -2
  11. {pybit7z-0.3.2 → pybit7z-0.3.4}/CMakeLists.txt +0 -3
  12. {pybit7z-0.3.2 → pybit7z-0.3.4}/PKG-INFO +1 -1
  13. pybit7z-0.3.4/cmake/presets/base.json +107 -0
  14. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/default.json +10 -0
  15. pybit7z-0.3.4/cmake/presets/generators/ninja.json +15 -0
  16. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +8 -5
  17. pybit7z-0.3.4/cmake/vcpkg/ports/7zip/fix_timespec_get_broken_on_android.patch +13 -0
  18. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/7zip/portfile.cmake +2 -11
  19. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/7zip/vcpkg.json +0 -4
  20. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/pybit7z/__init__.py +4 -3
  21. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/pybit7z/_version.py +2 -2
  22. {pybit7z-0.3.2 → pybit7z-0.3.4}/vcpkg.json +3 -3
  23. pybit7z-0.3.2/cmake/presets/base.json +0 -101
  24. pybit7z-0.3.2/cmake/presets/generators/ninja.json +0 -53
  25. pybit7z-0.3.2/cmake/vcpkg/ports/bit7z/fix_compile_options.patch +0 -13
  26. pybit7z-0.3.2/cmake/vcpkg/ports/bit7z/fix_dependency.patch +0 -28
  27. pybit7z-0.3.2/cmake/vcpkg/ports/bit7z/fix_install.patch +0 -43
  28. pybit7z-0.3.2/cmake/vcpkg/ports/bit7z/portfile.cmake +0 -46
  29. pybit7z-0.3.2/cmake/vcpkg/ports/bit7z/unofficial-bit7z-config.cmake.in +0 -10
  30. pybit7z-0.3.2/cmake/vcpkg/ports/bit7z/vcpkg.json +0 -25
  31. {pybit7z-0.3.2 → pybit7z-0.3.4}/.clang-format +0 -0
  32. {pybit7z-0.3.2 → pybit7z-0.3.4}/.clang-tidy +0 -0
  33. {pybit7z-0.3.2 → pybit7z-0.3.4}/.cppcheck-suppressions.txt +0 -0
  34. {pybit7z-0.3.2 → pybit7z-0.3.4}/.devcontainer/devcontainer.json +0 -0
  35. {pybit7z-0.3.2 → pybit7z-0.3.4}/.editorconfig +0 -0
  36. {pybit7z-0.3.2 → pybit7z-0.3.4}/.gitattributes +0 -0
  37. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/codecov.yml +0 -0
  38. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/codeql-config.yml +0 -0
  39. {pybit7z-0.3.2 → pybit7z-0.3.4}/.github/matchers/pylint.json +0 -0
  40. {pybit7z-0.3.2 → pybit7z-0.3.4}/.gitignore +0 -0
  41. {pybit7z-0.3.2 → pybit7z-0.3.4}/.markdownlint.yaml +0 -0
  42. {pybit7z-0.3.2 → pybit7z-0.3.4}/.releaserc.js +0 -0
  43. {pybit7z-0.3.2 → pybit7z-0.3.4}/.vscode/launch.json +0 -0
  44. {pybit7z-0.3.2 → pybit7z-0.3.4}/.vscode/settings.json +0 -0
  45. {pybit7z-0.3.2 → pybit7z-0.3.4}/CMakePresets.json +0 -0
  46. {pybit7z-0.3.2 → pybit7z-0.3.4}/LICENSE +0 -0
  47. {pybit7z-0.3.2 → pybit7z-0.3.4}/README.md +0 -0
  48. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/ConfigureVersion.cmake +0 -0
  49. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/ProjectOptions.cmake +0 -0
  50. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/arch/x64.json +0 -0
  51. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/compilers/gcc.json +0 -0
  52. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/compilers/llvm.json +0 -0
  53. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/compilers/mingw.json +0 -0
  54. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/compilers/msvc.json +0 -0
  55. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/os/darwin.json +0 -0
  56. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/os/linux.json +0 -0
  57. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/os/windows.json +0 -0
  58. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/toolchains/vcpkg.json +0 -0
  59. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/triplets/x64-linux.json +0 -0
  60. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
  61. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/triplets/x64-mingw-static.json +0 -0
  62. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/triplets/x64-osx.json +0 -0
  63. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/triplets/x64-windows.json +0 -0
  64. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-linux-gcc.json +0 -0
  65. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-linux-llvm.json +0 -0
  66. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
  67. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
  68. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-osx-gcc.json +0 -0
  69. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-osx-llvm.json +0 -0
  70. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-windows-llvm.json +0 -0
  71. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/presets/x64-windows-msvc.json +0 -0
  72. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
  73. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +0 -0
  74. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
  75. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
  76. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
  77. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
  78. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/7zip/7zip-config.cmake.in +0 -0
  79. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/7zip/CMakeLists.txt +0 -0
  80. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/README.md +0 -0
  81. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/python3/portfile.cmake +0 -0
  82. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/ports/python3/vcpkg.json +0 -0
  83. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/scripts/build_type.cmake +0 -0
  84. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
  85. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/triplets/README.md +0 -0
  86. {pybit7z-0.3.2 → pybit7z-0.3.4}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
  87. {pybit7z-0.3.2 → pybit7z-0.3.4}/docs/api/index.md +0 -0
  88. {pybit7z-0.3.2 → pybit7z-0.3.4}/docs/conf.py +0 -0
  89. {pybit7z-0.3.2 → pybit7z-0.3.4}/docs/index.md +0 -0
  90. {pybit7z-0.3.2 → pybit7z-0.3.4}/noxfile.py +10 -10
  91. {pybit7z-0.3.2 → pybit7z-0.3.4}/pyproject.toml +0 -0
  92. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/CMakeLists.txt +0 -0
  93. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/CMakeLists.txt +0 -0
  94. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/include/_core.hpp +0 -0
  95. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/include/pybit7z.hpp +0 -0
  96. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/src/pybind.cpp +0 -0
  97. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/src/pybit7z.cpp +0 -0
  98. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/tests/CMakeLists.txt +0 -0
  99. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/tests/test_core.cpp +0 -0
  100. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/tests/test_data/.gitignore +0 -0
  101. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/_core/tests/utils.hpp +0 -0
  102. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/pybit7z/_core.pyi +0 -0
  103. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/pybit7z/_version.pyi +0 -0
  104. {pybit7z-0.3.2 → pybit7z-0.3.4}/src/pybit7z/py.typed +0 -0
  105. {pybit7z-0.3.2 → pybit7z-0.3.4}/tests/test_compiled.py +0 -0
  106. {pybit7z-0.3.2 → pybit7z-0.3.4}/tests/test_customize_lib7zip.py +0 -0
  107. {pybit7z-0.3.2 → pybit7z-0.3.4}/tests/test_package.py +0 -0
  108. {pybit7z-0.3.2 → pybit7z-0.3.4}/tests/test_pybit7z.py +0 -0
@@ -1,5 +1,5 @@
1
1
  # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2
- _commit: v0.8.25
2
+ _commit: v0.8.31
3
3
  _src_path: https://github.com/serious-scaffold/ss-pybind11
4
4
  author_email: msclock@126.com
5
5
  author_name: l.feng
@@ -18,6 +18,7 @@ module_name: pybit7z
18
18
  organization_name: msclock
19
19
  project_description: A wrapper based on bit7z.
20
20
  project_name: pybit7z
21
+ repo_host: github.com
21
22
  repo_name: pybit7z
22
23
  repo_namespace: msclock
23
24
  repo_platform: github
@@ -27,7 +27,7 @@ jobs:
27
27
  - name: Build SDist
28
28
  run: pipx run build --sdist
29
29
 
30
- - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
30
+ - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
31
31
  with:
32
32
  name: cibw-sdist
33
33
  path: dist/*.tar.gz
@@ -27,7 +27,7 @@ jobs:
27
27
  with:
28
28
  fetch-depth: 0
29
29
 
30
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
30
+ - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
31
31
  with:
32
32
  python-version: 3.x
33
33
 
@@ -69,7 +69,7 @@ jobs:
69
69
  key: codecov-${{ hashFiles('vcpkg.json') }}
70
70
  restore-keys: codecov-${{ hashFiles('vcpkg.json') }}
71
71
 
72
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
72
+ - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
73
73
  with:
74
74
  python-version: 3.x
75
75
 
@@ -82,7 +82,9 @@ jobs:
82
82
  --durations=20
83
83
 
84
84
  - name: Upload coverage report
85
- uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
85
+ uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
86
+ with:
87
+ token: ${{ secrets.CODECOV_TOKEN }}
86
88
 
87
89
 
88
90
  check-docs:
@@ -104,7 +106,7 @@ jobs:
104
106
  key: docs-${{ hashFiles('vcpkg.json') }}
105
107
  restore-keys: docs-${{ hashFiles('vcpkg.json') }}
106
108
 
107
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
109
+ - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
108
110
  with:
109
111
  python-version: 3.x
110
112
 
@@ -49,7 +49,7 @@ jobs:
49
49
  fetch-depth: 0
50
50
 
51
51
  - name: Initialize CodeQL
52
- uses: github/codeql-action/init@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
52
+ uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
53
53
  with:
54
54
  languages: ${{ matrix.language }}
55
55
  config-file: ./.github/codeql-config.yml
@@ -63,7 +63,7 @@ jobs:
63
63
  key: codeql-${{ hashFiles('vcpkg.json') }}
64
64
  restore-keys: codeql-${{ hashFiles('vcpkg.json') }}
65
65
 
66
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
66
+ - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
67
67
  with:
68
68
  python-version: 3.x
69
69
 
@@ -71,4 +71,4 @@ jobs:
71
71
  run: python -m pip install .[test]
72
72
 
73
73
  - name: Perform CodeQL Analysis
74
- uses: github/codeql-action/analyze@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
74
+ uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
@@ -45,7 +45,7 @@ jobs:
45
45
  key: cd-pages-${{ hashFiles('vcpkg.json') }}
46
46
  restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
47
47
 
48
- - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
48
+ - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
49
49
  with:
50
50
  python-version: 3.x
51
51
 
@@ -2,8 +2,8 @@ name: Renovate
2
2
 
3
3
  on:
4
4
  schedule:
5
- # Match renovate schedule:earlyMondays and schedule:automergeMonthly
6
- - cron: '*/15 0-3 * * *'
5
+ # Match renovate schedule and automergeSchedule
6
+ - cron: '*/15 0-3 1-7 * *'
7
7
  workflow_dispatch:
8
8
 
9
9
  jobs:
@@ -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.49.0@sha256:9f44b9392d1da54a8f59dfd73d424d7d151787cd18d6f14778bcb8451ee07543
22
+ image: ghcr.io/renovatebot/renovate:39.158.1@sha256:6e67b965456bfa064287d23e1f2009082940e78eb928bafa0820d4f85b14a63d
23
23
  options: --user root
24
24
  runs-on: ubuntu-24.04
25
25
  steps:
@@ -28,7 +28,7 @@ jobs:
28
28
  - name: Generate a token with GitHub App if App ID exists
29
29
  id: generate-token
30
30
  if: vars.BOT_APP_ID
31
- uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
31
+ uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 # v1
32
32
  with:
33
33
  app-id: ${{ vars.BOT_APP_ID }}
34
34
  private-key: ${{ secrets.BOT_PRIVATE_KEY }}
@@ -19,7 +19,7 @@ jobs:
19
19
 
20
20
  strategy:
21
21
  matrix:
22
- os: [ubuntu-24.04] # renovate: github-runner
22
+ os: [ubuntu-22.04]
23
23
  arch: [aarch64, ppc64le, s390x, x86_64, i686]
24
24
  build: [manylinux, musllinux]
25
25
  qemu_arch: [aarch64 ppc64le s390x armv7l]
@@ -45,7 +45,7 @@ jobs:
45
45
  arch: ${{ matrix.arch }}
46
46
 
47
47
  - name: Set up QEMU
48
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
48
+ uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
49
49
  if: runner.os == 'Linux' && inputs.extra && contains(matrix.qemu_arch, matrix.arch)
50
50
 
51
51
  - name: Build wheels
@@ -61,7 +61,7 @@ jobs:
61
61
  if: >
62
62
  inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
63
63
  inputs.extra && contains(matrix.qemu_arch, matrix.arch)
64
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
64
+ uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
65
65
  with:
66
66
  name: cibw-${{ matrix.os }}-${{ matrix.build }}-${{ matrix.arch }}
67
67
  path: wheelhouse/*.whl
@@ -24,7 +24,7 @@ jobs:
24
24
  - name: Generate a bot token with BOT_APP_ID
25
25
  id: bot_token
26
26
  if: vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
27
- uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
27
+ uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 # v1
28
28
  env:
29
29
  BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
30
30
  with:
@@ -46,7 +46,7 @@ jobs:
46
46
  token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}
47
47
 
48
48
  - name: Setup Node.js
49
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
49
+ uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
50
50
  with:
51
51
  node-version: lts/*
52
52
 
@@ -47,7 +47,7 @@ repos:
47
47
 
48
48
  # Strong lint from ruff
49
49
  - repo: https://github.com/astral-sh/ruff-pre-commit
50
- rev: v0.8.2
50
+ rev: v0.8.6
51
51
  hooks:
52
52
  - id: ruff
53
53
  args: [--fix, --show-fixes]
@@ -55,7 +55,7 @@ repos:
55
55
 
56
56
  # Mypy Check
57
57
  - repo: https://github.com/pre-commit/mirrors-mypy
58
- rev: v1.13.0
58
+ rev: v1.14.1
59
59
  hooks:
60
60
  - id: mypy
61
61
  files: src|tests
@@ -107,7 +107,7 @@ repos:
107
107
 
108
108
  # Check jsonschema
109
109
  - repo: https://github.com/python-jsonschema/check-jsonschema
110
- rev: 0.30.0
110
+ rev: 0.31.1
111
111
  hooks:
112
112
  - id: check-dependabot
113
113
  - id: check-github-workflows
@@ -115,7 +115,7 @@ repos:
115
115
 
116
116
  # Check for spelling
117
117
  - repo: https://github.com/codespell-project/codespell
118
- rev: v2.3.0
118
+ rev: v2.4.1
119
119
  hooks:
120
120
  - id: codespell
121
121
  args:
@@ -131,20 +131,20 @@ repos:
131
131
 
132
132
  # Clang format the codebase automatically
133
133
  - repo: https://github.com/pre-commit/mirrors-clang-format
134
- rev: v19.1.4
134
+ rev: v19.1.7
135
135
  hooks:
136
136
  - id: clang-format
137
137
  types_or: [c++, c, cuda]
138
138
 
139
139
  # Check for markdown
140
140
  - repo: https://github.com/igorshubovych/markdownlint-cli
141
- rev: v0.43.0
141
+ rev: v0.44.0
142
142
  hooks:
143
143
  - id: markdownlint-fix
144
144
 
145
145
  # Check for renovate config
146
146
  - repo: https://github.com/renovatebot/pre-commit-hooks
147
- rev: 39.49.0
147
+ rev: 39.158.1
148
148
  hooks:
149
149
  - id: renovate-config-validator
150
150
  stages: [manual]
@@ -15,8 +15,8 @@
15
15
  "addLabels": [
16
16
  "auto-approval"
17
17
  ],
18
- "extends": [
19
- "schedule:earlyMondays"
18
+ "schedule": [
19
+ "* 0-3 1-7 * *"
20
20
  ],
21
21
  "automergeSchedule": [
22
22
  "* 0-3 1-7 * *"
@@ -10,9 +10,6 @@ project(
10
10
  # Project default module
11
11
  find_package(cmake-modules REQUIRED)
12
12
  include(cmake-modules/ProjectDefault)
13
-
14
- # Project custom modules
15
- list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
16
13
  include(ConfigureVersion)
17
14
 
18
15
  add_subdirectory(src)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybit7z
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: A wrapper based on bit7z.
5
5
  Author-Email: "l.feng" <msclock@126.com>
6
6
  License: Apache-2.0
@@ -0,0 +1,107 @@
1
+ {
2
+ "version": 6,
3
+ "include": [
4
+ "generators/ninja.json",
5
+ "toolchains/vcpkg.json"
6
+ ],
7
+ "configurePresets": [
8
+ {
9
+ "name": "base-common",
10
+ "hidden":true,
11
+ "binaryDir":"${sourceDir}/out/build/${presetName}",
12
+ "installDir":"${sourceDir}/out/install/${presetName}",
13
+ "cacheVariables":{
14
+ "CMAKE_COMPILE_WARNING_AS_ERROR":false,
15
+ "CMAKE_EXPORT_COMPILE_COMMANDS":true,
16
+ "CMAKE_VERBOSE_MAKEFILE":"FALSE"
17
+ }
18
+ },
19
+ {
20
+ "name": "base",
21
+ "hidden": true,
22
+ "inherits": [
23
+ "base-common",
24
+ "ninja",
25
+ "vcpkg"
26
+ ],
27
+ "cacheVariables": {
28
+ "CMAKE_BUILD_TYPE": "Debug"
29
+ }
30
+ },
31
+ {
32
+ "name": "base-config",
33
+ "hidden": true,
34
+ "inherits": [
35
+ "base-common",
36
+ "ninja-config",
37
+ "vcpkg"
38
+ ]
39
+ }
40
+ ],
41
+ "buildPresets": [
42
+ {
43
+ "name": "base",
44
+ "hidden": true,
45
+ "configurePreset": "base"
46
+ },
47
+ {
48
+ "name": "base-config-debug",
49
+ "hidden": true,
50
+ "configurePreset": "base-config",
51
+ "configuration": "Debug"
52
+ },
53
+ {
54
+ "name": "base-config-relwithdebinfo",
55
+ "hidden": true,
56
+ "configurePreset": "base-config",
57
+ "configuration": "RelWithDebInfo"
58
+ },
59
+ {
60
+ "name": "base-config-release",
61
+ "hidden": true,
62
+ "configurePreset": "base-config",
63
+ "configuration": "Release"
64
+ }
65
+ ],
66
+ "testPresets": [
67
+ {
68
+ "name": "base",
69
+ "hidden": true,
70
+ "configurePreset": "base",
71
+ "output": {
72
+ "outputOnFailure": true
73
+ },
74
+ "execution": {
75
+ "noTestsAction": "error",
76
+ "stopOnFailure": true
77
+ }
78
+ },
79
+ {
80
+ "name": "base-config-relwithdebinfo",
81
+ "hidden": true,
82
+ "inherits": [
83
+ "base"
84
+ ],
85
+ "configurePreset": "base-config",
86
+ "configuration": "RelWithDebInfo"
87
+ },
88
+ {
89
+ "name": "base-config-debug",
90
+ "hidden": true,
91
+ "inherits": [
92
+ "base"
93
+ ],
94
+ "configurePreset": "base-config",
95
+ "configuration": "Debug"
96
+ },
97
+ {
98
+ "name": "base-config-release",
99
+ "hidden": true,
100
+ "inherits": [
101
+ "base"
102
+ ],
103
+ "configurePreset": "base-config",
104
+ "configuration": "Release"
105
+ }
106
+ ]
107
+ }
@@ -32,6 +32,11 @@
32
32
  "name": "default-config-debug",
33
33
  "inherits": "base-config-debug",
34
34
  "configurePreset": "default-config"
35
+ },
36
+ {
37
+ "name": "default-config-release",
38
+ "inherits": "base-config-release",
39
+ "configurePreset": "default-config"
35
40
  }
36
41
  ],
37
42
  "testPresets": [
@@ -49,6 +54,11 @@
49
54
  "name": "default-config-debug",
50
55
  "inherits": "base-config-debug",
51
56
  "configurePreset": "default-config"
57
+ },
58
+ {
59
+ "name": "default-config-release",
60
+ "inherits": "base-config-release",
61
+ "configurePreset": "default-config"
52
62
  }
53
63
  ]
54
64
  }
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": 6,
3
+ "configurePresets": [
4
+ {
5
+ "name": "ninja",
6
+ "hidden": true,
7
+ "generator": "Ninja"
8
+ },
9
+ {
10
+ "name": "ninja-config",
11
+ "hidden": true,
12
+ "generator": "Ninja Multi-Config"
13
+ }
14
+ ]
15
+ }
@@ -207,19 +207,22 @@ macro(_vcpkg_load_triplet)
207
207
  set(_community_triplet "triplets/community/${VCPKG_TARGET_TRIPLET}.cmake")
208
208
 
209
209
  if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${_triplet}")
210
- include("${CMAKE_CURRENT_LIST_DIR}/${_triplet}")
210
+ set(_load_triplet "${CMAKE_CURRENT_LIST_DIR}/${_triplet}")
211
211
  elseif(EXISTS "${_VCPKG_ROOT}/${_triplet}")
212
- include("${_VCPKG_ROOT}/${_triplet}")
213
- elseif(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${_community_triplet}")
214
- include("${CMAKE_CURRENT_LIST_DIR}/${_community_triplet}")
212
+ set(_load_triplet "${_VCPKG_ROOT}/${_triplet}")
215
213
  elseif(EXISTS "${_VCPKG_ROOT}/${_community_triplet}")
216
- include("${_VCPKG_ROOT}/${_community_triplet}")
214
+ set(_load_triplet "${_VCPKG_ROOT}/${_community_triplet}")
217
215
  else()
218
216
  message(
219
217
  FATAL_ERROR
220
218
  "Triplet ${VCPKG_TARGET_TRIPLET} not found at ${CMAKE_CURRENT_LIST_DIR}/${_triplet} or ${_VCPKG_ROOT}/${_triplet}"
221
219
  )
222
220
  endif()
221
+
222
+ message(STATUS "Loading triplet: ${_load_triplet}")
223
+ include(${_load_triplet})
224
+
223
225
  unset(_triplet)
224
226
  unset(_community_triplet)
227
+ unset(_load_triplet)
225
228
  endmacro(_vcpkg_load_triplet)
@@ -0,0 +1,13 @@
1
+ diff --git a/CPP/Windows/TimeUtils.cpp b/CPP/Windows/TimeUtils.cpp
2
+ index bbd79ba..8df3ea3 100644
3
+ --- a/CPP/Windows/TimeUtils.cpp
4
+ +++ b/CPP/Windows/TimeUtils.cpp
5
+ @@ -259,7 +259,7 @@ bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
6
+ Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3,
7
+ Cygwin 2.9, mingw, MSVC 14, Android 9.0.
8
+ */
9
+ -#if defined(TIME_UTC)
10
+ +#if defined(TIME_UTC) && (!defined(__ANDROID__) || __ANDROID_API__ >= 29)
11
+ #define ZIP7_USE_timespec_get
12
+ // #pragma message("ZIP7_USE_timespec_get")
13
+ #elif defined(CLOCK_REALTIME)
@@ -6,22 +6,13 @@ vcpkg_from_github(
6
6
  REF "${VERSION}"
7
7
  SHA512 dc0241ed96907965445550912d1171fe32230a52997b089558a4cc73a662fc6a17940db8dcb0794b805268964899d9e5a48ddb444e92b56fd243bbaa17c20a1c
8
8
  HEAD_REF main
9
+ PATCHES
10
+ fix_timespec_get_broken_on_android.patch
9
11
  )
10
12
 
11
13
  file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
12
14
  file(COPY "${CMAKE_CURRENT_LIST_DIR}/7zip-config.cmake.in" DESTINATION "${SOURCE_PATH}")
13
15
 
14
- vcpkg_cmake_get_vars(cmake_vars_file)
15
- include("${cmake_vars_file}")
16
-
17
- if(VCPKG_TARGET_IS_ANDROID)
18
- message(STATUS "Disable TIME_UTC on android")
19
- vcpkg_replace_string("${SOURCE_PATH}/CPP/Windows/TimeUtils.cpp"
20
- [[if defined(TIME_UTC)]]
21
- [[if defined(TIME_UTC) && !defined(__ANDROID__)]]
22
- )
23
- endif()
24
-
25
16
  vcpkg_cmake_configure(
26
17
  SOURCE_PATH "${SOURCE_PATH}"
27
18
  )
@@ -14,10 +14,6 @@
14
14
  {
15
15
  "name": "vcpkg-cmake-config",
16
16
  "host": true
17
- },
18
- {
19
- "name": "vcpkg-cmake-get-vars",
20
- "host": true
21
17
  }
22
18
  ]
23
19
  }
@@ -215,14 +215,15 @@ def default_lib7zip() -> str:
215
215
 
216
216
  @contextmanager
217
217
  def lib7zip_context(
218
- path: str = "", larg_page_mode: bool = True
218
+ path: str = "",
219
+ large_page_mode: bool = True,
219
220
  ) -> Generator[Bit7zLibrary, Any, None]:
220
221
  """
221
222
  A context manager to create a Bit7zLibrary instance.
222
223
 
223
224
  Args:
224
225
  path: The path to the lib7zip library. If not provided, the library will be searched in the package directory.
225
- larg_page_mode: Whether to enable large page mode.
226
+ large_page_mode: Whether to enable large page mode.
226
227
 
227
228
  Yields:
228
229
  A Bit7zLibrary instance.
@@ -234,7 +235,7 @@ def lib7zip_context(
234
235
 
235
236
  if pathlib.Path(lib_path).exists():
236
237
  lib7zip = Bit7zLibrary(lib_path)
237
- if larg_page_mode:
238
+ if large_page_mode:
238
239
  lib7zip.set_large_page_mode()
239
240
  yield lib7zip
240
241
  else:
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.3.2'
16
- __version_tuple__ = version_tuple = (0, 3, 2)
15
+ __version__ = version = '0.3.4'
16
+ __version_tuple__ = version_tuple = (0, 3, 4)
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
3
3
  "name": "pybit7z",
4
4
  "description": "A wrapper based on bit7z.",
5
- "builtin-baseline": "20a72ce99b12dd0ebfea5d39f32681bd68b19d03",
5
+ "builtin-baseline": "65be7019941e1401e02daaba0738cab2c8a4a355",
6
6
  "homepage": "https://github.com/msclock/pybit7z",
7
7
  "dependencies": [
8
8
  "pybind11",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  {
33
33
  "name": "cmake-modules",
34
- "version": "1.6.13"
34
+ "version": "1.6.14"
35
35
  },
36
36
  {
37
37
  "name": "robotology-cmake-ycm",
@@ -53,7 +53,7 @@
53
53
  "registries": [
54
54
  {
55
55
  "kind": "git",
56
- "baseline": "acce0190fabf75096d6be7db6138cb714bc7aace",
56
+ "baseline": "011610a0611713305e06f73f8adab6fe888fa69a",
57
57
  "repository": "https://github.com/msclock/cmake-registry",
58
58
  "packages": [
59
59
  "cmake-modules",
@@ -1,101 +0,0 @@
1
- {
2
- "version": 6,
3
- "include": [
4
- "generators/ninja.json",
5
- "toolchains/vcpkg.json"
6
- ],
7
- "configurePresets": [
8
- {
9
- "name": "base",
10
- "hidden": true,
11
- "inherits": [
12
- "ninja",
13
- "vcpkg"
14
- ],
15
- "binaryDir": "${sourceDir}/out/build/${presetName}",
16
- "installDir": "${sourceDir}/out/install/${presetName}",
17
- "cacheVariables": {
18
- "CMAKE_EXPORT_COMPILE_COMMANDS": true,
19
- "CMAKE_COMPILE_WARNING_AS_ERROR": false,
20
- "CMAKE_BUILD_TYPE": "Debug",
21
- "CMAKE_VERBOSE_MAKEFILE": "FALSE"
22
- }
23
- },
24
- {
25
- "name": "base-config",
26
- "hidden": true,
27
- "inherits": [
28
- "ninja-config",
29
- "vcpkg"
30
- ],
31
- "binaryDir": "${sourceDir}/out/build/${presetName}",
32
- "installDir": "${sourceDir}/out/install/${presetName}",
33
- "cacheVariables": {
34
- "CMAKE_EXPORT_COMPILE_COMMANDS": true,
35
- "CMAKE_COMPILE_WARNING_AS_ERROR": false,
36
- "CMAKE_VERBOSE_MAKEFILE": "FALSE"
37
- }
38
- }
39
- ],
40
- "buildPresets": [
41
- {
42
- "name": "base",
43
- "hidden": true,
44
- "inherits": "ninja",
45
- "configurePreset": "base"
46
- },
47
- {
48
- "name": "base-config-relwithdebinfo",
49
- "hidden": true,
50
- "inherits": "ninja-config-relwithdebinfo",
51
- "configurePreset": "base-config"
52
- },
53
- {
54
- "name": "base-config-debug",
55
- "hidden": true,
56
- "inherits": "ninja-config-debug",
57
- "configurePreset": "base-config"
58
- }
59
- ],
60
- "testPresets": [
61
- {
62
- "name": "base",
63
- "hidden": true,
64
- "inherits": "ninja",
65
- "configurePreset": "base",
66
- "output": {
67
- "outputOnFailure": true
68
- },
69
- "execution": {
70
- "noTestsAction": "error",
71
- "stopOnFailure": true
72
- }
73
- },
74
- {
75
- "name": "base-config-relwithdebinfo",
76
- "hidden": true,
77
- "inherits": "ninja-config-relwithdebinfo",
78
- "configurePreset": "base-config",
79
- "output": {
80
- "outputOnFailure": true
81
- },
82
- "execution": {
83
- "noTestsAction": "error",
84
- "stopOnFailure": true
85
- }
86
- },
87
- {
88
- "name": "base-config-debug",
89
- "hidden": true,
90
- "inherits": "ninja-config-debug",
91
- "configurePreset": "base-config",
92
- "output": {
93
- "outputOnFailure": true
94
- },
95
- "execution": {
96
- "noTestsAction": "error",
97
- "stopOnFailure": true
98
- }
99
- }
100
- ]
101
- }
@@ -1,53 +0,0 @@
1
- {
2
- "version": 6,
3
- "configurePresets": [
4
- {
5
- "name": "ninja",
6
- "hidden": true,
7
- "generator": "Ninja"
8
- },
9
- {
10
- "name": "ninja-config",
11
- "hidden": true,
12
- "generator": "Ninja Multi-Config"
13
- }
14
- ],
15
- "buildPresets": [
16
- {
17
- "name": "ninja",
18
- "hidden": true,
19
- "configurePreset": "ninja"
20
- },
21
- {
22
- "name": "ninja-config-relwithdebinfo",
23
- "hidden": true,
24
- "configurePreset": "ninja-config",
25
- "configuration": "RelWithDebInfo"
26
- },
27
- {
28
- "name": "ninja-config-debug",
29
- "hidden": true,
30
- "configurePreset": "ninja-config",
31
- "configuration": "Debug"
32
- }
33
- ],
34
- "testPresets": [
35
- {
36
- "name": "ninja",
37
- "hidden": true,
38
- "configurePreset": "ninja"
39
- },
40
- {
41
- "name": "ninja-config-relwithdebinfo",
42
- "hidden": true,
43
- "configurePreset": "ninja-config",
44
- "configuration": "RelWithDebInfo"
45
- },
46
- {
47
- "name": "ninja-config-debug",
48
- "hidden": true,
49
- "configurePreset": "ninja-config",
50
- "configuration": "Debug"
51
- }
52
- ]
53
- }
@@ -1,13 +0,0 @@
1
- diff --git a/cmake/CompilerOptions.cmake b/cmake/CompilerOptions.cmake
2
- index 1cdb84f..fd9346f 100644
3
- --- a/cmake/CompilerOptions.cmake
4
- +++ b/cmake/CompilerOptions.cmake
5
- @@ -70,7 +70,7 @@ if( MSVC )
6
- endforeach()
7
- endif()
8
- else()
9
- - target_compile_options( ${LIB_TARGET} PRIVATE -Wall -Wextra -Werror -Wconversion -Wsign-conversion )
10
- + target_compile_options( ${LIB_TARGET} PRIVATE -Wall -Wextra -Wconversion -Wsign-conversion )
11
- endif()
12
-
13
- # Extra warning flags for Clang
@@ -1,28 +0,0 @@
1
- diff --git a/CMakeLists.txt b/CMakeLists.txt
2
- index f8ff6f0..855b78d 100644
3
- --- a/CMakeLists.txt
4
- +++ b/CMakeLists.txt
5
- @@ -194,15 +194,22 @@ include( cmake/BuildOptions.cmake )
6
- include( cmake/CompilerOptions.cmake )
7
-
8
- # dependencies
9
- -include( cmake/Dependencies.cmake )
10
- +# include( cmake/Dependencies.cmake )
11
- +find_package(7zip CONFIG REQUIRED)
12
- +add_library(7-zip ALIAS 7zip::7zip)
13
-
14
- # 7-zip source code
15
- target_link_libraries( ${LIB_TARGET} PRIVATE 7-zip )
16
-
17
- # filesystem library (needed if std::filesystem is not available)
18
- +if(0)
19
- if( ghc_filesystem_ADDED )
20
- target_link_libraries( ${LIB_TARGET} PRIVATE ghc_filesystem )
21
- endif()
22
- +else()
23
- + find_package(ghc_filesystem CONFIG REQUIRED)
24
- + target_link_libraries(${LIB_TARGET} PRIVATE ghcFilesystem::ghc_filesystem )
25
- +endif()
26
-
27
- # public includes
28
- target_include_directories( ${LIB_TARGET} PUBLIC "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>"
@@ -1,43 +0,0 @@
1
- diff --git a/CMakeLists.txt b/CMakeLists.txt
2
- index 2eb8634..f8ff6f0 100644
3
- --- a/CMakeLists.txt
4
- +++ b/CMakeLists.txt
5
- @@ -179,7 +179,7 @@ message( STATUS "Language Standard for bit7z: C++${CMAKE_CXX_STANDARD}" )
6
- set( LIB_TARGET bit7z${ARCH_POSTFIX} )
7
- add_library( ${LIB_TARGET} STATIC )
8
- target_sources( ${LIB_TARGET}
9
- - PUBLIC ${PUBLIC_HEADERS}
10
- + # PUBLIC ${PUBLIC_HEADERS}
11
- PRIVATE ${HEADERS} ${SOURCES} )
12
-
13
- # additional target without the architecture suffix in the name
14
- @@ -246,3 +246,29 @@ endif()
15
- if( BIT7Z_BUILD_DOCS )
16
- add_subdirectory( docs )
17
- endif()
18
- +
19
- +set_target_properties(${LIB_TARGET} PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}")
20
- +
21
- +include(CMakePackageConfigHelpers)
22
- +configure_package_config_file(
23
- + "${CMAKE_CURRENT_SOURCE_DIR}/unofficial-bit7z-config.cmake.in"
24
- + "${CMAKE_CURRENT_BINARY_DIR}/unofficial-bit7z-config.cmake"
25
- + INSTALL_DESTINATION "share/unofficial-bit7z"
26
- +)
27
- +install(
28
- + FILES "${CMAKE_CURRENT_BINARY_DIR}/unofficial-bit7z-config.cmake"
29
- + DESTINATION "share/unofficial-bit7z"
30
- +)
31
- +
32
- +include(GNUInstallDirs)
33
- +install(
34
- + TARGETS ${LIB_TARGET}
35
- + EXPORT unofficial-bit7z-targets
36
- + COMPONENT bit7z
37
- + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
38
- + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
39
- + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
40
- + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/bit7z COMPONENT bit7z_development)
41
- +
42
- +install(EXPORT unofficial-bit7z-targets FILE unofficial-bit7z-targets.cmake NAMESPACE unofficial::bit7z:: DESTINATION share/unofficial-bit7z)
43
- +
@@ -1,46 +0,0 @@
1
- vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
-
3
- vcpkg_from_github(
4
- OUT_SOURCE_PATH SOURCE_PATH
5
- REPO rikyoz/bit7z
6
- REF "v${VERSION}"
7
- SHA512 c0577b07301b09726fb46164483dc277d681a74a80a90a1aa4881d949be28e6ec26678a0cfbf83e38b4915c8a724078e0771fecefba8c6dfbf9029f8db6063fa
8
- HEAD_REF master
9
- PATCHES
10
- fix_install.patch
11
- fix_dependency.patch
12
- fix_compile_options.patch
13
- )
14
-
15
- file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-bit7z-config.cmake.in" DESTINATION "${SOURCE_PATH}")
16
-
17
- vcpkg_check_features(
18
- OUT_FEATURE_OPTIONS FEATURE_OPTIONS
19
- FEATURES
20
- regex-matching BIT7Z_REGEX_MATCHING
21
- )
22
-
23
- vcpkg_cmake_configure(
24
- SOURCE_PATH "${SOURCE_PATH}"
25
- OPTIONS
26
- -DBIT7Z_AUTO_FORMAT=ON
27
- -DBIT7Z_AUTO_PREFIX_LONG_PATHS=ON
28
- -DBIT7Z_DISABLE_ZIP_ASCII_PWD_CHECK=OFF
29
- -DBIT7Z_PATH_SANITIZATION=ON
30
- -DBIT7Z_DISABLE_USE_STD_FILESYSTEM=OFF
31
- -DBIT7Z_USE_STD_BYTE=OFF
32
- -DBIT7Z_USE_NATIVE_STRING=OFF
33
- -DBIT7Z_USE_SYSTEM_CODEPAGE=OFF
34
- -DBIT7Z_BUILD_TESTS=OFF
35
- -DBIT7Z_BUILD_DOCS=OFF
36
- ${FEATURE_OPTIONS}
37
- )
38
-
39
- vcpkg_cmake_install()
40
- vcpkg_copy_pdbs()
41
-
42
- vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-bit7z CONFIG_PATH share/unofficial-bit7z)
43
-
44
- vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
45
-
46
- file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
@@ -1,10 +0,0 @@
1
- @PACKAGE_INIT@
2
-
3
- include(CMakeFindDependencyMacro)
4
-
5
- find_dependency(7zip CONFIG)
6
- find_dependency(ghc_filesystem CONFIG)
7
-
8
- include("${CMAKE_CURRENT_LIST_DIR}/unofficial-bit7z-targets.cmake")
9
-
10
- check_required_components(bit7z)
@@ -1,25 +0,0 @@
1
- {
2
- "name": "bit7z",
3
- "version": "4.0.9",
4
- "port-version": 1,
5
- "description": "A C++ static library offering a clean and simple interface to the 7-zip shared libraries.",
6
- "homepage": "https://github.com/rikyoz/bit7z",
7
- "license": "MPL-2.0",
8
- "dependencies": [
9
- "7zip",
10
- "ghc-filesystem",
11
- {
12
- "name": "vcpkg-cmake",
13
- "host": true
14
- },
15
- {
16
- "name": "vcpkg-cmake-config",
17
- "host": true
18
- }
19
- ],
20
- "features": {
21
- "regex-matching": {
22
- "description": "Enables the support for extracting files matching regular expressions"
23
- }
24
- }
25
- }
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
@@ -78,16 +78,6 @@ def docs(session: nox.Session) -> None:
78
78
  session.run("sphinx-build", "--keep-going", *shared_args)
79
79
 
80
80
 
81
- @nox.session(reuse_venv=True)
82
- def pyi(session: nox.Session) -> None:
83
- """
84
- Generate the Pyi type stubs.
85
- """
86
- session.install("pybind11-stubgen")
87
- session.install(".[test]")
88
- session.run("pybind11-stubgen", "pybit7z._core", "-o", "src")
89
-
90
-
91
81
  @nox.session
92
82
  def build(session: nox.Session) -> None:
93
83
  """
@@ -100,3 +90,13 @@ def build(session: nox.Session) -> None:
100
90
 
101
91
  session.install("build")
102
92
  session.run("python", "-m", "build")
93
+
94
+
95
+ @nox.session(reuse_venv=True)
96
+ def pyi(session: nox.Session) -> None:
97
+ """
98
+ Generate the Pyi type stubs.
99
+ """
100
+ session.install("pybind11-stubgen")
101
+ session.install(".[test]")
102
+ session.run("pybind11-stubgen", "pybit7z._core", "-o", "src")
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes