diff options
Diffstat (limited to 'python3-colorama/Pkgfile')
-rw-r--r-- | python3-colorama/Pkgfile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/python3-colorama/Pkgfile b/python3-colorama/Pkgfile index 9e12b41b1..9612fa97e 100644 --- a/python3-colorama/Pkgfile +++ b/python3-colorama/Pkgfile @@ -1,15 +1,16 @@ # Description: Python API for cross-platform colored terminal text. # URL: https://pypi.python.org/pypi/colorama # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: python3-setuptools +# Depends on: python3-hatchling name=python3-colorama -version=0.4.5 +version=0.4.6 release=1 source=(https://github.com/tartley/colorama/archive/$version/$name-$version.tar.gz) build() { cd colorama-$version - /usr/bin/python3 setup.py build - /usr/bin/python3 setup.py install --root=$PKG --optimize=1 --skip-build + + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl } |