Commit efca301a authored by satmandu's avatar satmandu Committed by GitHub

Update pygments (#5312)

parent 79e022f4
......@@ -3,26 +3,30 @@ require 'package'
class Pygments < Package
description 'Python Syntax Highlighter'
homepage 'https://pygments.org/'
version '2.7.3-2'
version '2.8.0'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.7.3-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.7.3-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.7.3-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.7.3-2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.8.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.8.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.8.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pygments-2.8.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '5fe220b1a04d9e1368120ba326fb238ce5e98bf7267c1dae66ab4df0e2b15ffe',
armv7l: '5fe220b1a04d9e1368120ba326fb238ce5e98bf7267c1dae66ab4df0e2b15ffe',
i686: 'e6ea0521588e6a30f27d63b2c04c0046a0938fc0896e42c1521b375fe7742b3b',
x86_64: '281b79540b3ff6515a41660fde00e5863206e39e612ac9cb61d77bfcc4ad3d5d',
binary_sha256({
aarch64: '0b7af6a0717a3b929c8a51fb2466565239810090478b7a4ac23f0e3da2fbc04e',
armv7l: '0b7af6a0717a3b929c8a51fb2466565239810090478b7a4ac23f0e3da2fbc04e',
i686: 'ffe3bd980c153fb1592a6027b44cd4b57161211160e8d2ce4ee4b17d86528615',
x86_64: '955f2f252e98842b63569334ad133908c2c527617b687f632bbfd1f4db8013b6'
})
def self.install
system "pip3 uninstall -y pygments"
system 'pip3 uninstall -y pygments'
system "pip3 install --upgrade --no-warn-script-location pygments --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
end
def self.postinstall
system 'pip3 install --upgrade pygments'
end
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