public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-shapely] f44: Use implicit %pyproject_check_import
@ 2026-10-07 19:27 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-07 19:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-shapely
Branch : f44
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=f44
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 19:27 [rpms/python-shapely] f44: Use implicit %pyproject_check_import 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