[arch-commits] Commit in python-pylint/repos/community-testing-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Aug 21 07:45:18 UTC 2021
Date: Saturday, August 21, 2021 @ 07:45:18
Author: alerque
Revision: 1004125
archrelease: copy trunk to community-testing-any
Added:
python-pylint/repos/community-testing-any/PKGBUILD
(from rev 1004124, python-pylint/trunk/PKGBUILD)
Deleted:
python-pylint/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-21 07:44:19 UTC (rev 1004124)
+++ PKGBUILD 2021-08-21 07:45:18 UTC (rev 1004125)
@@ -1,55 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-_pyname=pylint
-pkgname=python-$_pyname
-pkgver=2.10.0
-pkgrel=1
-pkgdesc='Analyzes Python code looking for bugs and signs of poor quality'
-arch=(any)
-url=https://pylint.org
-license=(GPL)
-_pydeps=(appdirs
- astroid
- isort
- mccabe
- toml)
-depends=(python
- "${_pydeps[@]/#/python-}")
-makedepends=(python-setuptools
- python-sphinx)
-checkdepends=(mpdecimal
- python-pytest)
-optdepends=('graphviz: Enable output formats other than dot or vcg'
- 'tk: Pylint GUI')
-_archive="$_pyname-$pkgver"
-source=("https://github.com/PyCQA/pylint/archive/v$pkgver/pylint-$pkgver.tar.gz")
-sha256sums=('8f34d8c0a8d57544d50b6e13a526dd1d1b7e3ab3d6528adeb3b3c6acd4763a78')
-
-prepare() {
- cd "$_archive"
- # Remove overly restrictive dependency pinning that ends up in runtime checks
- sed -i -e '/>=/{s/>.*//;p}' setup.cfg
-}
-
-build() {
- cd "$_archive"
- python setup.py build
- make PYTHONPATH="$PWD/build/lib" -C doc man
-}
-
-check() {
- cd "$_archive"
- PYTHONPATH="$PWD/build/lib" pytest \
- --deselect tests/benchmark/test_baseline_benchmarks.py
-}
-
-package() {
- cd "$_archive"
- export PYTHONHASHSEED=0
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/*
-}
Copied: python-pylint/repos/community-testing-any/PKGBUILD (from rev 1004124, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-21 07:45:18 UTC (rev 1004125)
@@ -0,0 +1,55 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+_pyname=pylint
+pkgname=python-$_pyname
+pkgver=2.10.1
+pkgrel=1
+pkgdesc='Analyzes Python code looking for bugs and signs of poor quality'
+arch=(any)
+url=https://pylint.org
+license=(GPL)
+_pydeps=(appdirs
+ astroid
+ isort
+ mccabe
+ toml)
+depends=(python
+ "${_pydeps[@]/#/python-}")
+makedepends=(python-setuptools
+ python-sphinx)
+checkdepends=(mpdecimal
+ python-pytest)
+optdepends=('graphviz: Enable output formats other than dot or vcg'
+ 'tk: Pylint GUI')
+_archive="$_pyname-$pkgver"
+source=("https://github.com/PyCQA/pylint/archive/v$pkgver/pylint-$pkgver.tar.gz")
+sha256sums=('2355dd9d22467264c31a1699047d24d5a1d87bd8141d63ad1bd1e2d081ca4b2e')
+
+prepare() {
+ cd "$_archive"
+ # Remove overly restrictive dependency pinning that ends up in runtime checks
+ sed -i -e '/>=/{s/>.*//;p}' setup.cfg
+}
+
+build() {
+ cd "$_archive"
+ python setup.py build
+ make PYTHONPATH="$PWD/build/lib" -C doc man
+}
+
+check() {
+ cd "$_archive"
+ PYTHONPATH="$PWD/build/lib" pytest \
+ --deselect tests/benchmark/test_baseline_benchmarks.py
+}
+
+package() {
+ cd "$_archive"
+ export PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/*
+}
More information about the arch-commits
mailing list