blob: 1bc52b1f935ab30454f718aefa4711e70ae717ce (
plain)
1 # Description: Bring colors to your terminal
2 # URL: https://github.com/sdispater/pastel
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-certifi python3-pip python3-ruamel-yaml-clib
5 # Optional: python3-poetry
6
7 name=python3-pastel
8 version=0.2.1
9 release=2
10 source=(https://github.com/sdispater/pastel/archive/$version/$name-$version.tar.gz)
11
12 build() {
13 cd pastel-$version
14 if prt-get isinst python3-poetry; then
15 /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
16 /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl
17 else
18 /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps pastel
19 fi
20 }
|