22 lines
632 B
Plaintext
22 lines
632 B
Plaintext
# Description: A lil' TOML writer
|
|
# URL: https://github.com/hukkin/tomli-w
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-pip python3-poetry
|
|
# Optional: python3-flit
|
|
|
|
name=python3-tomli-w
|
|
version=1.0.0
|
|
release=1
|
|
source=(https://github.com/hukkin/tomli-w/archive/$version/tomli-w-$version.tar.gz)
|
|
|
|
build() {
|
|
cd tomli-w-$version
|
|
|
|
if prt-get isinst python3-flit; then
|
|
/usr/bin/python3 -m flit build --format wheel
|
|
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl
|
|
else
|
|
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps tomli-w
|
|
fi
|
|
}
|