Commit 5f74ca5b authored by satmandu's avatar satmandu Committed by GitHub

uninstall before install solves upgrade (#4782)

parent 758fdad1
......@@ -3,12 +3,13 @@ require 'package'
class Pygments < Package
description 'Python Syntax Highlighter'
homepage 'https://pygments.org/'
version '2.7.3-1'
version '2.7.3-2'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
def self.install
system "pip3 install pygments --no-warn-script-location --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
system "pip3 uninstall -y pygments"
system "pip3 install --upgrade --no-warn-script-location pygments --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
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