blob: d1a43c2f1bfec321bb391f4f98868bbe70b555d1 (
plain)
1 # Description: Simplified packaging of Python modules
2 # URL: https://github.com/takluyver/flit
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-flit-core python3-docutils python3-requests python3-tomli python3-pip
5
6 name=python3-flit
7 version=3.8.0
8 release=1
9 source=(https://github.com/takluyver/flit/archive/$version/flit-$version.tar.gz)
10
11 build() {
12 rm flit-$version/tests/test_sdist.py
13
14 cd flit-$version/flit_core
15 /usr/bin/python3 build_dists.py
16 cd ..
17 PYTHONPATH=flit_core /usr/bin/python3 -m flit build --format wheel
18 PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG --ignore-installed --no-deps $SRC/flit-$version/dist/*.whl
19 }
|