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-glyphsLib] rawhide: Use %pyproject_patch_dependency instead of sed
Date: Sun, 02 Aug 2026 09:02:54 GMT	[thread overview]
Message-ID: <178566137494.1.807470391945357461.rpms-python-glyphsLib-ff0b5465c036@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-glyphsLib
            Branch : rawhide
            Commit : ff0b5465c0360efca3305d89e7eb9d653672ec0d
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-02T09:34:23+01:00
            Stats  : +9/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-glyphsLib/c/ff0b5465c0360efca3305d89e7eb9d653672ec0d?branch=rawhide

            Log:
            Use %pyproject_patch_dependency instead of sed

[skip changelog]

---
diff --git a/python-glyphsLib.spec b/python-glyphsLib.spec
index 28f9100..6cba36e 100644
--- a/python-glyphsLib.spec
+++ b/python-glyphsLib.spec
@@ -55,28 +55,27 @@ Summary:        %{summary}
 
 %prep
 %autosetup -n glyphslib-%{version} -p1
-# - Do not generate linting/coverage dependencies:
-#   https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-sed -r \
 %if %{without ufo_normalization}
-    -e 's/^(ufo[Nn]ormalizer)\b/# &/' \
+%pyproject_patch_dependency ufonormalizer:ignore
 %endif
 %if %{without colr}
-    -e 's/^(skia-pathops)\b/# &/' \
+%pyproject_patch_dependency skia-pathops:ignore
 %endif
 %if %{without xmldiff}
-    -e 's/^(xmldiff)\b/# &/' \
+%pyproject_patch_dependency xmldiff:ignore
 %endif
-    -e 's/^(coverage|flake8.*|black)\b/# &/' \
-    requirements-dev.in |
-  tee requirements-dev-filtered.txt
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+%pyproject_patch_dependency black:ignore
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency flake8-bugbear:ignore
+%pyproject_patch_dependency flake8:ignore
 
 %generate_buildrequires
 %{pyproject_buildrequires \
     %{?with_ufo_normalization:-x ufo_normalization} \
     -x defcon \
     %{?with_colr:-x colr} \
-    %{?with_check:requirements-dev-filtered.txt}}
+    %{?with_check:requirements-dev.in}}
 
 %build
 %pyproject_wheel

                 reply	other threads:[~2026-08-02  9:02 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=178566137494.1.807470391945357461.rpms-python-glyphsLib-ff0b5465c036@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