[arch-commits] Commit in python-pytest-pylint/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 10 06:25:00 UTC 2020
Date: Sunday, May 10, 2020 @ 06:25:00
Author: felixonmars
Revision: 626101
upgpkg: python-pytest-pylint 0.16.0-1
Modified:
python-pytest-pylint/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-10 06:09:00 UTC (rev 626100)
+++ PKGBUILD 2020-05-10 06:25:00 UTC (rev 626101)
@@ -1,24 +1,17 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-pytest-pylint
-pkgver=0.15.1
+pkgver=0.16.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')
+depends=('python-pytest' 'python-pylint' 'python-toml')
+makedepends=('python-pytest-flake8')
source=("$pkgname-$pkgver.tar.gz::https://github.com/carsongee/pytest-pylint/archive/$pkgver.tar.gz")
-sha512sums=('b5a59866147639159736a644f44676abec72127844631bf0b52b7a97d0b94b782fb1540a012bfdcefa8ef3ac92acc671fdbd4632dedf23ab541f6a6abbc0187b')
+sha512sums=('e2df53d6996ec4249f4dc77941871e1b37c6ba8bbc8b41944d2f6bfbf7a150cf7d382caa207f224f2efa8e8b1396e3b9a60a66f98b7c28f5cfa833815520d708')
-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
@@ -29,7 +22,7 @@
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
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" pytest --ignore tmp_install
}
package() {
More information about the arch-commits
mailing list