void-packages/srcpkgs/pex/template

30 lines
765 B
Bash
Raw Normal View History

2019-12-16 15:59:15 +00:00
# Template file for 'pex'
pkgname=pex
2020-03-09 10:25:19 +00:00
version=2.1.6
2019-12-16 15:59:15 +00:00
revision=1
archs=noarch
wrksrc="pex-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Sphinx"
depends="python3-setuptools"
short_desc="Library & tool for generating .pex (Python EXecutable) files"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Apache-2.0"
homepage="https://github.com/pantsbuild/pex"
distfiles="${PYPI_SITE}/p/pex/pex-${version}.tar.gz"
2020-03-09 10:25:19 +00:00
checksum=68da0a75eb23e9f6d617048cfaa822449d1da3e40b8af8d0465b055564d06f8d
2019-12-16 15:59:15 +00:00
post_build() {
2020-02-16 18:22:47 +00:00
PYTHONPATH="$PWD" make -C docs man
2019-12-16 15:59:15 +00:00
}
post_install() {
vman docs/_build/man/pex.1
}
python3-pex_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}