public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-shapely] f45: Use implicit %pyproject_check_import
Date: Wed, 07 Oct 2026 14:32:59 GMT [thread overview]
Message-ID: <179138357923.1.16933706262724119509.rpms-python-shapely-84cdba369989@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-shapely
Branch : f45
Commit : 84cdba36998943943a4a6af6fb310de1db19d988
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-07T11:35:43+01:00
Stats : +7/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-shapely/c/84cdba36998943943a4a6af6fb310de1db19d988?branch=f45
Log:
Use implicit %pyproject_check_import
[skip changelog]
---
diff --git a/python-shapely.spec b/python-shapely.spec
index bd4038c..442894b 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -23,6 +23,10 @@ ExcludeArch: %{ix86}
BuildSystem: pyproject
BuildOption(install): -l shapely
BuildOption(generate_buildrequires): -x test
+BuildOption(check): -e 'shapely.tests*'
+%if %{without matplotlib}
+BuildOption(check): -e shapely.plotting
+%endif
BuildRequires: tomcli
BuildRequires: gcc
@@ -76,14 +80,15 @@ tomcli set pyproject.toml lists delitem \
%endif
-%check
+%check -p
# Ensure the “un-built” package is not imported. Otherwise compiled extensions
# cannot be tested.
mkdir empty
cd empty
ln -s ../shapely/tests/
-%pyproject_check_import -e 'shapely.tests*' %{?!with_matplotlib:-e shapely.plotting}
+
+%check -a
%pytest -rs -v
%if %{with doctests}
reply other threads:[~2026-10-07 14:32 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=179138357923.1.16933706262724119509.rpms-python-shapely-84cdba369989@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=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