Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.build
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
Boxiang Sun
slapos.recipe.build
Commits
daba065d
Commit
daba065d
authored
Aug 26, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release slapos.recipe.build-0.1
parent
3a48320e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
CHANGES.txt
CHANGES.txt
+4
-2
README.txt
README.txt
+12
-0
setup.py
setup.py
+1
-1
No files found.
CHANGES.txt
View file @
daba065d
0.1 (
unreleased
)
0.1 (
2011-08-26
)
================
* No changes yet.
* Add copyTree method to recursively copy [Cedric de Saint Martin]
* add guessPlatform function to guess architecture in case of
multi-architecture installation
\ No newline at end of file
README.txt
View file @
daba065d
...
...
@@ -73,6 +73,18 @@ Example buildout::
execute('make install DEST=%(location)s')
slapos_promisee =
...
[multiarchitecture]
recipe = slapos.recipe.build
slapos_promisee =
...
x86 = http://host/path/x86.zip
x86-64 = http://host/path/x64.zip
script =
if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
workdir = guessworkdir(extract_dir)
self.copyTree(workdir, "%(location)s")
TODO:
...
...
setup.py
View file @
daba065d
from
setuptools
import
setup
,
find_packages
version
=
'0.1
-dev
'
version
=
'0.1'
name
=
'slapos.recipe.build'
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
...
...
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