Skip to content

Commit df33381

Browse files
classabbyampahesford
authored andcommitted
New package: python3-flit_core-bootstrap-3.9.0
dependency of python3-{installer,packaging}-bootstrap
1 parent b2c9bdb commit df33381

File tree

1 file changed

+30
-0
lines changed
  • srcpkgs/python3-flit_core-bootstrap

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Template file for 'python3-flit_core-bootstrap'
2+
pkgname=python3-flit_core-bootstrap
3+
version=3.9.0
4+
revision=1
5+
# This package is required by python3-build and python3-installer, used by the
6+
# python3-pep517 style; so using that style here would create a cycle
7+
hostmakedepends="python3"
8+
depends="python3"
9+
short_desc="Simplified packaging of Python modules (for xbps-src use)"
10+
maintainer="Andrew J. Hesford <[email protected]>"
11+
license="BSD-3-Clause"
12+
homepage="https://flit.pypa.io/"
13+
changelog="https://flit.pypa.io/en/stable/history.html"
14+
distfiles="${PYPI_SITE}/f/flit_core/flit_core-${version}.tar.gz"
15+
checksum=72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba
16+
make_check=no # bootstrap
17+
repository=bootstrap
18+
nopyprovides=yes
19+
noverifypydeps=yes
20+
21+
do_build() {
22+
python3 -m flit_core.wheel
23+
}
24+
25+
do_install() {
26+
python3 bootstrap_install.py --install-root "${DESTDIR}" \
27+
--installdir "/${py3_sitelib}-bootstrap" \
28+
"dist/flit_core-${version}-py3-none-any.whl"
29+
vlicense LICENSE
30+
}

0 commit comments

Comments
 (0)