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
6eafa381
Commit
6eafa381
authored
Aug 23, 2012
by
Domen Kožar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: another try
parent
859d3229
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Makefile
Makefile
+10
-10
No files found.
Makefile
View file @
6eafa381
...
...
@@ -31,16 +31,6 @@ $(PYTHON_PATH):
mkdir
-p
$(PYTHON_PATH)
cd
$(PYTHON_PATH)
&&
\
curl
--progress-bar
$(PYTHON_DOWNLOAD)
|
tar
-zx
ifeq
($(PYTHON_VER),2.4)
sed
-i
's@#zlib zlibmodule.c -I
$(prefix)
/include -L
$(exec_prefix)
@zlib zlibmodule.c -I
$(prefix)
/include -L
$(exec_prefix)
@'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup.dist"
sed
-i
'200i_socket socketmodule.c'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup.dist"
sed
-i
'202iSSL=/usr/lib/ssl _ssl _ssl.c -DUSE_SSL -I/usr/include/openssl -L/usr/lib/ssl -lssl -lcrypto'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup.dist"
endif
ifeq
($(PYTHON_VER),2.5)
sed
-i
'1ifrom __future__ import with_statement'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/setup.py"
sed
-i
'200i_socket socketmodule.c'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup.dist"
sed
-i
'202iSSL=/usr/lib/ssl _ssl _ssl.c -DUSE_SSL -I/usr/include/openssl -L/usr/lib/ssl -lssl -lcrypto'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup.dist"
endif
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
...
...
@@ -49,6 +39,16 @@ ifeq ($(PYTHON_VER),2.6)
endif
cd
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
&&
\
./configure
--prefix
$(PYTHON_PATH)
--with-zlib
=
/usr/include
--without-sqlite
>
/dev/null 2>&1
&&
\
ifeq
(
$(PYTHON_VER)
,2.4
)
sed
-i
's@#zlib zlibmodule.c -I
$(prefix)
/include -L
$(exec_prefix)
@zlib zlibmodule.c -I
$(prefix)
/include -L
$(exec_prefix)
@'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup"
sed
-i
'200i_socket socketmodule.c'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup"
sed
-i
'202iSSL=/usr/lib/ssl _ssl _ssl.c -DUSE_SSL -I/usr/include/openssl -L/usr/lib/ssl -lssl -lcrypto'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup"
endif
ifeq
($(PYTHON_VER),2.5)
sed
-i
'1ifrom __future__ import with_statement'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/setup.py"
sed
-i
'200i_socket socketmodule.c'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup"
sed
-i
'202iSSL=/usr/lib/ssl _ssl _ssl.c -DUSE_SSL -I/usr/include/openssl -L/usr/lib/ssl -lssl -lcrypto'
"
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE)
/Modules/Setup"
endif
make
&&
\
make
install
>
/dev/null 2>&1
@
echo
"Finished installing Python"
...
...
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