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
Guillaume Hervier
chromebrew
Commits
01639910
Commit
01639910
authored
Feb 13, 2018
by
Gangstead
Committed by
GitHub
Feb 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1848 from uberhacker/fix-corrupt-binaries
Fix corrupt binaries for python27, python3 and meson
parents
ef6d3c7a
821355bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
14 deletions
+39
-14
packages/meson.rb
packages/meson.rb
+10
-10
packages/python27.rb
packages/python27.rb
+15
-2
packages/python3.rb
packages/python3.rb
+14
-2
No files found.
packages/meson.rb
View file @
01639910
...
...
@@ -3,26 +3,26 @@ require 'package'
class
Meson
<
Package
description
'The Meson Build System'
homepage
'http://mesonbuild.com/'
version
'0.44.0'
version
'0.44.0
-1
'
source_url
'https://github.com/mesonbuild/meson/releases/download/0.44.0/meson-0.44.0.tar.gz'
source_sha256
'50f9b12b77272ef6ab064d26b7e06667f07fa9f931e6a20942bba2216ba4281b'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-
1-
chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-
1-
chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-
1-
chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/meson-0.44.0-
1-
chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
c814597fe5e7484842fb29bab30950dae676de79abf13bb4f27a04b21050ed1c
'
,
armv7l:
'
c814597fe5e7484842fb29bab30950dae676de79abf13bb4f27a04b21050ed1c
'
,
i686:
'
e729cf5475fd0510ad3ad589d7d490e8223251f1c66bfaefa8f166388ae0747a
'
,
x86_64:
'
caeec7cc54aaa53aaa54f861000856aad0f01da4cb92bde6c1ce20116167af8a
'
,
aarch64:
'
0fd514b6ea8d80a48a3e374175e1624a465b699d1b0bb9b15c447b49397b7d38
'
,
armv7l:
'
0fd514b6ea8d80a48a3e374175e1624a465b699d1b0bb9b15c447b49397b7d38
'
,
i686:
'
39995c658f15fa4b8d432a8f3a66e660d5fdebbf964262fa07c5b4cd182f2709
'
,
x86_64:
'
19c473a9f38e549ba03cde3208da6e39f09ffa381be5ff32db9acc8e30e7c6b4
'
,
})
depends_on
'ninja'
def
self
.
install
system
"p
ip3 install --prefix
#{
CREW_PREFIX
}
--root
#{
CREW_DEST_DIR
}
meson
"
system
"p
ython3 setup.py install --prefix
#{
CREW_PREFIX
}
--root
#{
CREW_DEST_DIR
}
"
end
end
packages/python27.rb
View file @
01639910
...
...
@@ -3,10 +3,23 @@ require 'package'
class
Python27
<
Package
description
'Python is a programming language that lets you work quickly and integrate systems more effectively.'
homepage
'https://www.python.org/'
version
'2.7.14-
0
'
version
'2.7.14-
1
'
source_url
'https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tar.xz'
source_sha256
'71ffb26e09e78650e424929b2b457b9c912ac216576e6bd9e7d204ed03296a66'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/python27-2.7.14-1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/python27-2.7.14-1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/python27-2.7.14-1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/python27-2.7.14-1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'400482313b4fba0565d3183f21070e41a4023f4e7306120389702a813728c23a'
,
armv7l:
'400482313b4fba0565d3183f21070e41a4023f4e7306120389702a813728c23a'
,
i686:
'52b3fed24888bf92e4424927c12d27187669eb5723377c7176e91bbc9990de36'
,
x86_64:
'b7ea621041b9168ffdaf60ba19cb5e740e939b6ef2105612631047484fed1512'
,
})
depends_on
'bz2'
=>
:build
depends_on
'ncurses'
depends_on
'openssl'
=>
:build
...
...
@@ -18,7 +31,7 @@ class Python27 < Package
# python requires to use /usr/local/lib, so leave as is but specify -rpath
system
"./configure"
,
"CPPFLAGS=-I
#{
CREW_PREFIX
}
/include/ncurses -I
#{
CREW_PREFIX
}
/include/ncursesw"
,
"LDFLAGS=-Wl,-rpath,-L
#{
CREW_LIB_PREFIX
}
"
,
"--with-ensurepip=
install
"
,
"--enable-shared"
"--with-ensurepip=
yes
"
,
"--enable-shared"
system
"make"
end
...
...
packages/python3.rb
View file @
01639910
...
...
@@ -3,10 +3,22 @@ require 'package'
class
Python3
<
Package
description
'Python is a programming language that lets you work quickly and integrate systems more effectively.'
homepage
'https://www.python.org/'
version
'3.6.4-
1
'
version
'3.6.4-
2
'
source_url
'https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz'
source_sha256
'159b932bf56aeaa76fd66e7420522d8c8853d486b8567c459b84fe2ed13bcaba'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/python3-3.6.4-2-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/python3-3.6.4-2-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/python3-3.6.4-2-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/python3-3.6.4-2-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'84ac3a9e1d4bc8fc6e6b73ab83e7b1c9fc1925794d56bfd795ec68ddf0668104'
,
armv7l:
'84ac3a9e1d4bc8fc6e6b73ab83e7b1c9fc1925794d56bfd795ec68ddf0668104'
,
i686:
'8e7ffe80318afee1e3f3614440d30fb5fd4daf2d2d901b55b48c2216e034059d'
,
x86_64:
'f1536a51e87f816edb216dcb036af9f5c2d6c767eefef0e2fdae85a0ffb8d84c'
,
})
depends_on
'bz2'
=>
:build
depends_on
'xzutils'
=>
:build
...
...
@@ -21,7 +33,7 @@ class Python3 < Package
# python requires to use /usr/local/lib, so leave as is but specify -rpath
system
"./configure"
,
"CPPFLAGS=-I
#{
CREW_PREFIX
}
/include/ncurses -I
#{
CREW_PREFIX
}
/include/ncursesw"
,
"LDFLAGS=-Wl,-rpath,-L
#{
CREW_LIB_PREFIX
}
"
,
"--with-ensurepip=
install
"
,
"--enable-shared"
"--with-ensurepip=
yes
"
,
"--enable-shared"
system
"make"
end
...
...
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