public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-yarl] rawhide: Use various long options
@ 2026-09-23 6:29 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-23 6:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-yarl
Branch : rawhide
Commit : 43963837a10eea32c63b7fc76be79a4758b2a6f0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-16T12:15:41+01:00
Stats : +4/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-yarl/c/43963837a10eea32c63b7fc76be79a4758b2a6f0?branch=rawhide
Log:
Use various long options
---
diff --git a/python-yarl.spec b/python-yarl.spec
index 5298e2c..81bda43 100644
--- a/python-yarl.spec
+++ b/python-yarl.spec
@@ -32,7 +32,7 @@ The module provides handy URL class for URL parsing and changing.
%prep
%autosetup -n %{pypi_name}-%{version} -p1
# Disable coverage
-sed -r -e 's/(-.*cov.*$)/#\1/g' -i pytest.ini
+sed --regexp-extended --in-place 's/(-.*cov.*$)/#\1/g' pytest.ini
%generate_buildrequires
%pyproject_buildrequires
@@ -47,7 +47,9 @@ sed -r -e 's/(-.*cov.*$)/#\1/g' -i pytest.ini
%check
# Ignore the benchmark tests which require pytest_codspeed which is not
# packaged in Fedora.
-%pytest -v --ignore tests/test_quoting_benchmarks.py --ignore tests/test_url_benchmarks.py tests
+ignore="${ignore-} --ignore tests/test_quoting_benchmarks.py"
+ignore="${ignore-} --ignore tests/test_url_benchmarks.py"
+%pytest ${ignore-} --verbose tests
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc CHANGES.rst README.rst
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 6:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 6:29 [rpms/python-yarl] rawhide: Use various long options Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox