From 234ca5b95497c56ec382d7dbac6d40d61ef493a5 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 1 Apr 2023 13:17:43 +0200 Subject: [PATCH] python3-poetry-plugin-export: initial commit, version 1.3.0 --- python3-poetry-plugin-export/.footprint | 22 ++++++++++++++++++++++ python3-poetry-plugin-export/.signature | 5 +++++ python3-poetry-plugin-export/Pkgfile | 25 +++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 python3-poetry-plugin-export/.footprint create mode 100644 python3-poetry-plugin-export/.signature create mode 100644 python3-poetry-plugin-export/Pkgfile diff --git a/python3-poetry-plugin-export/.footprint b/python3-poetry-plugin-export/.footprint new file mode 100644 index 000000000..758f1c8e7 --- /dev/null +++ b/python3-poetry-plugin-export/.footprint @@ -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 diff --git a/python3-poetry-plugin-export/.signature b/python3-poetry-plugin-export/.signature new file mode 100644 index 000000000..60dc63a1d --- /dev/null +++ b/python3-poetry-plugin-export/.signature @@ -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 diff --git a/python3-poetry-plugin-export/Pkgfile b/python3-poetry-plugin-export/Pkgfile new file mode 100644 index 000000000..2ba15423b --- /dev/null +++ b/python3-poetry-plugin-export/Pkgfile @@ -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} +}