Skip to main content

toltecmk

toltecmk on PyPI Status of the main branch

toltecmk is a Python tool used to build software packages for the Toltec repository from PKGBUILD-like build recipes. It automates common tasks such as fetching sources, building artifacts in a reproducible environment, and creating Opkg-compatible archives.

Disclaimer: This is beta-quality software. The recipe format may change at any time in future releases. If you use toltecmk in other projects, it is advised to pin to a specific version.

toltecmk input: recipe; output: packages. Fetches sources based on instructions in the recipe.

Setup

toltecmk is available as a Python package on PyPI.

pip install toltecmk

There are a few system requirements to use this tool:

  • Linux-based operating system
  • Python ⩾ 3.11
  • Docker

Basic Usage

To build a recipe located in the current directory, simply run:

toltecmk

This will process the recipe in a subfolder called build (which can be adjusted using the --work-dir flag) and generate packages in a subfolder called dist (--dist-dir flag).

Documentation

Related Projects

Many other build tools exist today for creating software packages, each major distribution having invented its own recipe and package formats. Some important ones are listed below. toltecmk itself uses an Arch Linux-style recipe format to build Debian-style packages.

Name Used by Recipe format Package format
Debian-style
debhelper Debian, Ubuntu, and others Source packages (Makefiles) deb
OpenWrt SDK OpenWrt, Entware Source packages (Makefiles) ipk
Fedora-style
rpmbuild Fedora, openSUSE, and others spec (DSL) rpm
Arch Linux-style
makepkg Arch Linux and others PKGBUILD (Bash scripts) pkg.tar.zst
abuild Alpine Linux APKBUILD (Bash scripts) apk
Others
nix-build NixOS Expressions (DSL) nar
ebuild Gentoo ebuild (Bash scripts) tbz2

Release files for toltecmk 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toltecmk 0.5.5
File Size Uploaded
toltecmk-0.5.5.tar.gz 38.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for toltecmk 0.5.5
File Interpreter ABI Platform
toltecmk-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 76.7 kB

Release files / toltecmk-0.5.5.tar.gz

Download URL toltecmk-0.5.5.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8eb623bda49035a6f8e6dfd412f3e37211e384e873408b912301d5c4394979d1
BLAKE2b-256 checksum
How to use checksums
e755f04b240eef546352306f1d8aca375544b4bd3adf824b42ee8e28940ab4aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2025.

Transparency log

Release files / toltecmk-0.5.5-py3-none-any.whl

Download URL toltecmk-0.5.5-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
488b1615ef7b6a0099ef07c169984eb525c596e11bcc5a3dc1066932b5fe9ab1
BLAKE2b-256 checksum
How to use checksums
d1ce52388e018307c2281e71604b0f031150c8b56bf46e7ee348c517a3f6449f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page