[arch-commits] Commit in python-cfn-lint/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri May 22 02:50:32 UTC 2020


    Date: Friday, May 22, 2020 @ 02:50:31
  Author: yan12125
Revision: 631517

upgpkg: python-cfn-lint 0.32.1-2; work around non-reproducible .pyc

Modified:
  python-cfn-lint/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-22 01:07:49 UTC (rev 631516)
+++ PKGBUILD	2020-05-22 02:50:31 UTC (rev 631517)
@@ -2,7 +2,7 @@
 
 pkgname=python-cfn-lint
 pkgver=0.32.1
-pkgrel=1
+pkgrel=2
 pkgdesc='CloudFormation Linter'
 arch=(any)
 url='https://github.com/aws-cloudformation/cfn-python-lint'
@@ -35,7 +35,8 @@
 
 package() {
   cd cfn-python-lint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033
+  PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list