Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Web-Scripting:ppc64le
SUSE:SLE-15-SP1:GA
totem
totem-remove-pycopile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File totem-remove-pycopile.patch of Package totem
From 39f82f0a3a78382206badb72fe58b4f611d89c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= <inigomartinez@gmail.com> Date: Thu, 21 Sep 2017 19:08:53 +0200 Subject: build: Remove pycompile utility Since the meson port, Totem has been using the debian specific pycompile utility. This patch removes this utility and uses the python binary to compile python files, which is also used to generate the optimized compiled files. https://bugzilla.gnome.org/show_bug.cgi?id=787965 --- meson_compile_python.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson_compile_python.py b/meson_compile_python.py index 11eba43..9e399c8 100644 --- a/meson_compile_python.py +++ b/meson_compile_python.py @@ -7,5 +7,7 @@ installdir = os.environ['MESON_INSTALL_PREFIX'] if not os.environ.get('DESTDIR'): print('Byte-compiling python modules...') - subprocess.call(['pycompile', installdir]) + subprocess.call(['python', '-m', 'compileall', '-f', '-q', installdir]) + + print('Byte-compiling python modules (optimized versions) ...') subprocess.call(['python', '-O', '-m', 'compileall', '-f', '-q', installdir]) -- cgit v0.12
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor