public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Add tests bcond for bootstrapping Python
@ 2026-06-15  7:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-15  7:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-jsonschema
Branch : 2488367
Commit : 12cb94e877bb8653e0e561e0be1ae875e2656322
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2019-03-27T11:32:15+01:00
Stats  : +5/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/12cb94e877bb8653e0e561e0be1ae875e2656322?branch=2488367

Log:
Add tests bcond for bootstrapping Python

---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index e0bc7e9..43e00d9 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -28,11 +28,14 @@ BuildRequires:  python3dist(setuptools)
 BuildRequires:  python3dist(setuptools-scm)
 
 # test requirements
+%bcond_without tests
+%if %{with tests}
 BuildRequires:  python3dist(attrs)
 BuildRequires:  python3dist(perf)
 BuildRequires:  python3dist(pyrsistent)
 BuildRequires:  python3dist(six)
 BuildRequires:  python3dist(twisted)
+%endif
 
 %description %{common_description}
 
@@ -60,8 +63,10 @@ rm -rf %{pypi_name}.egg-info
 %py3_install
 
 
+%if %{with tests}
 %check
 PYTHONPATH=$(pwd) trial-3 %{pypi_name}
+%endif
 
 
 %files -n python3-%{pypi_name}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  7:29 [rpms/python-jsonschema] 2488367: Add tests bcond for bootstrapping Python 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox