Skip to content

Instantly share code, notes, and snippets.

@jayd3e
Created June 28, 2013 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayd3e/5881879 to your computer and use it in GitHub Desktop.
Save jayd3e/5881879 to your computer and use it in GitHub Desktop.
python_deps:
pkg:
- installed
- pkgs:
- openssl
- libssl-dev
- libbz2-dev
- zlib1g-dev
- libexpat1-dev
- libdb4.8-dev
- libsqlite3-dev
- libncursesw5-dev
- libncurses5-dev
- libreadline-dev
- libxml2-dev
- libxslt-dev
/tmp/:
archive:
- extracted
- source: http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
- source_hash: md5=2cf641732ac23b18d139be077bd906cd
- archive_format: tar
- tar_options: z
- if_missing: /tmp/Python-2.7.3
- require:
- pkg: python_deps
./configure --prefix=/opt/python-2.7.3:
cmd:
- run
- cwd: /tmp/Python-2.7.3
- unless: test -e /opt/python-2.7.3/bin/python
make && make install:
cmd:
- run
- cwd: /tmp/Python-2.7.3
- unless: test -e /opt/python-2.7.3/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment