From 97c24c53a4ad6a1f31c14de93942ca62b82758af Mon Sep 17 00:00:00 2001 From: Kriskras99 Date: Mon, 24 Apr 2017 20:57:17 +0200 Subject: [PATCH 1/2] Build pip with python2 There was a typo in the configure command so it did not build pip. --- packages/python27.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python27.rb b/packages/python27.rb index ba9b39db8d..ff4b6b27fd 100644 --- a/packages/python27.rb +++ b/packages/python27.rb @@ -10,7 +10,7 @@ class Python27 < Package 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\" --with-ensure-pip=install" + system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\" --with-ensurepip=install" system "make" # ordered chronologically end From acf42cd05900c4ee6a00eb534589e9f24e242760 Mon Sep 17 00:00:00 2001 From: Kriskras99 Date: Mon, 24 Apr 2017 20:57:34 +0200 Subject: [PATCH 2/2] Update python27.rb --- packages/python27.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python27.rb b/packages/python27.rb index ff4b6b27fd..6216e24ee6 100644 --- a/packages/python27.rb +++ b/packages/python27.rb @@ -1,7 +1,7 @@ require 'package' class Python27 < Package - version '2.7.13' + version '2.7.13-1' 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