2022-02-12 16:47:38 +01:00
|
|
|
# Description: Simplified packaging of Python modules
|
|
|
|
# URL: https://github.com/takluyver/flit
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-04-02 17:31:39 +02:00
|
|
|
# Depends on: python3-docutils python3-requests python3-tomli-w
|
2022-02-12 16:47:38 +01:00
|
|
|
|
|
|
|
name=python3-flit
|
2023-05-14 19:25:57 +02:00
|
|
|
version=3.9.0
|
2022-02-12 16:47:38 +01:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/takluyver/flit/archive/$version/flit-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
rm flit-$version/tests/test_sdist.py
|
|
|
|
|
2023-04-02 17:31:39 +02:00
|
|
|
cd flit-$version
|
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2022-02-12 16:47:38 +01:00
|
|
|
}
|