summaryrefslogtreecommitdiff
path: root/templates/pyflitcore/template
blob: 189c70a7cd695a51b0e4299bc529e12f3f947a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pkgname=pyflitcore
version=4.0.0
build_no=1
upstream="https://github.com/pypa/flit/archive/refs/tags/${version}.tar.gz"

extras=(
	https://files.pythonhosted.org/packages/f5/82/ce1d3bb380b227e26e517655d1de7b32a72aad61fa21ff9bd91a2e2db6ee/flit-3.12.0-py3-none-any.whl
)

cddir="flit-${version}"

function do_configure {
	 cd flit_core/
	 python3 -m flit_core.wheel
	 echo "no action"
}

function do_build {
	 echo "no action"	 
}

function do_install {
	 cd flit_core/
	 python3 bootstrap_install.py dist/flit_core-${version}-py3-none-any.whl --install-root "${DESTDIR}"
}