Commit 92ea89b4 authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2171 from uberhacker/add-pre-built-binaries-c-n

Add pre-built binaries for colordiff, miniconda3 and nmon
parents b98f2c59 4b0fac58
......@@ -8,8 +8,16 @@ class Colordiff < Package
source_sha256 '29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/colordiff-1.0.18-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/colordiff-1.0.18-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/colordiff-1.0.18-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/colordiff-1.0.18-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f8e3848078a822375729d5243697ed856e45db41badef0db95052dac3beac452',
armv7l: 'f8e3848078a822375729d5243697ed856e45db41badef0db95052dac3beac452',
i686: 'f47a74e3d39e7b72989925434897313ca1a98c11e6895c30c1db7f23049ac166',
x86_64: 'd0cafc057a6967a0232ec57769a9b013e1e4cc8412b3b0ece257cc622f2a3234',
})
depends_on 'perl'
......
......@@ -7,6 +7,15 @@ class Miniconda3 < Package
source_url 'https://raw.githubusercontent.com/Anaconda-Platform/anaconda-project/adb2d443b805f2c6c53f989251cc1a2b13fc0d0e/README.md'
source_sha256 'ec0bfe39423ca117ffcd17c154e3e5f6c81a28c4fb14c22dd5033f499a306362'
binary_url ({
i686: 'https://dl.bintray.com/chromebrew/chromebrew/miniconda3-4.4.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/miniconda3-4.4.10-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
i686: '289962ee7c7456fce196ca70ae983c440dea7b3a259767090f09768e9dc213cb',
x86_64: 'cfe89978fef64fd7d8efe6ad1a1d8b18023ae55f87c0246f82dcc5755881bfe2',
})
depends_on 'python3'
def self.install
......@@ -30,19 +39,8 @@ class Miniconda3 < Package
system "echo 'bin/conda \"\$@\"' >> conda"
system "chmod +x conda"
end
system "mkdir -p #{CREW_DEST_DIR}#{CREW_CONFIG_PATH}/meta"
system "echo #{CREW_PREFIX}/bin/conda > #{CREW_DEST_DIR}#{CREW_CONFIG_PATH}/meta/miniconda3.filelist"
system "find #{CREW_PREFIX}/share/miniconda3/ -type d -exec echo {} >> #{CREW_DEST_DIR}#{CREW_CONFIG_PATH}/meta/miniconda3.directorylist \\;"
system "find #{CREW_PREFIX}/share/miniconda3/ -type f -exec echo {} >> #{CREW_DEST_DIR}#{CREW_CONFIG_PATH}/meta/miniconda3.filelist \\;"
system "find #{CREW_PREFIX}/share/miniconda3/ -type l -exec echo {} >> #{CREW_DEST_DIR}#{CREW_CONFIG_PATH}/meta/miniconda3.filelist \\;"
system "mkdir -p #{CREW_DEST_PREFIX}/share"
system "cp -r #{CREW_PREFIX}/share/miniconda3 #{CREW_DEST_PREFIX}/share"
end
end
def self.postinstall
puts
puts "To completely remove miniconda3 and all installed packages, execute the following:".lightblue
puts "crew remove miniconda3".lightblue
puts "rm -rf #{CREW_PREFIX}/share/miniconda3".lightblue
puts
end
end
......@@ -8,8 +8,16 @@ class Nmon < Package
source_sha256 'da82dd693b503b062854dfe7dbb5d36b347872ab44a4aa05b97e9d577747f688'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/nmon-16g-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/nmon-16g-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/nmon-16g-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/nmon-16g-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bcb216dff6287ea5bfe77ab99e0f299739be39c8e53d8887ad304f68faf8363e',
armv7l: 'bcb216dff6287ea5bfe77ab99e0f299739be39c8e53d8887ad304f68faf8363e',
i686: 'ae03d1026a0178732a0bdc024b746c0839d028af13efbabc6aa42c1c58a1d698',
x86_64: 'ee701f555a32e7161fee50662f34151c7378f65751393a2e9ab974af3da97d93',
})
depends_on 'ncurses'
......
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