Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Nicolas Wavrant
slapos.buildout
Commits
e69f82cf
Commit
e69f82cf
authored
Jul 01, 2015
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Plain Diff
Merged master
parents
f9053aa1
4cf5773f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
8 deletions
+23
-8
.travis.yml
.travis.yml
+8
-0
CHANGES.rst
CHANGES.rst
+5
-0
Makefile
Makefile
+10
-8
No files found.
.travis.yml
View file @
e69f82cf
...
@@ -6,11 +6,19 @@ env:
...
@@ -6,11 +6,19 @@ env:
-
PYTHON_VER=3.3
-
PYTHON_VER=3.3
-
PYTHON_VER=3.4
-
PYTHON_VER=3.4
sudo
:
false
cache
:
directories
:
-
pythons
# Note on this cache directories: "make build" downloads pythons elsewhere,
# but installs the compiled bin/lib/share in pythons/pythonx.y/ .
notifications
:
notifications
:
email
:
email
:
-
buildout-development@googlegroups.com
-
buildout-development@googlegroups.com
install
:
install
:
-
ls -al pythons
-
deactivate
-
deactivate
-
make build
-
make build
...
...
CHANGES.rst
View file @
e69f82cf
...
@@ -29,6 +29,11 @@ Unreleased
...
@@ -29,6 +29,11 @@ Unreleased
higher
for
this
functionality
.
higher
for
this
functionality
.
[
lrowe
]
[
lrowe
]
-
Updated
buildout
's `travis-ci <https://travis-ci.org/buildout/buildout>`_
configuration so that tests run much quicker so that buildout is easier and
quicker to develop.
[reinout]
- When bootstrapping, the ``develop-eggs/`` directory is first removed. This
- When bootstrapping, the ``develop-eggs/`` directory is first removed. This
prevents old left-over ``.egg-link`` files from breaking buildout'
s
careful
prevents old left-over ``.egg-link`` files from breaking buildout'
s
careful
package
collection
mechanism
.
package
collection
mechanism
.
...
...
Makefile
View file @
e69f82cf
HERE
=
$(
shell
pwd
)
HERE
=
$(
shell
pwd
)
PYTHON_VER
?=
2.7
PYTHON_VER
?=
2.7
PYTHON_PATH
=
$(HERE)
/python
$(PYTHON_VER)
PYTHON_PATH
=
$(HERE)
/pythons/
$(PYTHON_VER)
PYTHON_BUILD_DIR
=
$(HERE)
/python_builds
ifeq
($(PYTHON_VER),2.6)
ifeq
($(PYTHON_VER),2.6)
PYTHON_MINOR
?=
2.6.8
PYTHON_MINOR
?=
2.6.8
...
@@ -32,28 +33,29 @@ BUILD_DIRS = $(PYTHON_PATH) bin build develop-eggs eggs parts
...
@@ -32,28 +33,29 @@ BUILD_DIRS = $(PYTHON_PATH) bin build develop-eggs eggs parts
all
:
build
all
:
build
$(PYTHON_PATH)
:
$(PYTHON_PATH)
/bin/$(PYTHON_EXE)
:
@
echo
"Installing Python"
@
echo
"Installing Python"
mkdir
-p
$(PYTHON_PATH)
mkdir
-p
$(PYTHON_PATH)
cd
$(PYTHON_PATH)
&&
\
mkdir
-p
$(PYTHON_BUILD_DIR)
cd
$(PYTHON_BUILD_DIR)
&&
\
curl
--progress-bar
--location
$(PYTHON_DOWNLOAD)
|
tar
-zx
curl
--progress-bar
--location
$(PYTHON_DOWNLOAD)
|
tar
-zx
ifeq
($(PYTHON_VER),2.6)
ifeq
($(PYTHON_VER),2.6)
cd
$(PYTHON_
PATH
)
&&
\
cd
$(PYTHON_
BUILD_DIR
)
&&
\
curl
--progress-bar
-L
https://raw.github.com/collective/buildout.python/ad45adb78bfa37542d62a394392d5146fce5af34/src/issue12012-sslv2-py26.patch
>
ssl.patch
curl
--progress-bar
-L
https://raw.github.com/collective/buildout.python/ad45adb78bfa37542d62a394392d5146fce5af34/src/issue12012-sslv2-py26.patch
>
ssl.patch
cd
$(PYTHON_
PATH
)
/
$(PYTHON_ARCHIVE)
&&
\
cd
$(PYTHON_
BUILD_DIR
)
/
$(PYTHON_ARCHIVE)
&&
\
patch
-p0
< ../ssl.patch
patch
-p0
< ../ssl.patch
endif
endif
cd
$(PYTHON_
PATH
)
/
$(PYTHON_ARCHIVE)
&&
\
cd
$(PYTHON_
BUILD_DIR
)
/
$(PYTHON_ARCHIVE)
&&
\
./configure
--prefix
$(PYTHON_PATH)
$(PYTHON_CONFIGURE_ARGS)
>
/dev/null 2>&1
&&
\
./configure
--prefix
$(PYTHON_PATH)
$(PYTHON_CONFIGURE_ARGS)
>
/dev/null 2>&1
&&
\
make
>
/dev/null 2>&1
&&
\
make
>
/dev/null 2>&1
&&
\
make
install
>
/dev/null 2>&1
make
install
>
/dev/null 2>&1
@
echo
"Finished installing Python"
@
echo
"Finished installing Python"
build
:
$(PYTHON_PATH)
build
:
$(PYTHON_PATH)
/bin/$(PYTHON_EXE)
$(PYTHON_PATH)
/bin/
$(PYTHON_EXE)
dev.py
$(PYTHON_PATH)
/bin/
$(PYTHON_EXE)
dev.py
clean
:
clean
:
rm
-rf
$(BUILD_DIRS)
rm
-rf
$(BUILD_DIRS)
$(PYTHON_BUILD_DIR)
test
:
test
:
$(HERE)
/bin/test
-1
-v
$(HERE)
/bin/test
-1
-v
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