2023-04-02 19:43:40 +02:00
|
|
|
# Description: Simplified packaging of Python modules
|
|
|
|
# URL: https://github.com/takluyver/flit
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-pip
|
|
|
|
|
|
|
|
name=python3-flit-core
|
2023-05-14 19:23:47 +02:00
|
|
|
version=3.9.0
|
2023-04-02 19:43:40 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/takluyver/flit/archive/$version/flit-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
rm flit-$version/tests/test_sdist.py
|
|
|
|
|
|
|
|
cd flit-$version/flit_core
|
|
|
|
/usr/bin/python3 build_dists.py
|
|
|
|
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG --ignore-installed --no-deps dist/*.whl
|
|
|
|
}
|