[arch-commits] Commit in python-pytest-isort/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 30 19:45:54 UTC 2020
Date: Thursday, April 30, 2020 @ 19:45:54
Author: felixonmars
Revision: 623366
archrelease: copy trunk to community-any
Added:
python-pytest-isort/repos/community-any/PKGBUILD
(from rev 623365, python-pytest-isort/trunk/PKGBUILD)
Deleted:
python-pytest-isort/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-30 19:45:47 UTC (rev 623365)
+++ PKGBUILD 2020-04-30 19:45:54 UTC (rev 623366)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-isort
-pkgver=0.3.1
-pkgrel=3
-pkgdesc='pytest plugin to perform isort checks (import ordering)'
-arch=('any')
-license=('BSD')
-url='https://github.com/moccu/pytest-isort'
-depends=('python-pytest-cache' 'python-isort')
-source=("$pkgnsme-$pkgver.tar.gz::https://github.com/moccu/pytest-isort/archive/$pkgver.tar.gz")
-sha512sums=('453dc5c1098f749220111bf9df39ac0624626799c3b642009204edab5c4f5e540e2790b50c4337a5d0d42555eee45424c3938c86564e3d1822de0ab64d1350c5')
-
-build() {
- cd "$srcdir"/pytest-isort-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/pytest-isort-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" py.test
-}
-
-package() {
- cd pytest-isort-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-isort/repos/community-any/PKGBUILD (from rev 623365, python-pytest-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-30 19:45:54 UTC (rev 623366)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-isort
+pkgver=1.0.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-cache' 'python-isort')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/moccu/pytest-isort/archive/$pkgver.tar.gz")
+sha512sums=('3aec53f72d8df58d8f7e07a63c9c986051261b87c090fb50707e5ec00946c675d7a1e6746c458c035c7359218c299f53f769ffe9c066e8ad5a7eaac268ddd9c6')
+
+build() {
+ cd pytest-isort-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-isort-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" py.test
+}
+
+package() {
+ cd pytest-isort-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list