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

Felix Yan felixonmars at archlinux.org
Mon Feb 10 20:37:48 UTC 2020


    Date: Monday, February 10, 2020 @ 20:37:48
  Author: felixonmars
Revision: 566236

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-10 20:37:31 UTC (rev 566235)
+++ PKGBUILD	2020-02-10 20:37:48 UTC (rev 566236)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-pylint
-pkgver=0.14.1.20191107
-_commit=97bda02e95b5a0e582a0c8674f3843ef66ecb7f7
-pkgrel=1
-pkgdesc='pytest plugin to check source code with pylint'
-arch=('any')
-license=('MIT')
-url='https://github.com/carsongee/pytest-pylint'
-depends=('python-pytest' 'python-pylint' 'python-six')
-makedepends=('python-pytest-runner')
-source=("$pkgname-$_commit.tar.gz::https://github.com/carsongee/pytest-pylint/archive/$_commit.tar.gz")
-sha512sums=('19c54a6668ea7fa38c4c6a58752122551a0921225b6ff02dbd2d6984bd01280e329dffcb6d8dbf9e8ee74d37867961052312095faae0e824dc6aaff8564ed0f9')
-
-prepare() {
-  cd pytest-pylint-$_commit
-  # Abandonware
-  sed -i 's/--pep8//' tox.ini
-  sed -i 's/import mock/from unittest import mock/' test_pytest_pylint.py
-}
-
-build() {
-  cd pytest-pylint-$_commit
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd pytest-pylint-$_commit
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" py.test --ignore tmp_install
-}
-
-package() {
-  cd pytest-pylint-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-pylint/repos/community-any/PKGBUILD (from rev 566235, python-pytest-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-10 20:37:48 UTC (rev 566236)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-pylint
+pkgver=0.15.0
+pkgrel=1
+pkgdesc='pytest plugin to check source code with pylint'
+arch=('any')
+license=('MIT')
+url='https://github.com/carsongee/pytest-pylint'
+depends=('python-pytest' 'python-pylint' 'python-six')
+makedepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/carsongee/pytest-pylint/archive/$pkgver.tar.gz")
+sha512sums=('d6e23cf6c8a0147b0835266b958976818b9d1ced06af8ebc77addd20e957d5f89d50a1c3b34512e5ee037fa7dc195b89098ff55fb6e94ceaa1255c6e9e1f3a02')
+
+prepare() {
+  cd pytest-pylint-$pkgver
+  # Abandonware
+  sed -i 's/--pep8//' tox.ini
+  sed -i 's/import mock/from unittest import mock/' pytest_pylint/tests/test_pytest_pylint.py
+}
+
+build() {
+  cd pytest-pylint-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-pylint-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" py.test --ignore tmp_install
+}
+
+package() {
+  cd pytest-pylint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list