Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
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
nexedi
chromebrew
Commits
031dc177
Commit
031dc177
authored
7 years ago
by
Damian Montero
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #401 from bfayers/python36
(UPDATE) Remove python34 & replace with python3
parents
3debea1a
4e1becb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
packages/python3.rb
packages/python3.rb
+10
-8
No files found.
packages/python3
4
.rb
→
packages/python3.rb
View file @
031dc177
require
'package'
require
'package'
class
Python3
4
<
Package
class
Python3
<
Package
version
'3.
4.1
'
version
'3.
6.0
'
source_url
'https://www.python.org/ftp/python/3.
4.1/Python-3.4.1.tgz'
# software source tarball url
source_url
'https://www.python.org/ftp/python/3.
6.0/Python-3.6.0.tgz'
# software source tarball url
source_sha1
'
e8c1bd575a6ccc2a75f79d9d094a6a29d3802f5d'
# source tarball sha1 sum
source_sha1
'
120d536ee14a3153fc2435838c0f27c2e25cd29c'
# source tarball sha1 sum
depends_on
'bz2'
depends_on
'ncurses'
depends_on
'openssl'
depends_on
'openssl'
def
self
.
build
# self.build contains commands needed to build the software from source
def
self
.
build
# self.build contains commands needed to build the software from source
system
"./configure"
system
"./configure
--prefix=/usr/local CPPFLAGS=
\"
-I/usr/local/include -I/usr/local/include/ncurses
\"
LDFLAGS=
\"
-L/usr/local/lib
\"
CFLAGS=
\"
-fPIC
\"
"
system
"make"
# ordered chronologically
system
"make"
# ordered chronologically
end
end
def
self
.
install
# self.install contains commands needed to install the software on the target system
def
self
.
install
# self.install contains commands needed to install the software on the target system
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
# remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
# remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
end
end
end
end
This diff is collapsed.
Click to expand it.
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