mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
16 lines
467 B
Ruby
16 lines
467 B
Ruby
require 'package'
|
|
|
|
class Pygments < Package
|
|
description 'Python Syntax Highlighter'
|
|
homepage 'https://pygments.org/'
|
|
version '2.7.3-2'
|
|
compatibility 'all'
|
|
source_url 'file:///dev/null'
|
|
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
|
|
|
def self.install
|
|
system "pip3 uninstall -y pygments"
|
|
system "pip3 install --upgrade --no-warn-script-location pygments --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
|
|
end
|
|
end
|