python3-tomlkit: always use python3-poetry-core
This commit is contained in:
parent
6f58e4df45
commit
4056a261eb
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user