Date: Monday, April 24, 2023 @ 05:21:29
  Author: polyzen
Revision: 1448458

upgpkg: python-sphinxcontrib-towncrier 0.3.2a0-4: Do not treat warnings as 
errors

Modified:
  python-sphinxcontrib-towncrier/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-24 05:11:59 UTC (rev 1448457)
+++ PKGBUILD    2023-04-24 05:21:29 UTC (rev 1448458)
@@ -2,7 +2,7 @@
 
 pkgname=python-sphinxcontrib-towncrier
 pkgver=0.3.2a0
-pkgrel=3
+pkgrel=4
 pkgdesc="An RST directive for injecting a Towncrier-generated changelog draft 
containing fragments for the unreleased (next) project version"
 url="https://github.com/sphinx-contrib/sphinxcontrib-towncrier";
 license=('BSD')
@@ -22,7 +22,11 @@
   cd sphinxcontrib-towncrier-$pkgver
   # remove requirement for python-setuptools-scm-git-archive: 
https://github.com/sphinx-contrib/sphinxcontrib-towncrier/pull/80
   patch -Np1 -i ../0001-Update-build-system-dependencies.patch
+
   sed -i '/pytest_cov/d;/--cov/d' pytest.ini
+
+  # Do not treat warnings as errors
+  sed -i '/^  error$/d' pytest.ini
 }
 
 build() {

Reply via email to