From 4056a261ebc1f5a68f9f2d232f7e557d367d0a09 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 2 Apr 2023 19:19:32 +0200 Subject: [PATCH] python3-tomlkit: always use python3-poetry-core --- python3-tomlkit/.signature | 4 ++-- python3-tomlkit/Pkgfile | 15 +++------------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/python3-tomlkit/.signature b/python3-tomlkit/.signature index 1c73c30aa..f9965b013 100644 --- a/python3-tomlkit/.signature +++ b/python3-tomlkit/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/DZsuNpLCkRqLwyEHW6avbqNkSd7Hvr8/GyrvCIbRRKf9uANgt72ucqLrAuRX2PbY1UFyJpqUVQz90HVjIQaQA= -SHA256 (Pkgfile) = c81c241f667a67e32abcc5b3d66dde167c78b2252fa73edf81fdf2216ee631b6 +RWSagIOpLGJF3xcevGtKv3xTzHZwQbI03WAtVODkyUS+ORcaf4OhJuMeiJpEVBK9v7LPhGQlGbL6fPWVZTqBZ4FWk0T/ecERjwQ= +SHA256 (Pkgfile) = 8ba8979a4df73dfd1fa780f5d34f94a769a29ad62e80e2e6279165385d3b0840 SHA256 (.footprint) = b799a0aff8f7b2d95d7525598a68bee63be2bd4c6e156c50512df19b5c66502e SHA256 (tomlkit-0.11.7.tar.gz) = f392ef70ad87a672f02519f99967d28a4d3047133e2d1df936511465fbb3791d diff --git a/python3-tomlkit/Pkgfile b/python3-tomlkit/Pkgfile index abf90e333..5a82ab296 100644 --- a/python3-tomlkit/Pkgfile +++ b/python3-tomlkit/Pkgfile @@ -1,8 +1,7 @@ # Description: Style-preserving TOML library for Python # URL: https://github.com/sdispater/tomlkit # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: python3-pip -# Optional: python3-poetry-core +# Depends on: python3-poetry-core name=python3-tomlkit version=0.11.7 @@ -12,14 +11,6 @@ source=(https://files.pythonhosted.org/packages/source/t/tomlkit/tomlkit-$versio build() { cd tomlkit-$version - _pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') - - if prt-get isinst python3-poetry-core; then - /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation - /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl - else - /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --compile --no-deps tomlkit==$version - fi - - rm -rf $PKG/usr/lib/python$_pyver/site-packages/tomlkit-$version.dist-info/{INSTALLER,REQUESTED} + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl }