TokenSpeed packaging for spdlog headers and CMake metadata.
Project description
tokenspeed-spdlog
Repackaging recipe for gabime/spdlog
under the tokenspeed- namespace.
The published wheel vendors upstream spdlog headers and exposes a CMake
package config that defines spdlog::spdlog and
spdlog::spdlog_header_only as header-only imported targets. This lets
TokenSpeed packages depend on tokenspeed-spdlog through pip instead of
fetching or installing spdlog source during every build.
Local build
Populate the upstream headers before building:
git clone --depth 1 --branch v1.15.1 https://github.com/gabime/spdlog.git /tmp/spdlog
./prepare_headers.sh /tmp/spdlog
python -m build
The generated header directory is ignored by git, but it is included in the wheel and sdist.
CMake usage
execute_process(
COMMAND "${Python_EXECUTABLE}" -c "import tokenspeed_spdlog; print(tokenspeed_spdlog.cmake_prefix_path())"
OUTPUT_VARIABLE tokenspeed_spdlog_ROOT
OUTPUT_STRIP_TRAILING_WHITESPACE
COMMAND_ERROR_IS_FATAL ANY
)
list(PREPEND CMAKE_PREFIX_PATH "${tokenspeed_spdlog_ROOT}")
find_package(spdlog CONFIG REQUIRED)
target_link_libraries(my_target PRIVATE spdlog::spdlog)
Publishing to PyPI
publish_to_pypi=true is opt-in for workflow_dispatch runs. The publish job
uses OIDC trusted publishing with the pypi environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tokenspeed_spdlog-1.15.1.tar.gz.
File metadata
- Download URL: tokenspeed_spdlog-1.15.1.tar.gz
- Upload date:
- Size: 216.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516d71843851cb28f326bed7a57cfc4b4ca0a9cd7d41cec5979a7fe5c59de83b
|
|
| MD5 |
ef045b8b0294461e6e4bb6c8e535f54b
|
|
| BLAKE2b-256 |
6447b4c7a6f2ca842efaeb7ad5982b113ed6a49d7e9d7164411b125c86ea3d91
|
Provenance
The following attestation bundles were made for tokenspeed_spdlog-1.15.1.tar.gz:
Publisher:
tokenspeed-spdlog.yml on lightseekorg/tokenspeed-third-party
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tokenspeed_spdlog-1.15.1.tar.gz -
Subject digest:
516d71843851cb28f326bed7a57cfc4b4ca0a9cd7d41cec5979a7fe5c59de83b - Sigstore transparency entry: 2040525542
- Sigstore integration time:
-
Permalink:
lightseekorg/tokenspeed-third-party@ceda63887426df3c48e3a85f93aae0256133777d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lightseekorg
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tokenspeed-spdlog.yml@ceda63887426df3c48e3a85f93aae0256133777d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file tokenspeed_spdlog-1.15.1-py3-none-any.whl.
File metadata
- Download URL: tokenspeed_spdlog-1.15.1-py3-none-any.whl
- Upload date:
- Size: 277.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24e965eef0788ac5b1d28f16342dcfd61ecc55faee6dd5cb2100ba7f3a076ee8
|
|
| MD5 |
0d4846a281590af4e6c17cc804995cf9
|
|
| BLAKE2b-256 |
fa0682f852cd8a5e1df90f79ad2716d76e68fa4da63fc2bd4d474c50eb7ec22f
|
Provenance
The following attestation bundles were made for tokenspeed_spdlog-1.15.1-py3-none-any.whl:
Publisher:
tokenspeed-spdlog.yml on lightseekorg/tokenspeed-third-party
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tokenspeed_spdlog-1.15.1-py3-none-any.whl -
Subject digest:
24e965eef0788ac5b1d28f16342dcfd61ecc55faee6dd5cb2100ba7f3a076ee8 - Sigstore transparency entry: 2040525778
- Sigstore integration time:
-
Permalink:
lightseekorg/tokenspeed-third-party@ceda63887426df3c48e3a85f93aae0256133777d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lightseekorg
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tokenspeed-spdlog.yml@ceda63887426df3c48e3a85f93aae0256133777d -
Trigger Event:
workflow_dispatch
-
Statement type: