vapoursynth-atwt 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.
@@ -0,0 +1,8 @@
1
+ ---
2
+ BasedOnStyle: LLVM
3
+ IndentWidth: 4
4
+ ---
5
+ Language: Cpp
6
+ DerivePointerAlignment: false
7
+ PointerAlignment: Left
8
+ ReflowComments: false
@@ -0,0 +1,50 @@
1
+ Checks: "clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,modernize-*,llvm-*,performance-*,portability-*,readability-*,bugprone-optional-value-conversion,-modernize-use-trailing-return-type,-readability-function-cognitive-complexity,-readability-identifier-length,-llvm-header-guard,-llvm-prefer-static-over-anonymous-namespace,-cppcoreguidelines-avoid-do-while,-,-readability-magic-numbers,-cppcoreguidelines-pro-type-member-init,-readability-convert-member-functions-to-static,-cppcoreguidelines-avoid-const-or-ref-data-members,-readability-use-concise-preprocessor-directives"
2
+ WarningsAsErrors: true
3
+ HeaderFilterRegex: ""
4
+ FormatStyle: LLVM
5
+ ExtraArgs: ["-std=c++23"]
6
+ CheckOptions:
7
+ - key: modernize-use-std-numbers.DiffThreshold
8
+ value: '0.0000001'
9
+ - key: readability-identifier-naming.ClassCase
10
+ value: CamelCase
11
+ - key: readability-identifier-naming.StructCase
12
+ value: CamelCase
13
+ - key: readability-identifier-naming.EnumCase
14
+ value: CamelCase
15
+ - key: readability-identifier-naming.FunctionCase
16
+ value: lower_case
17
+ - key: readability-identifier-naming.MethodCase
18
+ value: camelBack
19
+ - key: readability-identifier-naming.VirtualMethodCase
20
+ value: camelBack
21
+ - key: readability-identifier-naming.PrivateMethodCase
22
+ value: camelBack
23
+ - key: readability-identifier-naming.ProtectedMethodCase
24
+ value: camelBack
25
+ - key: readability-identifier-naming.LocalVariableCase
26
+ value: lower_case
27
+ - key: readability-identifier-naming.ParameterCase
28
+ value: lower_case
29
+ - key: readability-identifier-naming.MemberCase
30
+ value: lower_case
31
+ - key: readability-identifier-naming.PrivateMemberCase
32
+ value: lower_case
33
+ - key: readability-identifier-naming.ProtectedMemberCase
34
+ value: lower_case
35
+ - key: readability-identifier-naming.GlobalConstantCase
36
+ value: lower_case
37
+ - key: readability-identifier-naming.LocalConstantCase
38
+ value: lower_case
39
+ - key: readability-identifier-naming.ClassConstantCase
40
+ value: lower_case
41
+ - key: readability-identifier-naming.ConstexprVariableCase
42
+ value: UPPER_CASE
43
+ - key: readability-identifier-naming.GlobalConstexprVariableCase
44
+ value: UPPER_CASE
45
+ - key: readability-identifier-naming.LocalConstexprVariableCase
46
+ value: UPPER_CASE
47
+ - key: readability-identifier-naming.StaticConstexprVariableCase
48
+ value: UPPER_CASE
49
+ - key: readability-identifier-naming.EnumConstantCase
50
+ value: CamelCase
@@ -0,0 +1,16 @@
1
+ {
2
+ "CompileFlags": {
3
+ "Add": [
4
+ "-std=c++23",
5
+ "-Wall",
6
+ "-Wextra",
7
+ "-Wpedantic",
8
+ ]
9
+ },
10
+ "Index": {
11
+ "Background": "Build"
12
+ },
13
+ "Completion": {
14
+ "AllScopes": true
15
+ }
16
+ }
@@ -0,0 +1,64 @@
1
+ name: Build
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+ workflow_dispatch:
7
+ workflow_call:
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ sdist:
14
+ runs-on: ubuntu-24.04
15
+ steps:
16
+ - uses: actions/checkout@v6
17
+ - uses: actions/setup-python@v6
18
+ with:
19
+ python-version: '3.12'
20
+ - name: Install build tools
21
+ run: python -m pip install build twine
22
+ - name: Build the sdist
23
+ run: python -m build --sdist
24
+ - name: Check metadata
25
+ run: python -m twine check --strict dist/*
26
+ - uses: actions/upload-artifact@v7
27
+ with:
28
+ name: dist-sdist
29
+ path: dist/*.tar.gz
30
+ if-no-files-found: error
31
+
32
+ wheels:
33
+ strategy:
34
+ fail-fast: false
35
+ matrix:
36
+ include:
37
+ - { id: manylinux-x86_64, runner: ubuntu-24.04, build: cp312-manylinux_x86_64 }
38
+ - { id: manylinux-aarch64, runner: ubuntu-24.04-arm, build: cp312-manylinux_aarch64 }
39
+ - { id: musllinux-x86_64, runner: ubuntu-24.04, build: cp312-musllinux_x86_64 }
40
+ - { id: musllinux-aarch64, runner: ubuntu-24.04-arm, build: cp312-musllinux_aarch64 }
41
+ - { id: macos-x86_64, runner: macos-15-intel, build: cp312-macosx_x86_64 }
42
+ - { id: macos-arm64, runner: macos-15, build: cp312-macosx_arm64 }
43
+ - { id: windows-amd64, runner: windows-2022, build: cp312-win_amd64 }
44
+ runs-on: ${{ matrix.runner }}
45
+ steps:
46
+ - uses: actions/checkout@v6
47
+ - uses: actions/setup-python@v6
48
+ with:
49
+ python-version: '3.12'
50
+ - uses: pypa/cibuildwheel@v3.4.0
51
+ env:
52
+ CIBW_BUILD: ${{ matrix.build }}
53
+ with:
54
+ output-dir: dist
55
+ - name: Set Python-independent wheel tags
56
+ shell: bash
57
+ run: |
58
+ python -m pip install wheel
59
+ python -m wheel tags --remove --python-tag=py3 --abi-tag=none dist/*.whl
60
+ - uses: actions/upload-artifact@v7
61
+ with:
62
+ name: dist-${{ matrix.id }}
63
+ path: dist/*.whl
64
+ if-no-files-found: error
@@ -0,0 +1,28 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ build:
12
+ uses: ./.github/workflows/Build.yml
13
+
14
+ publish:
15
+ needs: build
16
+ runs-on: ubuntu-24.04
17
+ environment:
18
+ name: pypi
19
+ url: https://pypi.org/project/vapoursynth-atwt/
20
+ permissions:
21
+ id-token: write
22
+ steps:
23
+ - uses: actions/download-artifact@v8
24
+ with:
25
+ pattern: dist-*
26
+ path: dist
27
+ merge-multiple: true
28
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,11 @@
1
+
2
+ .DS_Store
3
+ .cache/*
4
+ builddir/*
5
+ build/*
6
+ dist/
7
+ wheelhouse/
8
+ .venv/
9
+ .mesonpy-*/
10
+ __pycache__/
11
+ *.py[cod]