Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-poetry-plugin-export 1.0.6-2: temporarily remove depen…
Browse files Browse the repository at this point in the history
…dency on poetry to break circular dependendy for pypa/build#511

git-svn-id: file:///srv/repos/svn-community/svn@1290951 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
felixonmars committed Sep 2, 2022
1 parent 92a5df9 commit eab8d17
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion python-poetry-plugin-export/trunk/PKGBUILD
Expand Up @@ -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')
Expand All @@ -14,6 +14,13 @@ checkdepends=('python-pytest-mock')
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
Expand Down

0 comments on commit eab8d17

Please sign in to comment.