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

Felix Yan felixonmars at archlinux.org
Sun May 10 06:25:16 UTC 2020


    Date: Sunday, May 10, 2020 @ 06:25:16
  Author: felixonmars
Revision: 626102

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   75 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 34 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 06:25:00 UTC (rev 626101)
+++ PKGBUILD	2020-05-10 06:25:16 UTC (rev 626102)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-pylint
-pkgver=0.15.1
-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=('b5a59866147639159736a644f44676abec72127844631bf0b52b7a97d0b94b782fb1540a012bfdcefa8ef3ac92acc671fdbd4632dedf23ab541f6a6abbc0187b')
-
-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:

Copied: python-pytest-pylint/repos/community-any/PKGBUILD (from rev 626101, python-pytest-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-10 06:25:16 UTC (rev 626102)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-pylint
+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-toml')
+makedepends=('python-pytest-flake8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/carsongee/pytest-pylint/archive/$pkgver.tar.gz")
+sha512sums=('e2df53d6996ec4249f4dc77941871e1b37c6ba8bbc8b41944d2f6bfbf7a150cf7d382caa207f224f2efa8e8b1396e3b9a60a66f98b7c28f5cfa833815520d708')
+
+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" pytest --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