blob: 0672bad90bd86f58e9807c30b13fa40634e760f2 (
plain)
1 # Description: A lil' TOML writer
2 # URL: https://github.com/hukkin/tomli-w
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-pip python3-poetry
5 # Optional: python3-flit
6
7 name=python3-tomli-w
8 version=1.0.0
9 release=1
10 source=(https://github.com/hukkin/tomli-w/archive/$version/tomli-w-$version.tar.gz)
11
12 build() {
13 cd tomli-w-$version
14
15 if prt-get isinst python3-flit; then
16 /usr/bin/python3 -m flit build --format wheel
17 /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl
18 else
19 /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps tomli-w
20 fi
21 }
|