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] f43: Use implicit %pyproject_check_import
Date: Wed, 07 Oct 2026 20:11:35 GMT [thread overview]
Message-ID: <179140389557.1.12594872899751193409.rpms-python-shapely-d4d60cefe6ef@fedoraproject.org> (raw)
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}
reply other threads:[~2026-10-07 20:11 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=179140389557.1.12594872899751193409.rpms-python-shapely-d4d60cefe6ef@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