From bbdc83de0039a136abf1ed348087f4d1e700b705 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Tue, 27 Apr 2021 12:11:03 -0700 Subject: [PATCH 1/2] New package: python3-poetry-core-1.0.3 --- srcpkgs/python3-poetry-core/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-poetry-core/template diff --git a/srcpkgs/python3-poetry-core/template b/srcpkgs/python3-poetry-core/template new file mode 100644 index 000000000000..de1b1af0df62 --- /dev/null +++ b/srcpkgs/python3-poetry-core/template @@ -0,0 +1,19 @@ +# Template file for 'python3-poetry-core' +pkgname=python3-poetry-core +version=1.0.3 +revision=1 +wrksrc="poetry-core-${version}" +build_style="python3-pep517" +make_install_target="poetry_core-${version}-*-*-*.whl" +hostmakedepends="python3-wheel" +depends="python3" +short_desc="Poetry PEP 517 Build Backend & Core Utilities" +maintainer="Kye Shi " +license="MIT" +homepage="https://github.com/python-poetry/poetry-core" +distfiles="${PYPI_SITE}/p/poetry-core/poetry-core-${version}.tar.gz" +checksum="2315c928249fc3207801a81868b64c66273077b26c8d8da465dccf8f488c90c5" + +post_install() { + vlicense LICENSE +} From 6d524b606e58ef455ce812eb0a9cad6c78424dfa Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Tue, 27 Apr 2021 12:50:44 -0700 Subject: [PATCH 2/2] Manual.md: add instructions for PEP 517 Python package build backends --- Manual.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Manual.md b/Manual.md index 73cd9088f9bc..851e4be41bfc 100644 --- a/Manual.md +++ b/Manual.md @@ -1546,6 +1546,9 @@ dependencies at build time. If you notice warnings about `EasyInstall` deprecati present in `${wrksrc}/.eggs` after building the package, then those packages should be added to `hostmakedepends`. +The `python3-pep517` build style does not provide a specific build backend, so +packages will need to add an appropriate backend provider to `hostmakedepends`. + The following variables may influence how the python packages are built and configured at post-install time: