cmeel-zlib 1.3.1__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.
- cmeel_zlib-1.3.1/.github/dependabot.yml +6 -0
- cmeel_zlib-1.3.1/.github/workflows/release.yml +117 -0
- cmeel_zlib-1.3.1/.mergify.yml +21 -0
- cmeel_zlib-1.3.1/.pre-commit-config.yaml +31 -0
- cmeel_zlib-1.3.1/CMakeLists.txt +21 -0
- cmeel_zlib-1.3.1/PKG-INFO +18 -0
- cmeel_zlib-1.3.1/README.md +6 -0
- cmeel_zlib-1.3.1/pyproject.toml +23 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
name: Release on GitHub & PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
pull_request:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
CMEEL_LOG_LEVEL: DEBUG
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
wheel:
|
|
18
|
+
name: "Build ${{ matrix.python }} ${{ matrix.os }}"
|
|
19
|
+
runs-on: "${{ matrix.os }}"
|
|
20
|
+
strategy:
|
|
21
|
+
matrix:
|
|
22
|
+
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "macos-13", "macos-14"]
|
|
23
|
+
python: ["cp313"]
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v4
|
|
26
|
+
with:
|
|
27
|
+
submodules: 'true'
|
|
28
|
+
- run: pipx install cibuildwheel
|
|
29
|
+
- run: cibuildwheel
|
|
30
|
+
env:
|
|
31
|
+
CIBW_BUILD: "${{ matrix.python }}-*"
|
|
32
|
+
CIBW_SKIP: "*i686"
|
|
33
|
+
CIBW_MANYLINUX_X86_64_IMAGE: "quay.io/pypa/manylinux_2_28_x86_64"
|
|
34
|
+
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64"
|
|
35
|
+
CIBW_REPAIR_WHEEL_COMMAND: ""
|
|
36
|
+
CIBW_ENVIRONMENT: CMEEL_LOG_LEVEL="DEBUG"
|
|
37
|
+
- uses: actions/upload-artifact@v4
|
|
38
|
+
with:
|
|
39
|
+
name: "artifact-${{ matrix.os }}-${{ matrix.python }}"
|
|
40
|
+
path: wheelhouse
|
|
41
|
+
|
|
42
|
+
test:
|
|
43
|
+
needs: ["wheel"]
|
|
44
|
+
name: "Test ${{ matrix.python }} ${{ matrix.os }}"
|
|
45
|
+
runs-on: "${{ matrix.os }}"
|
|
46
|
+
strategy:
|
|
47
|
+
matrix:
|
|
48
|
+
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "macos-13", "macos-14"]
|
|
49
|
+
python: ["cp313"]
|
|
50
|
+
steps:
|
|
51
|
+
- uses: actions/download-artifact@v4
|
|
52
|
+
with:
|
|
53
|
+
name: "artifact-${{ matrix.os }}-${{ matrix.python }}"
|
|
54
|
+
path: wheelhouse
|
|
55
|
+
- run: echo "${{ matrix.python }}" | sed "s/cp3/PYTHON_VERSION=3./" >> "${GITHUB_ENV}"
|
|
56
|
+
- uses: actions/setup-python@v5
|
|
57
|
+
with:
|
|
58
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
59
|
+
- name: index
|
|
60
|
+
run: |
|
|
61
|
+
python -m pip install -U pip
|
|
62
|
+
python -m pip install wheel simple503
|
|
63
|
+
python -m simple503 --base-url ${{ github.workspace }}/wheelhouse ${{ github.workspace }}/wheelhouse
|
|
64
|
+
- name: install deps
|
|
65
|
+
run: python -m pip install cmeel
|
|
66
|
+
- name: install wheel
|
|
67
|
+
run: python -m pip install -i "file://${{ github.workspace }}/wheelhouse" cmeel-zlib
|
|
68
|
+
|
|
69
|
+
sdist:
|
|
70
|
+
runs-on: ubuntu-24.04
|
|
71
|
+
steps:
|
|
72
|
+
- uses: actions/checkout@v4
|
|
73
|
+
with:
|
|
74
|
+
submodules: 'true'
|
|
75
|
+
- uses: actions/setup-python@v5
|
|
76
|
+
with:
|
|
77
|
+
python-version: 3.13
|
|
78
|
+
- name: setup
|
|
79
|
+
run: |
|
|
80
|
+
python -m pip install -U pip
|
|
81
|
+
python -m pip install build cmeel[build]
|
|
82
|
+
- name: build sdist
|
|
83
|
+
run: python -m build -nso dist .
|
|
84
|
+
- uses: actions/upload-artifact@v4
|
|
85
|
+
with:
|
|
86
|
+
name: artifact-sdist
|
|
87
|
+
path: dist
|
|
88
|
+
|
|
89
|
+
release:
|
|
90
|
+
needs: ["test", "sdist"]
|
|
91
|
+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
92
|
+
runs-on: ubuntu-24.04
|
|
93
|
+
environment: release
|
|
94
|
+
permissions:
|
|
95
|
+
id-token: write
|
|
96
|
+
contents: write
|
|
97
|
+
steps:
|
|
98
|
+
- uses: actions/checkout@v4
|
|
99
|
+
with:
|
|
100
|
+
ref: ${{ github.ref_name }}
|
|
101
|
+
- run: curl https://github.com/nim65s.gpg | gpg --import
|
|
102
|
+
- name: validate signature
|
|
103
|
+
run: >
|
|
104
|
+
git verify-tag --raw ${{ github.ref_name }} 2>&1
|
|
105
|
+
| grep -q 'VALIDSIG 9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28'
|
|
106
|
+
- uses: actions/download-artifact@v4
|
|
107
|
+
with:
|
|
108
|
+
merge-multiple: true
|
|
109
|
+
path: dist
|
|
110
|
+
- run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
|
111
|
+
- run: gh release create -t "Release ${{ env.TAG}}" "${{ env.TAG }}" dist/cmeel_zlib*.{whl,tar.gz}
|
|
112
|
+
env:
|
|
113
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
114
|
+
- name: Publish package distributions to PyPI
|
|
115
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
116
|
+
with:
|
|
117
|
+
skip-existing: true
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
pull_request_rules:
|
|
2
|
+
- name: merge automatically when CI passes and PR is approved
|
|
3
|
+
conditions:
|
|
4
|
+
- check-success = "Build cp313 macos-13"
|
|
5
|
+
- check-success = "Build cp313 macos-14"
|
|
6
|
+
- check-success = "Build cp313 ubuntu-24.04"
|
|
7
|
+
- check-success = "Build cp313 ubuntu-24.04-arm"
|
|
8
|
+
- check-success = "sdist"
|
|
9
|
+
- check-success = "Test cp313 macos-13"
|
|
10
|
+
- check-success = "Test cp313 macos-14"
|
|
11
|
+
- check-success = "Test cp313 ubuntu-24.04"
|
|
12
|
+
- check-success = "Test cp313 ubuntu-24.04-arm"
|
|
13
|
+
- check-success = "pre-commit.ci - pr"
|
|
14
|
+
- or:
|
|
15
|
+
- approved-reviews-by = nim65s
|
|
16
|
+
- author = nim65s
|
|
17
|
+
- author = dependabot[bot]
|
|
18
|
+
- author = github-actions[bot]
|
|
19
|
+
- author = pre-commit-ci[bot]
|
|
20
|
+
actions:
|
|
21
|
+
merge:
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
|
3
|
+
rev: v0.6.13
|
|
4
|
+
hooks:
|
|
5
|
+
- id: cmake-format
|
|
6
|
+
- repo: https://github.com/nim65s/pre-commit-sort
|
|
7
|
+
rev: v0.1.0
|
|
8
|
+
hooks:
|
|
9
|
+
- id: pre-commit-sort
|
|
10
|
+
- repo: https://github.com/pappasam/toml-sort
|
|
11
|
+
rev: v0.23.1
|
|
12
|
+
hooks:
|
|
13
|
+
- id: toml-sort-fix
|
|
14
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
15
|
+
rev: v4.5.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: check-added-large-files
|
|
18
|
+
- id: check-ast
|
|
19
|
+
- id: check-executables-have-shebangs
|
|
20
|
+
- id: check-json
|
|
21
|
+
- id: check-merge-conflict
|
|
22
|
+
- id: check-symlinks
|
|
23
|
+
- id: check-toml
|
|
24
|
+
- id: check-yaml
|
|
25
|
+
- id: debug-statements
|
|
26
|
+
- id: destroyed-symlinks
|
|
27
|
+
- id: detect-private-key
|
|
28
|
+
- id: end-of-file-fixer
|
|
29
|
+
- id: fix-byte-order-marker
|
|
30
|
+
- id: mixed-line-ending
|
|
31
|
+
- id: trailing-whitespace
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.30)
|
|
2
|
+
|
|
3
|
+
set(ORG madler)
|
|
4
|
+
set(NAME zlib)
|
|
5
|
+
set(VERSION 1.3.1)
|
|
6
|
+
set(EXT tar.gz)
|
|
7
|
+
set(SHA256 17e88863f3600672ab49182f217281b6fc4d3c762bde361935e436a95214d05c)
|
|
8
|
+
set(TAG_PREFIX "refs/tags/v")
|
|
9
|
+
|
|
10
|
+
project("cmeel-${NAME}" VERSION "${VERSION}")
|
|
11
|
+
|
|
12
|
+
include(ExternalProject)
|
|
13
|
+
ExternalProject_Add(
|
|
14
|
+
${NAME}
|
|
15
|
+
URL "https://github.com/${ORG}/${NAME}/archive/${TAG_PREFIX}${VERSION}.${EXT}"
|
|
16
|
+
URL_HASH "SHA256=${SHA256}"
|
|
17
|
+
DOWNLOAD_EXTRACT_TIMESTAMP OFF
|
|
18
|
+
CMAKE_ARGS "-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}")
|
|
19
|
+
|
|
20
|
+
# dummy file for install target
|
|
21
|
+
install(FILES "README.md" DESTINATION "share/cmeel-${NAME}/")
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cmeel-zlib
|
|
3
|
+
Version: 1.3.1
|
|
4
|
+
Summary: cmeel distribution for zlib
|
|
5
|
+
Requires-Python: >= 3.8
|
|
6
|
+
License-Expression: Zlib
|
|
7
|
+
Home-page: https://github.com/cmake-wheel/cmeel-zlib
|
|
8
|
+
Project-URL: Repository, https://github.com/cmake-wheel/cmeel-zlib.git
|
|
9
|
+
Project-URL: Upstream, https://zlib.net/
|
|
10
|
+
Requires-Dist: cmeel
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# CMeel zlib
|
|
14
|
+
|
|
15
|
+
[](https://pypi.org/project/cmeel-zlib)
|
|
16
|
+
[](https://github.com/cmake-wheel/cmeel-zlib/actions/workflows/release.yml)
|
|
17
|
+
|
|
18
|
+
[zlib](https://zlib.net/) distribution for cmeel packages.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# CMeel zlib
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/cmeel-zlib)
|
|
4
|
+
[](https://github.com/cmake-wheel/cmeel-zlib/actions/workflows/release.yml)
|
|
5
|
+
|
|
6
|
+
[zlib](https://zlib.net/) distribution for cmeel packages.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
build-backend = "cmeel"
|
|
3
|
+
requires = ["cmeel[build]"]
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
description = "cmeel distribution for zlib"
|
|
7
|
+
license = "Zlib"
|
|
8
|
+
name = "cmeel-zlib"
|
|
9
|
+
requires-python = ">= 3.8"
|
|
10
|
+
version = "1.3.1"
|
|
11
|
+
|
|
12
|
+
[project.urls]
|
|
13
|
+
homepage = "https://github.com/cmake-wheel/cmeel-zlib"
|
|
14
|
+
repository = "https://github.com/cmake-wheel/cmeel-zlib.git"
|
|
15
|
+
upstream = "https://zlib.net/"
|
|
16
|
+
|
|
17
|
+
[tool.cmeel]
|
|
18
|
+
build-number = 0
|
|
19
|
+
has-sitelib = false
|
|
20
|
+
run-tests = false
|
|
21
|
+
|
|
22
|
+
[tool.tomlsort]
|
|
23
|
+
all = true
|