Skip to main content

Build system used for the Toltec community repository

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toltecmk-0.5.3.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toltecmk-0.5.3-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file toltecmk-0.5.3.tar.gz.

File metadata

  • Download URL: toltecmk-0.5.3.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toltecmk-0.5.3.tar.gz
Algorithm Hash digest
SHA256 965c1feb3e9bcd6a1648f25b7b92d6fa74380916b6c5c816301765d47f8d72ea
MD5 f9b84b68341b1f1539e42c7cb0352345
BLAKE2b-256 2895b67c06ca86b9119278ac1c1cb7b87ce36cb0dc42b69274d54f75515a60d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for toltecmk-0.5.3.tar.gz:

Publisher: build.yml on toltec-dev/build

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file toltecmk-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: toltecmk-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toltecmk-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eb45e460b6b0e13eb7bd12713f26b88f685ce0374386f2c65aa609c03b48c4fe
MD5 08fe3ae6e67a104fa4dfbbedc6a8ce99
BLAKE2b-256 89f3e6cd0789e9948a8dc0bf773c1b8f67a3bc9fc5dd8508124048a8b97b9e46

See more details on using hashes here.

Provenance

The following attestation bundles were made for toltecmk-0.5.3-py3-none-any.whl:

Publisher: build.yml on toltec-dev/build

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page