Commit 5edc1a0f authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #366 from cstrouse/update-python

Update Python from 2.7.12 to 2.7.13
parents b8adbe70 bb464f07
require 'package'
class Python27 < Package
version '2.7.12'
source_url 'https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz' # software source tarball url
source_sha1 '05360b8ade117b35e266b2004a7f1f11250c6dcd' # source tarball sha1 sum
version '2.7.13'
source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz' # software source tarball url
source_sha1 '18a8f30a0356c751b8d0ea6f76e764cab13ee046' # source tarball sha1 sum
depends_on 'bz2'
depends_on 'ncurses'
depends_on 'openssl'
def self.build # self.build contains commands needed to build the software from source
system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\""
system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\" --with-ensure-pip=install"
system "make" # ordered chronologically
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment