python3-poetry-plugin-export: initial commit, version 1.3.0

This commit is contained in:
Tim Biermann 2023-04-01 13:17:43 +02:00
parent 61145d3390
commit 234ca5b954
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,22 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.10/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/poetry_plugin_export-1.3.0.dist-info/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export-1.3.0.dist-info/LICENSE
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export-1.3.0.dist-info/METADATA
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export-1.3.0.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export-1.3.0.dist-info/WHEEL
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export-1.3.0.dist-info/entry_points.txt
drwxr-xr-x root/root usr/lib/python3.10/site-packages/poetry_plugin_export/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__init__.py
drwxr-xr-x root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__pycache__/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__pycache__/__init__.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__pycache__/command.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__pycache__/exporter.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__pycache__/plugins.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/__pycache__/walker.cpython-310.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/command.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/exporter.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/plugins.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/poetry_plugin_export/walker.py

View File

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

View File

@ -0,0 +1,25 @@
# 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
name=python3-poetry-plugin-export
version=1.3.0
release=1
source=(https://github.com/python-poetry/poetry-plugin-export/archive/$version/$name-$version.tar.gz)
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}
}