public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyproject-rpm-macros] f43: Add long options to %_pyproject_check_import_allow_no_modules
@ 2026-07-10 10:50
0 siblings, 0 replies; only message in thread
From: @ 2026-07-10 10:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pyproject-rpm-macros
Branch : f43
Commit : b433764db6d2e1a538dae78e7aabb446e9311614
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-07-09T12:18:30+02:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/b433764db6d2e1a538dae78e7aabb446e9311614?branch=f43
Log:
Add long options to %_pyproject_check_import_allow_no_modules
For consistency. Also necessary for the following change.
---
diff --git a/macros.pyproject b/macros.pyproject
index 3a11082..4fcfde3 100644
--- a/macros.pyproject
+++ b/macros.pyproject
@@ -174,6 +174,10 @@ fi
%_pyproject_check_import_allow_no_modules(-) \
+%{lua:require("fedora.rpm.pyproject_getopt").getopt({
+ {short="e", long="exclude", value=true, separator=" -e "},
+ {short="t", long="top-level-only"},
+})}\
if [ -z "$(cat %{_pyproject_modules})" ]; then\
echo "No modules to check found, exiting check"\
else\
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-10 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 10:50 [rpms/pyproject-rpm-macros] f43: Add long options to %_pyproject_check_import_allow_no_modules
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox