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.cmmi
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Dmitry Blinov
slapos.recipe.cmmi
Commits
3cace017
Commit
3cace017
authored
Dec 17, 2010
by
Kai Lautaportti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.5.0 release
parent
97b6bc7f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
CHANGES.txt
CHANGES.txt
+3
-3
hexagonit/recipe/cmmi/README.txt
hexagonit/recipe/cmmi/README.txt
+18
-0
setup.py
setup.py
+1
-1
No files found.
CHANGES.txt
View file @
3cace017
Change History
Change History
**************
**************
1.5.0 (
XXXX-XX-XX
)
1.5.0 (
2010-12-17
)
==================
==================
- Refactored the environment variable handling logic. Python versions prior
- Refactored the environment variable handling logic. Python versions prior
...
@@ -29,8 +29,8 @@ Change History
...
@@ -29,8 +29,8 @@ Change History
==================
==================
- Added support for passing options to ``make`` with the new
- Added support for passing options to ``make`` with the new
``make-options`` option. See the
"Installing a package without an
``make-options`` option. See the
`Installing a package without an autoconf
``autoconf`` like system"
section below for an example. [dokai]
like system`_
section below for an example. [dokai]
- The ``--prefix`` parameter will be automatically given to the configure
- The ``--prefix`` parameter will be automatically given to the configure
command if and only if
command if and only if
...
...
hexagonit/recipe/cmmi/README.txt
View file @
3cace017
...
@@ -2,6 +2,7 @@ Supported options
...
@@ -2,6 +2,7 @@ Supported options
=================
=================
``url``
``url``
URL to the package that will be downloaded and extracted. The
URL to the package that will be downloaded and extracted. The
supported package formats are .tar.gz, .tar.bz2, and .zip. The
supported package formats are .tar.gz, .tar.bz2, and .zip. The
value must be a full URL,
value must be a full URL,
...
@@ -9,12 +10,14 @@ Supported options
...
@@ -9,12 +10,14 @@ Supported options
``path`` option can not be used at the same time with ``url``.
``path`` option can not be used at the same time with ``url``.
``path``
``path``
Path to a local directory containing the source code to be built
Path to a local directory containing the source code to be built
and installed. The directory must contain the ``configure``
and installed. The directory must contain the ``configure``
script. The ``url`` option can not be used at the same time with
script. The ``url`` option can not be used at the same time with
``path``.
``path``.
``prefix``
``prefix``
Custom installation prefix passed to the ``--prefix`` option of the
Custom installation prefix passed to the ``--prefix`` option of the
``configure`` script. Defaults to the location of the part. Note that this
``configure`` script. Defaults to the location of the part. Note that this
is a convenience shortcut which assumes that the default ``configure``
is a convenience shortcut which assumes that the default ``configure``
...
@@ -24,28 +27,33 @@ Supported options
...
@@ -24,28 +27,33 @@ Supported options
parameter explicitly in ``configure-options``.
parameter explicitly in ``configure-options``.
``md5sum``
``md5sum``
MD5 checksum for the package file. If available the MD5
MD5 checksum for the package file. If available the MD5
checksum of the downloaded package will be compared to this value
checksum of the downloaded package will be compared to this value
and if the values do not match the execution of the recipe will
and if the values do not match the execution of the recipe will
fail.
fail.
``make-binary``
``make-binary``
Path to the ``make`` program. Defaults to 'make' which
Path to the ``make`` program. Defaults to 'make' which
should work on any system that has the ``make`` program available
should work on any system that has the ``make`` program available
in the system ``PATH``.
in the system ``PATH``.
``make-options``
``make-options``
Extra ``KEY=VALUE`` options included in the invocation of the ``make``
Extra ``KEY=VALUE`` options included in the invocation of the ``make``
program. Multiple options can be given on separate lines to increase
program. Multiple options can be given on separate lines to increase
readability.
readability.
``make-targets``
``make-targets``
Targets for the ``make`` command. Defaults to 'install'
Targets for the ``make`` command. Defaults to 'install'
which will be enough to install most software packages. You only
which will be enough to install most software packages. You only
need to use this if you want to build alternate targets. Each
need to use this if you want to build alternate targets. Each
target must be given on a separate line.
target must be given on a separate line.
``configure-command``
``configure-command``
Name of the configure command that will be run to generate the Makefile.
Name of the configure command that will be run to generate the Makefile.
This defaults to ``./configure`` which is fine for packages that come with
This defaults to ``./configure`` which is fine for packages that come with
a configure script. You may wish to change this when compiling packages
a configure script. You may wish to change this when compiling packages
...
@@ -53,25 +61,30 @@ Supported options
...
@@ -53,25 +61,30 @@ Supported options
an example.
an example.
``configure-options``
``configure-options``
Extra options to be given to the ``configure`` script. By default
Extra options to be given to the ``configure`` script. By default
only the ``--prefix`` option is passed which is set to the part
only the ``--prefix`` option is passed which is set to the part
directory. Each option must be given on a separate line.
directory. Each option must be given on a separate line.
``patch-binary``
``patch-binary``
Path to the ``patch`` program. Defaults to 'patch' which should
Path to the ``patch`` program. Defaults to 'patch' which should
work on any system that has the ``patch`` program available in the
work on any system that has the ``patch`` program available in the
system ``PATH``.
system ``PATH``.
``patch-options``
``patch-options``
Options passed to the ``patch`` program. Defaults to ``-p0``.
Options passed to the ``patch`` program. Defaults to ``-p0``.
``patches``
``patches``
List of patch files to the applied to the extracted source. Each
List of patch files to the applied to the extracted source. Each
file should be given on a separate line.
file should be given on a separate line.
.. _Python hook scripts:
.. _Python hook scripts:
``pre-configure-hook``
``pre-configure-hook``
Custom python script that will be executed before running the
Custom python script that will be executed before running the
``configure`` script. The format of the options is::
``configure`` script. The format of the options is::
...
@@ -97,16 +110,19 @@ Supported options
...
@@ -97,16 +110,19 @@ Supported options
directly.
directly.
``pre-make-hook``
``pre-make-hook``
Custom python script that will be executed before running
Custom python script that will be executed before running
``make``. The format and semantics are the same as with the
``make``. The format and semantics are the same as with the
``pre-configure-hook`` option.
``pre-configure-hook`` option.
``post-make-hook``
``post-make-hook``
Custom python script that will be executed after running
Custom python script that will be executed after running
``make``. The format and semantics are the same as with the
``make``. The format and semantics are the same as with the
``pre-configure-hook`` option.
``pre-configure-hook`` option.
``keep-compile-dir``
``keep-compile-dir``
Switch to optionally keep the temporary directory where the
Switch to optionally keep the temporary directory where the
package was compiled. This is mostly useful for other recipes that
package was compiled. This is mostly useful for other recipes that
use this recipe to compile a software but wish to do some
use this recipe to compile a software but wish to do some
...
@@ -233,6 +249,8 @@ a custom location within the buildout::
...
@@ -233,6 +249,8 @@ a custom location within the buildout::
building package
building package
installing package
installing package
.. _Installing a package without an autoconf like system:
Installing a package without an ``autoconf`` like system
Installing a package without an ``autoconf`` like system
========================================================
========================================================
...
...
setup.py
View file @
3cace017
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
import
os
import
os
version
=
'1.
4
.0'
version
=
'1.
5
.0'
name
=
'hexagonit.recipe.cmmi'
name
=
'hexagonit.recipe.cmmi'
def
read
(
*
rnames
):
def
read
(
*
rnames
):
...
...
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