30 lines
992 B
Bash
30 lines
992 B
Bash
# Template file for 'python3-flit_core-bootstrap'
|
|
pkgname=python3-flit_core-bootstrap
|
|
version=3.11.0
|
|
revision=1
|
|
# This package is required by python3-build and python3-installer, used by the
|
|
# python3-pep517 style; so using that style here would create a cycle
|
|
hostmakedepends="python3"
|
|
depends="python3"
|
|
short_desc="Simplified packaging of Python modules (for xbps-src use)"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://flit.pypa.io/"
|
|
changelog="https://flit.pypa.io/en/stable/history.html"
|
|
distfiles="${PYPI_SITE}/f/flit_core/flit_core-${version}.tar.gz"
|
|
checksum=6ceeee3219e9d2ea282041f3e027c441597b450b33007cb81168e887b6113a8f
|
|
make_check=no # bootstrap
|
|
repository=bootstrap
|
|
nopyprovides=yes
|
|
noverifypydeps=yes
|
|
|
|
do_build() {
|
|
python3 -m flit_core.wheel
|
|
}
|
|
|
|
do_install() {
|
|
python3 bootstrap_install.py --install-root "${DESTDIR}" \
|
|
--installdir "/${py3_sitelib}-bootstrap" \
|
|
"dist/flit_core-${version}-py3-none-any.whl"
|
|
vlicense LICENSE
|
|
}
|