public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ufoLib2] rawhide: Use the provisional pyproject declarative buildsystem
@ 2026-07-17  4:43 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-17  4:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-ufoLib2
Branch : rawhide
Commit : f3d5402594d6117fb6fcdb4ac0296d011e669332
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-17T04:54:37+01:00
Stats  : +5/-15 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-ufoLib2/c/f3d5402594d6117fb6fcdb4ac0296d011e669332?branch=rawhide

Log:
Use the provisional pyproject declarative buildsystem

---
diff --git a/python-ufoLib2.spec b/python-ufoLib2.spec
index e364a6e..33f0f56 100644
--- a/python-ufoLib2.spec
+++ b/python-ufoLib2.spec
@@ -7,6 +7,10 @@ License:        Apache-2.0
 URL:            https://github.com/fonttools/ufoLib2
 Source:         %{pypi_source ufolib2}
 
+BuildSystem:    pyproject
+BuildOption(generate_buildrequires): --extras lxml,converters,json,msgpack
+BuildOption(install): --assert-license ufoLib2
+
 BuildArch:      noarch
 
 # Required for running tests
@@ -26,21 +30,7 @@ Summary:        %{summary}
 
 %pyproject_extras_subpkg -n python3-ufoLib2 lxml converters json msgpack
 
-%prep
-%autosetup -n ufolib2-%{version}
-
-%generate_buildrequires
-%pyproject_buildrequires --extras lxml,converters,json,msgpack
-
-%build
-%pyproject_wheel
-
-%install
-%pyproject_install
-%pyproject_save_files --assert-license ufoLib2
-
-%check
-%pyproject_check_import
+%check -a
 %pytest --verbose
 
 %files -n python3-ufoLib2 -f %{pyproject_files}

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

only message in thread, other threads:[~2026-07-17  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17  4:43 [rpms/python-ufoLib2] rawhide: Use the provisional pyproject declarative buildsystem 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