void-packages/srcpkgs/pex/template
2023-03-06 21:19:40 +01:00

28 lines
786 B
Bash

# Template file for 'pex'
pkgname=pex
version=2.1.126
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core python3-Sphinx"
depends="python3"
short_desc="Library & tool for generating .pex (Python EXecutable) files"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://github.com/pantsbuild/pex"
changelog="https://raw.githubusercontent.com/pantsbuild/pex/main/CHANGES.rst"
distfiles="${PYPI_SITE}/p/pex/pex-${version}.tar.gz"
checksum=3fcd6cf993815f2a2ad1d826ea194e35bca3c82f485f9886e9e681e400566b15
post_build() {
PYTHONPATH="$PWD" make -C docs man
}
post_install() {
vman docs/_build/man/pex.1
}
python3-pex_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}