aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-pygments/use-system-pygments-only.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 06:40:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-18 15:23:30 +0100
commitf4b8b4bff50c076ea2d72b039db695d33d0b503d (patch)
tree7de56fa9c2e9a2f187af4a7e65e6aa5d65578442 /community/ruby-pygments/use-system-pygments-only.patch
parent49e7519e9920dc5af745d36846d90d971241126f (diff)
downloadaports-f4b8b4bff50c076ea2d72b039db695d33d0b503d.tar.bz2
aports-f4b8b4bff50c076ea2d72b039db695d33d0b503d.tar.xz
community/ruby-pygments: remove
- Upstream unresponsive - Requires python2
Diffstat (limited to 'community/ruby-pygments/use-system-pygments-only.patch')
-rw-r--r--community/ruby-pygments/use-system-pygments-only.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/community/ruby-pygments/use-system-pygments-only.patch b/community/ruby-pygments/use-system-pygments-only.patch
deleted file mode 100644
index 6b4be89820..0000000000
--- a/community/ruby-pygments/use-system-pygments-only.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Use only system-provided pygments and json module.
-
---- a/lib/pygments/mentos.py
-+++ b/lib/pygments/mentos.py
-@@ -6,13 +6,6 @@
- if 'PYGMENTS_PATH' in os.environ:
- sys.path.insert(0, os.environ['PYGMENTS_PATH'])
-
--dirname = os.path.dirname
--
--base_dir = dirname(dirname(dirname(os.path.abspath(__file__))))
--sys.path.append(base_dir + "/vendor")
--sys.path.append(base_dir + "/vendor/pygments-main")
--sys.path.append(base_dir + "/vendor/simplejson")
--
- import pygments
- from pygments import lexers, formatters, styles, filters
-
---- a/lib/pygments/popen.rb
-+++ b/lib/pygments/popen.rb
-@@ -24,7 +24,7 @@
- # Get things started by opening a pipe to mentos (the freshmaker), a
- # Python process that talks to the Pygments library. We'll talk back and
- # forth across this pipe.
-- def start(pygments_path = File.expand_path('../../../vendor/pygments-main/', __FILE__))
-+ def start(pygments_path = '/usr/bin/pygmentize-2')
- begin
- @log = Logger.new(ENV['MENTOS_LOG'] ||= File::NULL)
- @log.level = Logger::INFO