[arch-commits] Commit in python-pylint/trunk (PKGBUILD)
    Caleb Maclennan 
    alerque at gemini.archlinux.org
       
    Fri Aug 20 14:29:04 UTC 2021
    
    
  
    Date: Friday, August 20, 2021 @ 14:29:03
  Author: alerque
Revision: 1003992
upgpkg: python-pylint 2.9.6-2; unpin versions for runtime dependency checks
Modified:
  python-pylint/trunk/PKGBUILD
----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-20 14:10:03 UTC (rev 1003991)
+++ PKGBUILD	2021-08-20 14:29:03 UTC (rev 1003992)
@@ -7,7 +7,7 @@
 _pyname=pylint
 pkgname=python-$_pyname
 pkgver=2.9.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Analyzes Python code looking for bugs and signs of poor quality'
 arch=(any)
 url=https://pylint.org
@@ -29,6 +29,12 @@
 source=("https://github.com/PyCQA/pylint/archive/v$pkgver/pylint-$pkgver.tar.gz")
 sha256sums=('e6335c810ee3ff4b59e3990db49cf0d1e263e122b766853755436d88133c9496')
 
+prepare() {
+	cd "$_archive"
+	# Remove overly restrictive dependency version pinning that ends up in runtime checks
+	sed -i -e '/>=/{s/>.*//;p}' setup.cfg
+}
+
 build() {
 	cd "$_archive"
 	python setup.py build
    
    
More information about the arch-commits
mailing list