public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-jsonschema] 2488367: Add tests bcond for bootstrapping Python
Date: Mon, 15 Jun 2026 07:29:31 GMT	[thread overview]
Message-ID: <178150857161.1.14300131625286004675.rpms-python-jsonschema-12cb94e877bb@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-06-15  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178150857161.1.14300131625286004675.rpms-python-jsonschema-12cb94e877bb@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox