Date: Tuesday, November 1, 2022 @ 20:35:57
Author: felixonmars
Revision: 1340317
archrelease: copy trunk to community-any
Added:
python-pytest-isort/repos/community-any/PKGBUILD
(from rev 1340316, python-pytest-isort/trunk/PKGBUILD)
Deleted:
python-pytest-isort/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++----------------------------------
1 file changed, 35 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-01 20:35:49 UTC (rev 1340316)
+++ PKGBUILD 2022-11-01 20:35:57 UTC (rev 1340317)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-isort
-pkgver=3.0.0
-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-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
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-isort-$pkgver
- python -m installer --destdir="$PWD/tmp_install" dist/*.whl
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH"
pytest
-}
-
-package() {
- cd pytest-isort-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
- rm "$pkgdir"/usr/lib/python3.10/site-packages/LICENSE.rst
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-isort/repos/community-any/PKGBUILD (from rev 1340316,
python-pytest-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-01 20:35:57 UTC (rev 1340317)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-isort
+pkgver=3.1.0
+pkgrel=1
+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-core')
+source=("https://github.com/moccu/pytest-isort/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a01799b832783301818aba5d441cdb9167a367e2c434df9790e4b2d839a9cdab03683736f43339a07ef4444ca0bddfb1b6cd503db170b6544f8c14617e7398df')
+
+build() {
+ cd pytest-isort-$pkgver
+ python -m build -nw
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-isort-$pkgver
+ python -m installer --destdir="$PWD/tmp_install" dist/*.whl
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH"
pytest
+}
+
+package() {
+ cd pytest-isort-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
+ rm "$pkgdir"/usr/lib/python3.10/site-packages/LICENSE.rst
+}
+
+# vim:set ts=2 sw=2 et: