mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
31 lines
952 B
Bash
31 lines
952 B
Bash
# Template file for 'python3-flit_core'
|
|
pkgname=python3-flit_core
|
|
version=3.12.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"
|
|
checkdepends="python3-pytest python3-testpath $depends"
|
|
short_desc="Simplified packaging of Python modules - PEP 517 build backend"
|
|
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=18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2
|
|
|
|
do_build() {
|
|
python3 -m flit_core.wheel
|
|
}
|
|
|
|
do_check() {
|
|
python3 -m pytest tests_core
|
|
}
|
|
|
|
do_install() {
|
|
python3 bootstrap_install.py --install-root "${DESTDIR}" \
|
|
"dist/flit_core-${version}-py3-none-any.whl"
|
|
|
|
vlicense LICENSE
|
|
}
|