summaryrefslogtreecommitdiff
path: root/python3-termcolor/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-09-11 19:13:38 +0200
committerTim Biermann <tbier@posteo.de>2022-09-11 19:13:38 +0200
commit3c1b4d675c2fc5b073777f20f38401c2b3da8322 (patch)
tree2bb2abc5261d298623a391df1c153331619dbc00 /python3-termcolor/Pkgfile
parent4cb5639effa25d0f3f0adc93f08073873198b8c6 (diff)
downloadcontrib-3c1b4d675c2fc5b073777f20f38401c2b3da8322.tar.gz
contrib-3c1b4d675c2fc5b073777f20f38401c2b3da8322.tar.xz
python3-termcolor: 1.1.0 -> 2.0.0
Diffstat (limited to 'python3-termcolor/Pkgfile')
-rw-r--r--python3-termcolor/Pkgfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/python3-termcolor/Pkgfile b/python3-termcolor/Pkgfile
index 0ef50d579..48998445e 100644
--- a/python3-termcolor/Pkgfile
+++ b/python3-termcolor/Pkgfile
@@ -1,18 +1,16 @@
# Description: ANSII Color formatting for output in terminal
# URL: https://pypi.python.org/pypi/termcolor
# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: python3-setuptools
+# Depends on: python3-hatch-vcs
name=python3-termcolor
-version=1.1.0
+version=2.0.0
release=1
source=(https://pypi.python.org/packages/source/t/termcolor/termcolor-$version.tar.gz)
build() {
cd termcolor-$version
- /usr/bin/python3 setup.py build
- /usr/bin/python3 setup.py install --prefix=/usr \
- --root=$PKG \
- --skip-build \
- -O1
+
+ /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
+ /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}

Generated by cgit