Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nirina Malard
slapos
Commits
88f6d8d7
Commit
88f6d8d7
authored
Oct 04, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python2.7: small cleanup
parent
fc078c3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
component/python-2.7/buildout.cfg
component/python-2.7/buildout.cfg
+3
-6
No files found.
component/python-2.7/buildout.cfg
View file @
88f6d8d7
...
@@ -33,11 +33,8 @@ package_version = 2.7.18
...
@@ -33,11 +33,8 @@ package_version = 2.7.18
package_version_suffix =
package_version_suffix =
md5sum = fd6cc8ec0a78c44036f825e739f36e5a
md5sum = fd6cc8ec0a78c44036f825e739f36e5a
# This is actually the default setting for prefix, but we can't use it in
# other settings in this part if we don't set it explicitly here.
prefix = @@LOCATION@@
version = 2.7
version = 2.7
executable =
${:prefix}
/bin/python${:version}
executable =
@@LOCATION@@
/bin/python${:version}
patch-options = -p1
patch-options = -p1
patches =
patches =
...
@@ -61,11 +58,11 @@ make-targets = make profile-opt && make install
...
@@ -61,11 +58,11 @@ make-targets = make profile-opt && make install
# recent RedHat would otherwise mangle them, either failing ('python' is
# recent RedHat would otherwise mangle them, either failing ('python' is
# ambiguous and 'python2' is not supported anymore) or replacing with
# ambiguous and 'python2' is not supported anymore) or replacing with
# something that's really wrong (/usr/bin/python...).
# something that's really wrong (/usr/bin/python...).
post-install = cd '
${:prefix}
' &&
post-install = cd '
%(prefix)s
' &&
find -executable -type f -print0 |
find -executable -type f -print0 |
xargs -0 grep -I -m 1 '' |
xargs -0 grep -I -m 1 '' |
sed -n 's,:#! */usr/bin/env \+python2\?$,,p' |
sed -n 's,:#! */usr/bin/env \+python2\?$,,p' |
xargs -d '\n' sed -i '1s,.*,#!
${:executable}
,'
xargs -d '\n' sed -i '1s,.*,#!
%(executable)s
,'
# the entry "-Wl,-rpath=${file:location}/lib" below is needed by python-magic,
# the entry "-Wl,-rpath=${file:location}/lib" below is needed by python-magic,
# which would otherwise load the system libmagic.so with ctypes
# which would otherwise load the system libmagic.so with ctypes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment