public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-shapely] f43: Use implicit %pyproject_check_import
@ 2026-10-07 20:11 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-07 20:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-shapely
Branch : f43
Commit : d4d60cefe6ef95a59d9d45acebde24ab44a25ad1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-07T21:04:17+01:00
Stats : +7/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-shapely/c/d4d60cefe6ef95a59d9d45acebde24ab44a25ad1?branch=f43
Log:
Use implicit %pyproject_check_import
[skip changelog]
---
diff --git a/python-shapely.spec b/python-shapely.spec
index 62af74d..c22e3d1 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -20,6 +20,10 @@ Source: %{pypi_source shapely}
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
@@ -73,14 +77,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 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 20:11 [rpms/python-shapely] f43: 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