metametameta
Package manager for gnuCOBOL. Very alpha right now. Not all commands work.
Installation
pipx install mainframer
Usage
Installs various versions of gnuCOBOL to ~/.cobol/
mainframer cobol 3.2
mainframer cobol 3.2.2
mainframer cobol 3.2-b
Now create a mainframer.toml in your project root. This is a monorepo, so you can have multiple mainframer.toml
files with at minimum the gnucobol version.
[project]
gnucobol = "3.2"
[compiler]
# modify compiler options here.
[packages]
"name" = { version="1.2.3", url="github.com/matthewdeanmartin/mainframer" }
Activate a cobol. This adds the necessary environment variables.
mainframer shell
Build a cobol project, assuming a particular layout.
mainframer build compile_objects
mainframer build build_binary
mainframer build test
mainframer build run
Help for CLI
usage: mainframer [-h] [-V] {cobol,shell,install,build,clean,test,run} ...
Manage GnuCobol.
positional arguments:
options:
-h, --help show this help message and exit
-V, --version Show program's version number and exit.
Motivation and Goals
Trying to make a package manager for COBOL.
Prior Art
- Build script inspired by CobolCraft
Metadata
Release files for mainframer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mainframer-0.2.0.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mainframer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.8 kB
Release files / mainframer-0.2.0.tar.gz
| Download URL | mainframer-0.2.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52114b42435544d84a75e8d895966c2fdfb5e6f997ebda5ef42c817c58677b36
|
|
BLAKE2b-256 checksum How to use checksums |
e9ed33023eef938f71dabc5f4f3e6479e60eecbb5afd44651a80557feb2ddcdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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 Dec 27, 2024.
Transparency logRelease files / mainframer-0.2.0-py3-none-any.whl
| Download URL | mainframer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
773d082c83575c7bc0a6913e55c57974c6c6c6b7d2d92c461803ca1481e750e2
|
|
BLAKE2b-256 checksum How to use checksums |
b0e63cc7e3e4d31a33b76b72b3524eb814561d120c7c36105703a3ded09e8f7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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 Dec 27, 2024.
Transparency log