Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3adb675de862e7aa16f9920ceb29db96f92d2736
commit 3adb675de862e7aa16f9920ceb29db96f92d2736 Author: James Buren <[email protected]> Date: Tue Nov 17 22:25:31 2015 +0100 acoc-0.7.1-5-x86_64 * remove package diff --git a/source/apps-extra/acoc/FrugalBuild b/source/apps-extra/acoc/FrugalBuild deleted file mode 100644 index e24ace1..0000000 --- a/source/apps-extra/acoc/FrugalBuild +++ /dev/null @@ -1,27 +0,0 @@ -# Compiling Time: 0.01 SBU -# Contributor: kikadf <[email protected]> -# Contributor: AlexExtreme <[email protected]> -# Contributor: motyR <[email protected]> - -pkgname=acoc -pkgver=0.7.1 -pkgrel=5 -pkgdesc="acoc is a regular expression based colour formatter for programs that display output on the command-line." -url="http://www.caliban.org/ruby/acoc.shtml" -depends=('term-ansicolor') -Finclude gem -groups=('apps-extra') -archs=('i686' 'x86_64') -source+=(acoc.diff README.Frugalware) -sha1sums=('8ffe0a900320bfe918be3912992d804c40a215cd' \ - '44bea14648ea305768a11e64ffa1c1d720a4b16f' \ - 'cd7242d70113f788c7e0235d7e52ef20847490f2') - -build() -{ - Finstallgem - Fmessage "Applying Frugalware-specific changes..." - Ffile /usr/lib/ruby/acoc.conf - Fdoc README.Frugalware -} - diff --git a/source/apps-extra/acoc/README.Frugalware b/source/apps-extra/acoc/README.Frugalware deleted file mode 100644 index 6b9f157..0000000 --- a/source/apps-extra/acoc/README.Frugalware +++ /dev/null @@ -1,11 +0,0 @@ -In order to use acoc you should start it with - --------------- -$ acoc <command> --------------- - -for example, or you can create an alias like this: - --------------------------- -alias pacman='acoc pacman' --------------------------- diff --git a/source/apps-extra/acoc/acoc-0.7.1.gem b/source/apps-extra/acoc/acoc-0.7.1.gem deleted file mode 100644 index e26965a..0000000 Binary files a/source/apps-extra/acoc/acoc-0.7.1.gem and /dev/null differ diff --git a/source/apps-extra/acoc/acoc.diff b/source/apps-extra/acoc/acoc.diff deleted file mode 100644 index b006d8e..0000000 --- a/source/apps-extra/acoc/acoc.diff +++ /dev/null @@ -1,26 +0,0 @@ ---- ./pkg/etc/acoc.conf 2006-03-31 18:25:10.000000000 +0300 -+++ ./acoc.conf 2006-03-31 18:31:43.000000000 +0300 -@@ -224,3 +224,23 @@ - - [whereis] - /^(.+): (.+)/ yellow,bold -+ -+ -+[pacman-g2 -Si] -+/^Name\s+:\s([\w.-]+)/ green -+[pacman-g2 -Qi] -+/^Name\s+:\s([\w.-]+)/ green -+[pacman-g2 -Qi$] -+/^([\w.-]+)\s([\w.-]+)/ green,clear -+[pacman-g2 -Ss] -+/^([\w.-]+)\/([\w.-]+)\s+([\w.-]+)/ red,blue,magenta -+[pacman-g2 -Qs] -+/^([\w.-]+)\/([\w.-]+)\s+([\w.-]+)/ red,blue,magenta -+[pacman-g2 -Sl] -+/^([\w.-]+)\s([\w.-]+)\s([\w.-]+)/ clear,blue,clear -+[pacman-g2 -Qo] -+/^([\w.-\/]+)\sis\sowned\sby\s([\w.-]+)\s([\w.-]+)/ clear,blue,clear -+[pacman-g2 -Qe$] -+/^([\w.-]+)\s([\w.-]+)/ blue,clear -+[pacman-g2 -Qg$] -+/^([\w.-]+)\s([\w.-]+)/ blue,bold diff --git a/source/apps-extra/acoc/fix_class_clash.patch b/source/apps-extra/acoc/fix_class_clash.patch deleted file mode 100644 index 5a12dfe..0000000 --- a/source/apps-extra/acoc/fix_class_clash.patch +++ /dev/null @@ -1,87 +0,0 @@ ---- acoc_ori 2010-10-07 16:03:29.089119182 -0300 -+++ acoc 2010-10-07 16:05:52.657578887 -0300 -@@ -83,24 +83,26 @@ - - include Term::ANSIColor - --class Config < Hash; end -+module Acoc -+ class Config < Hash; end - --class Program -- attr_accessor :flags, :specs -+ class Program -+ attr_accessor :flags, :specs - -- def initialize(flags) -- @flags = flags || "" -- @specs = Array.new -+ def initialize(flags) -+ @flags = flags || "" -+ @specs = Array.new -+ end - end --end - --class Rule -- attr_reader :regex, :flags, :colours -+ class Rule -+ attr_reader :regex, :flags, :colours - -- def initialize(regex, flags, colours) -- @regex = regex -- @flags = flags -- @colours = colours -+ def initialize(regex, flags, colours) -+ @regex = regex -+ @flags = flags -+ @colours = colours -+ end - end - end - -@@ -153,7 +155,7 @@ - # get configuration data - # - def parse_config(*files) -- @cmd = Config.new -+ @cmd = Acoc::Config.new - parsed = 0 - - files.each do |file| -@@ -161,7 +163,7 @@ - next unless file && FileTest::file?(file) && FileTest::readable?(file) - - begin -- f = File.open(file) do |f| -+ fo = File.open(file) do |f| - while line = f.gets do - next if line =~ /^(#|$)/ # skip blank lines and comments - -@@ -184,7 +186,7 @@ - if @cmd.has_key?(invocation) - @cmd[invocation].flags += flags unless flags.nil? - else -- @cmd[invocation] = Program.new(flags) -+ @cmd[invocation] = Acoc::Program.new(flags) - end - prog.sub!(%r(/\w+), '') - end -@@ -205,7 +207,7 @@ - end - - progs.each do |prog| -- @cmd[prog].specs << Rule.new(Regexp.new(regex), flags, colours) -+ @cmd[prog].specs << Acoc::Rule.new(Regexp.new(regex), flags, colours) - end - end - end -@@ -264,7 +266,7 @@ - matched = false - - # act on only the first match unless the /a flag was given -- break if matched && ! @cmd[prog].flags.include?('a') -+ return if matched && ! @cmd[prog].flags.include?('a') - - # get a pattern and attribute set pairing for this command - @cmd[prog].specs.each do |spec| _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
