Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nxd-bom
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
Levin Zimmermann
nxd-bom
Commits
7586c2ae
Commit
7586c2ae
authored
Jun 05, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cloudooo also uses libpng1.2 and libpng1.6 simultaneously
Fix it similarly to how readline is handled in ERP5 SR.
parent
488dbbc2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
nxdbom/__init__.py
nxdbom/__init__.py
+3
-2
nxdbom/nxdbom_test.py
nxdbom/nxdbom_test.py
+12
-2
No files found.
nxdbom/__init__.py
View file @
7586c2ae
...
...
@@ -311,8 +311,9 @@ def namever(url, failonerr=True): # -> (name, ver) | None if !failonerr
ver = del_tgztail(ver)
ver = removeprefix(ver, '
v
')
# XXX hack: in ERP5 SR we use both readline8 and readline-5
if name == '
readline
' and ver.startswith('
5
'):
name += '
5
'
# XXX in Cloudooo SR ----//---- libpng16 and libpng12
if name == '
readline
' and ver.startswith('
5
'): name += '
5
'
if name == '
libpng
' and ver.startswith('
1.2
'): name += '
12
'
return name, ver
def _namever(url, failonerr):
...
...
nxdbom/nxdbom_test.py
View file @
7586c2ae
...
...
@@ -306,15 +306,25 @@ recipe = plone.recipe.command
"""
,
''
)
# readline 8 and 5 used simultaneously -> older one is presented as readline5
# libpng 12 and 16 used simultaneously -> ----//---- libpng12
case1
(
"""
\
[readline]
recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
[readline5]
recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
[libpng]
recipe = slapos.recipe.cmmi
url = http://download.sourceforge.net/libpng/libpng-1.6.37.tar.xz
[libpng12]
recipe = slapos.recipe.cmmi
url = http://download.sourceforge.net/libpng/libpng-1.2.59.tar.xz
"""
,
"""
\
libpng 1.6.37 http://download.sourceforge.net/libpng/libpng-1.6.37.tar.xz
libpng12 1.2.59 http://download.sourceforge.net/libpng/libpng-1.2.59.tar.xz
readline 8.1 http://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
readline5 5.2 http://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
"""
)
...
...
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