29 lines
765 B
Bash
29 lines
765 B
Bash
# Template file for 'pex'
|
|
pkgname=pex
|
|
version=2.1.7
|
|
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"
|
|
checksum=c8db74e9e6842e36b8ca598cf831f91ee1410bc1a1a4bcb3f2310b87783877c7
|
|
|
|
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
|
|
}
|