main/py3-poetry-core: upgrade to 2.3.1

This commit is contained in:
Natanael Copa 2026-03-13 12:07:54 +01:00
parent 3c5c415296
commit 107852f424
2 changed files with 4 additions and 21 deletions

View File

@ -2,8 +2,8 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-poetry-core
_pkgname=poetry-core
pkgver=2.2.1
pkgrel=1
pkgver=2.3.1
pkgrel=0
pkgdesc="PEP 517 build backend implementation for Poetry"
url="https://github.com/python-poetry/poetry-core"
license="MIT"
@ -27,8 +27,7 @@ checkdepends="
python3-dev
"
subpackages="$pkgname-pyc"
source="https://github.com/python-poetry/poetry-core/archive/$pkgver/py3-poetry-core-$pkgver.tar.gz
devendor.patch"
source="https://github.com/python-poetry/poetry-core/archive/$pkgver/py3-poetry-core-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
@ -60,5 +59,5 @@ package() {
sha512sums="
0ea43fe37375df5184da5fb25462757bef20062b85792d77d18c3484fc810db125d36ee8380674897cb84cb3cd8fb14a3be162911a9d933a351631db4121bb3d py3-poetry-core-2.2.1.tar.gz
03a731de9126abe5fbfbe3b8916192f19c0bc749218b949fa56804a638c4e45ebbd2adeff7b6f428d74b8746811d635f9e706db501f130540ae8dcaa95778b1e devendor.patch
56562bd220f62361fa4ac2e83496cc429d8b189338f099f63bad3eb595c6687a45cc80c588d2095790c8c40ab8f672e11fae267d4e3ddf1474219dc46a1c3199 py3-poetry-core-2.3.1.tar.gz
"

View File

@ -1,16 +0,0 @@
Patch-Source: https://gitlab.archlinux.org/archlinux/packaging/packages/python-poetry-core/-/raw/main/python-poetry-core-1.9.0-devendor.patch
Manually applied to source and output using git diff.
--
diff --git a/src/poetry/core/__init__.py b/src/poetry/core/__init__.py
index ba80e18..16b27db 100644
--- a/src/poetry/core/__init__.py
+++ b/src/poetry/core/__init__.py
@@ -9,7 +9,3 @@ from pathlib import Path
# itself, poetry-core is not available as an installed distribution.
__version__ = "2.2.1"
-__vendor_site__ = (Path(__file__).parent / "_vendor").as_posix()
-
-if __vendor_site__ not in sys.path:
- sys.path.insert(0, __vendor_site__)