python3-poetry-plugin-export: always use python3-poetry-core

This commit is contained in:
Tim Biermann 2023-04-02 19:35:58 +02:00
parent 66b25e270c
commit 0ab9dcf204
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36AsE09nRMqMoLUJfS5VJqDlyqB7vvpFakOkhPqDJvmxm/YsCwF5HTs35PiLVsenjgzdnVMBBA0EvxEIuKMf9g4=
SHA256 (Pkgfile) = 4aa813b0a6e058b28536477bf6ec7917d64e219c174e76340ad754c8eedf4b40
RWSagIOpLGJF35vb5imZmkn9pMNuY8EK7QP72x0/QANcpCsaBVlra2ZAvtZop8P7vZm7wwdeenEuiXYmEvWDlgyGXLnm5tIPpgA=
SHA256 (Pkgfile) = de255cf26ae8c3312c1a444ec747fb3d914bd012de9dd68069a27606a55d7052
SHA256 (.footprint) = 85b489ae9be9c9eef886918df4ac7ac8e7b74eb7ab2c0bcf1263eb0856a2dbac
SHA256 (python3-poetry-plugin-export-1.3.0.tar.gz) = 8d165cc6c08127b6f4e7d0290592da09021eb99821466edda8c0ef93a16c0993

View File

@ -1,8 +1,7 @@
# Description: Poetry plugin to export the dependencies to various formats
# URL: https://python-poetry.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-pip
# Optional: python3-poetry-core
# Depends on: python3-poetry-core
name=python3-poetry-plugin-export
version=1.3.0
@ -12,14 +11,6 @@ source=(https://github.com/python-poetry/poetry-plugin-export/archive/$version/$
build() {
cd poetry-plugin-export-$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 poetry-plugin-export==$version
fi
rm -rf $PKG/usr/lib/python$_pyver/site-packages/poetry_plugin_export-$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
}