Date: Monday, October 31, 2022 @ 11:17:26
  Author: felixonmars
Revision: 1339792

upgpkg: python-pytest-isort 3.0.0-2: switch to poetry-core

Modified:
  python-pytest-isort/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-31 10:46:06 UTC (rev 1339791)
+++ PKGBUILD    2022-10-31 11:17:26 UTC (rev 1339792)
@@ -2,16 +2,23 @@
 
 pkgname=python-pytest-isort
 pkgver=3.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc='pytest plugin to perform isort checks (import ordering)'
 arch=('any')
 license=('BSD')
 url='https://github.com/moccu/pytest-isort'
 depends=('python-pytest' 'python-isort')
-makedepends=('python-build' 'python-installer' 'python-poetry')
-source=("https://github.com/moccu/pytest-isort/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('d1efae99da70c324bff078d2a9182dcfac715da2f9297c572b4d220d8b1701a7254d8042aa63b247ca38f1c4eba298b48e884f56989848d2afe419e7fdb0186a')
+makedepends=('python-build' 'python-installer' 'python-poetry-core')
+source=("https://github.com/moccu/pytest-isort/archive/$pkgver/$pkgname-$pkgver.tar.gz";
+        
$pkgname-poetry-core.patch::https://github.com/stephrdev/pytest-isort/commit/a36c16ecbf454cc25f8564aa39fe652808f56d3f.patch)
+sha512sums=('d1efae99da70c324bff078d2a9182dcfac715da2f9297c572b4d220d8b1701a7254d8042aa63b247ca38f1c4eba298b48e884f56989848d2afe419e7fdb0186a'
+            
'2ff2f802a50d78376bfb80c5eac387dfd4e6a3832b26f2312bc7c6e527fa585a9c8b4400ecabcc1ee9c1b306b9e72466677fd9b1ba2cd63bbe5b648e7cc63f09')
 
+prepare() {
+  cd pytest-isort-$pkgver
+  patch -p1 -i ../$pkgname-poetry-core.patch
+}
+
 build() {
   cd pytest-isort-$pkgver
   python -m build -nw

Reply via email to