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-cattrs] f44: Use pyproject long options (to improve readability)
Date: Sat, 11 Jul 2026 15:44:51 GMT	[thread overview]
Message-ID: <178378469109.1.7831011754146039313.rpms-python-cattrs-5f3414439ea0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-cattrs
            Branch : f44
            Commit : 5f3414439ea0483c8f4bcb976ee5f39537de85b7
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-11T06:48:54+01:00
            Stats  : +10/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-cattrs/c/5f3414439ea0483c8f4bcb976ee5f39537de85b7?branch=f44

            Log:
            Use pyproject long options (to improve readability)

[skip changelog]

---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index a6910b7..309230e 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -102,25 +102,25 @@ rm --recursive --verbose docs/_static/fonts/
 %generate_buildrequires
 export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
 %{pyproject_buildrequires \
-    -x ujson \
+    --extras ujson \
 %if %{with orjson}
-    -x orjson \
+    --extras orjson \
 %endif
 %if %{with msgpack}
-    -x msgpack \
+    --extras msgpack \
 %endif
-    -x pyyaml \
-    -x tomlkit \
+    --extras pyyaml \
+    --extras tomlkit \
 %if %{with cbor2}
-    -x cbor2 \
+    --extras cbor2 \
 %endif
 %if %{with bson}
-    -x bson \
+    --extras bson \
 %endif
 %if %{msgspec_enabled}
-    -x msgspec \
+    --extras msgspec \
 %endif
-    -g test}
+    --dependency-groups test}
 
 
 %build
@@ -130,7 +130,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
 
 %install
 %pyproject_install
-%pyproject_save_files -l cattrs cattr
+%pyproject_save_files --assert-license cattrs cattr
 
 
 %check

                 reply	other threads:[~2026-07-11 15:44 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=178378469109.1.7831011754146039313.rpms-python-cattrs-5f3414439ea0@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