diff options
Diffstat (limited to 'pkgs/tools/misc/system-config-printer/pep517.patch')
-rw-r--r-- | pkgs/tools/misc/system-config-printer/pep517.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/tools/misc/system-config-printer/pep517.patch b/pkgs/tools/misc/system-config-printer/pep517.patch new file mode 100644 index 0000000000000..1b02a548564f4 --- /dev/null +++ b/pkgs/tools/misc/system-config-printer/pep517.patch @@ -0,0 +1,16 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -59,11 +59,11 @@ dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Pr + + # Use distutils to build the module. + all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py +- $(PYTHON) setup.py build ++ $(PYTHON) -m build --no-isolation --outdir dist/ --wheel + + # Use distutils to install the module. + install-exec-local: .stamp-distutils-in-builddir +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) -m installer --prefix=$(prefix) dist/*.whl + + # Uninstall the module, crossing our fingers that we know enough + # about how distutils works to do this. Unfortunately, distutils |