[arch-commits] Commit in python-pytest-isort/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jun 11 08:47:12 UTC 2019


    Date: Tuesday, June 11, 2019 @ 08:47:11
  Author: felixonmars
Revision: 480258

archrelease: copy trunk to community-any

Added:
  python-pytest-isort/repos/community-any/PKGBUILD
    (from rev 480257, python-pytest-isort/trunk/PKGBUILD)
Deleted:
  python-pytest-isort/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-11 08:46:58 UTC (rev 480257)
+++ PKGBUILD	2019-06-11 08:47:11 UTC (rev 480258)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-isort
-pkgname=('python-pytest-isort' 'python2-pytest-isort')
-pkgver=0.3.0
-pkgrel=1
-pkgdesc='pytest plugin to perform isort checks (import ordering)'
-arch=('any')
-license=('BSD')
-url='https://github.com/moccu/pytest-isort'
-makedepends=('python-pytest-cache' 'python2-pytest-cache' 'python-isort' 'python2-isort')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/moccu/pytest-isort/archive/$pkgver.tar.gz")
-sha512sums=('cdcd4f76c2891ce3b7a460c9c9340e0e7ea5f84036e46830194d4c6a7fb8d8936901fa4baee4e7173d49e059b51a72f9f28a74e9e1e296ca0bcf37d703d77cc3')
-
-prepare() {
-  cp -a pytest-isort-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest-isort-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytest-isort-$pkgver-py2
-  python2 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.7/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/pytest-isort-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
-}
-
-package_python-pytest-isort() {
-  depends=('python-pytest-cache' 'python-isort')
-
-  cd pytest-isort-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
-
-package_python2-pytest-isort() {
-  depends=('python2-pytest-cache' 'python2-isort')
-
-  cd pytest-isort-$pkgver-py2
-  python2 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 480257, python-pytest-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-11 08:47:11 UTC (rev 480258)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-isort
+pkgname=('python-pytest-isort' 'python2-pytest-isort')
+pkgver=0.3.1
+pkgrel=1
+pkgdesc='pytest plugin to perform isort checks (import ordering)'
+arch=('any')
+license=('BSD')
+url='https://github.com/moccu/pytest-isort'
+makedepends=('python-pytest-cache' 'python2-pytest-cache' 'python-isort' 'python2-isort')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/moccu/pytest-isort/archive/$pkgver.tar.gz")
+sha512sums=('453dc5c1098f749220111bf9df39ac0624626799c3b642009204edab5c4f5e540e2790b50c4337a5d0d42555eee45424c3938c86564e3d1822de0ab64d1350c5')
+
+prepare() {
+  cp -a pytest-isort-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pytest-isort-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytest-isort-$pkgver-py2
+  python2 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.7/site-packages:$PYTHONPATH" py.test
+
+  cd "$srcdir"/pytest-isort-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-pytest-isort() {
+  depends=('python-pytest-cache' 'python-isort')
+
+  cd pytest-isort-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-pytest-isort() {
+  depends=('python2-pytest-cache' 'python2-isort')
+
+  cd pytest-isort-$pkgver-py2
+  python2 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