zoryn-gen-pypi2spec(1)
| ZORYN-GEN-PYPI2SPEC(1) | Zoryn Manual | ZORYN-GEN-PYPI2SPEC(1) |
NAME
zoryn-gen-pypi2spec - Generate RPM spec file from PyPI package
SYNOPSIS
zoryn gen pypi2spec [OPTION]… PACKAGE
DESCRIPTION
Generate an ALT Linux RPM spec file for a Python package from PyPI metadata. Clones the upstream git repository and creates .gear/ artifacts ready for building.
ARGUMENTS
- PACKAGE (required)
- PyPI package name
OPTIONS
- -C DIR
- Change to directory DIR before running.
- -d, --debug
- Enable debug output.
- --name=NAME
- Override RPM package name
- --no-check
- Skip %%check section generation
- --no-clone
- Generate spec in current directory without cloning
- --packager=PACKAGER
- Packager name and email
- --url=URL
- Git repository URL. Overrides any URL discovered in PyPI metadata and is used both for git clone and for the spec's VCS: tag. Trailing .git suffix is stripped.
- -V VERSION
- Override package version
- -v, --verbose
- Show build output on screen (in addition to log file).
COMMON OPTIONS
- --help[=FMT] (default=auto)
- Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
- --version
- Show version information.
EXIT STATUS
zoryn gen pypi2spec exits with:
- 0
- on success.
- 123
- on indiscriminate errors reported on standard error.
- 124
- on command line parsing errors.
- 125
- on unexpected internal errors (bugs).
EXAMPLES
zoryn gen pypi2spec hdbscan
zoryn gen pypi2spec hdbscan --url https://github.com/scikit-learn-contrib/hdbscan
zoryn gen pypi2spec hdbscan --no-clone
SEE ALSO
zoryn(1)
| Zoryn 0.46.0 |
