[arch-commits] Commit in python-poetry-plugin-export/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Fri Sep 2 17:45:00 UTC 2022


    Date: Friday, September 2, 2022 @ 17:45:00
  Author: felixonmars
Revision: 1290951

upgpkg: python-poetry-plugin-export 1.0.6-2: temporarily remove dependency on poetry to break circular dependendy for https://github.com/pypa/build/issues/511

Modified:
  python-poetry-plugin-export/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-02 17:44:49 UTC (rev 1290950)
+++ PKGBUILD	2022-09-02 17:45:00 UTC (rev 1290951)
@@ -3,7 +3,7 @@
 _pkgname=poetry-plugin-export
 pkgname=python-poetry-plugin-export
 pkgver=1.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Poetry plugin to export the dependencies to various formats "
 url="https://github.com/sdispater/poetry-plugin-export"
 license=('MIT')
@@ -14,6 +14,13 @@
 source=("https://github.com/python-poetry/poetry-plugin-export/archive/$pkgver/$pkgname-$pkgver.tar.gz")
 sha512sums=('61afdbff0dd0e7ded56b1b4c428cd0b4dd07c66e8bfa236a4ab178f08a12e6e13600a7274b7802f6cd339ccad1c40846a700dc42349cfadf180123734f333a03')
 
+prepare() {
+  cd poetry-plugin-export-$pkgver
+  # Patch out the dependency on poetry because `build` couldn't handle circular dependency:
+  # https://github.com/pypa/build/issues/511
+  sed -i '/^poetry =/d' pyproject.toml
+}
+
 build() {
   cd poetry-plugin-export-$pkgver
   python -m build -wn



More information about the arch-commits mailing list