mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
system-config-printer: fix installation of python module
This commit is contained in:
parent
2b62ce3d06
commit
14b035b0e8
2 changed files with 12 additions and 1 deletions
11
srcpkgs/system-config-printer/patches/python3.12.patch
Normal file
11
srcpkgs/system-config-printer/patches/python3.12.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -1955,7 +1955,7 @@
|
||||||
|
|
||||||
|
# Use distutils to install the module.
|
||||||
|
install-exec-local: .stamp-distutils-in-builddir
|
||||||
|
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
|
||||||
|
+ $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) --single-version-externally-managed
|
||||||
|
|
||||||
|
# Uninstall the module, crossing our fingers that we know enough
|
||||||
|
# about how distutils works to do this. Unfortunately, distutils
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'system-config-printer'
|
# Template file for 'system-config-printer'
|
||||||
pkgname=system-config-printer
|
pkgname=system-config-printer
|
||||||
version=1.5.18
|
version=1.5.18
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
pycompile_dirs="usr/share/system-config-printer"
|
pycompile_dirs="usr/share/system-config-printer"
|
||||||
configure_args="--with-udev-rules"
|
configure_args="--with-udev-rules"
|
||||||
|
|
Loading…
Add table
Reference in a new issue