Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
d7abb4d1
Commit
d7abb4d1
authored
Nov 13, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
8097465e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
component/ZODB/buildout.cfg
component/ZODB/buildout.cfg
+8
-5
No files found.
component/ZODB/buildout.cfg
View file @
d7abb4d1
...
...
@@ -19,20 +19,23 @@ parts = ZODB/scripts
recipe = slapos.recipe.build
major = 4
init =
# link/depend ZODB -> ZODB<X>
zodb_x = 'ZODB'+options['major']
options['depends'] = '$${%s:egg}' % zodb_x
zodb_x = self.buildout[zodb_x]
options['egg'] = zodb_x['egg']
options['location'] = zodb_x['setup']
# XXX more ?
print '\n\nAAA'
print self.buildout['versions']
# update [versions] from what is needed by ZODB<X>
# XXX do not change egg version if it is already speficied in [versions] ?
for _ in zodb_x['egg_versions'].splitlines():
egg, eq, version = _.split() # 'transaction = 1.7.0'
assert eq == '='
self.buildout['versions'][egg] = version
print '\n\nBBB'
print self.buildout['versions']
# propagate updated [versions] -> easy_install
# (buildout does this in Buildout constructor)
import zc.buildout.easy_install
zc.buildout.easy_install.default_versions(self.buildout['versions'])
...
...
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