public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyproject-rpm-macros] f43: Add long options to %_pyproject_check_import_allow_no_modules
Date: Fri, 10 Jul 2026 10:50:03 GMT	[thread overview]
Message-ID: <178368060347.1.7499839596978141848.rpms-pyproject-rpm-macros-b433764db6d2@fedoraproject.org> (raw)

            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\

                 reply	other threads:[~2026-07-10 10:50 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=178368060347.1.7499839596978141848.rpms-pyproject-rpm-macros-b433764db6d2@fedoraproject.org \
    --to=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