public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-glyphsLib] f44: Use %pyproject_patch_dependency instead of sed
@ 2026-08-02  9:09 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-02  9:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-glyphsLib
            Branch : f44
            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=f44

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-02  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02  9:09 [rpms/python-glyphsLib] f44: Use %pyproject_patch_dependency instead of sed Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox