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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Jul 7 04:32:43 UTC 2022


    Date: Thursday, July 7, 2022 @ 04:32:42
  Author: foutrelis
Revision: 1247578

upgpkg: python-recommonmark 0.7.1-5: fix repro maybe

Avoid generating files in tests/__pycache__/ when running the tests;
these end up in *.egg-info/SOURCES.txt which differs when rebuilderd
builds the package without running check().

Modified:
  python-recommonmark/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-07 03:41:51 UTC (rev 1247577)
+++ PKGBUILD	2022-07-07 04:32:42 UTC (rev 1247578)
@@ -5,7 +5,7 @@
 _name=recommonmark
 pkgname=python-$_name
 pkgver=0.7.1
-pkgrel=4
+pkgrel=5
 pkgdesc='Markdown parser for docutils'
 arch=('any')
 url="https://recommonmark.readthedocs.io/"
@@ -31,7 +31,7 @@
 
 check() {
   cd $_name-$pkgver
-  pytest --deselect tests/test_sphinx.py
+  PYTHONDONTWRITEBYTECODE=1 pytest --deselect tests/test_sphinx.py
 }
 
 package() {



More information about the arch-commits mailing list