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
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.buildout
Commits
1bccc54d
Commit
1bccc54d
authored
Aug 23, 2012
by
Domen Kožar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: backport from master
parent
536d5a13
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
9 deletions
+66
-9
.travis.yml
.travis.yml
+13
-7
Makefile
Makefile
+51
-0
src/zc/buildout/buildout.txt
src/zc/buildout/buildout.txt
+2
-2
No files found.
.travis.yml
View file @
1bccc54d
language
:
python
language
:
python
python
:
env
:
-
2.7
-
PYTHON_VER=2.4
-
2.6
-
PYTHON_VER=2.5
-
2.5
-
PYTHON_VER=2.6
-
PYTHON_VER=2.7
branches
:
only
:
-
1.6.x
install
:
install
:
-
python dev.py -d
-
deactivate
-
make build
script
:
script
:
make test
-
bin/test
Makefile
0 → 100644
View file @
1bccc54d
HERE
=
$(
shell
pwd
)
PYTHON_VER
?=
2.7
PYTHON_MINOR
?=
2.7.3
PYTHON_PATH
=
$(HERE)
/python
$(PYTHON_VER)
ifeq
($(PYTHON_VER),2.6)
PYTHON_MINOR
=
2.6.8
endif
ifeq
($(PYTHON_VER),2.5)
PYTHON_MINOR
=
2.5.6
endif
ifeq
($(PYTHON_VER),2.4)
PYTHON_MINOR
=
2.4.6
endif
PYTHON_ARCHIVE
?=
Python-
$(PYTHON_MINOR)
PYTHON_DOWNLOAD
=
http://www.python.org/ftp/python/
$(PYTHON_MINOR)
/
$(PYTHON_ARCHIVE)
.tgz
PYTHON_EXE
=
python
$(PYTHON_VER)
.PHONY
:
all build test
BUILD_DIRS
=
$(PYTHON_PATH)
bin build develop-eggs eggs parts
all
:
build
$(PYTHON_PATH)
:
@
echo
"Installing Python"
mkdir
-p
$(PYTHON_PATH)
cd
$(PYTHON_PATH)
&&
\
curl
--progress-bar
$(PYTHON_DOWNLOAD)
|
tar
-zx
ifeq
($(PYTHON_VER),2.6)
cd
$(PYTHON_PATH)
&&
\
curl
--progress-bar
https://raw.github.com/collective/buildout.python/master/src/issue12012-sslv2-py26.txt
>
ssl.txt
cd
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
&&
\
patch
-p0
< ../ssl.txt
endif
cd
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
&&
\
./configure
--prefix
$(PYTHON_PATH)
>
/dev/null 2>&1
&&
\
make
>
/dev/null 2>&1
&&
\
make
install
>
/dev/null 2>&1
@
echo
"Finished installing Python"
build
:
$(PYTHON_PATH)
$(PYTHON_PATH)
/bin/
$(PYTHON_EXE)
dev.py
clean
:
rm
-rf
$(BUILD_DIRS)
test
:
$(HERE)
/bin/test
-v
src/zc/buildout/buildout.txt
View file @
1bccc54d
...
@@ -1187,13 +1187,13 @@ Set up a buildout configuration for this extension.
...
@@ -1187,13 +1187,13 @@ Set up a buildout configuration for this extension.
... """)
... """)
>>> os.chdir(sample_buildout)
>>> os.chdir(sample_buildout)
>>> print system(os.path.join(sample_buildout, 'bin', 'buildout')),
>>> print system(os.path.join(sample_buildout, 'bin', 'buildout')),
# doctest: +ELLIPSIS
Develop: '/sample-buildout/demo'
Develop: '/sample-buildout/demo'
Uninstalling myfiles.
Uninstalling myfiles.
Getting distribution for 'recipes'.
Getting distribution for 'recipes'.
zip_safe flag not set; analyzing archive contents...
zip_safe flag not set; analyzing archive contents...
Got recipes 0.0.0.
Got recipes 0.0.0.
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
warning: install_lib: 'build/lib
...
' does not exist -- no Python modules to install
Verify option values.
Verify option values.
...
...
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