debian/0000755000000000000000000000000012172233325007166 5ustar debian/watch0000644000000000000000000000013512172233325010216 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/racc .*/racc-(.*).tar.gz debian/racc.examples0000644000000000000000000000001112172233325011626 0ustar sample/* debian/ruby-test-files.yaml0000644000000000000000000000015712172233325013113 0ustar --- - test/test_chk_y.rb - test/test_grammar_file_parser.rb - test/test_racc_command.rb - test/test_scan_y.rb debian/racc2y.rd0000644000000000000000000000113212172233325010675 0ustar =begin = NAME racc2y - Racc grammar to yacc grammar = SYNOPSIS racc2y [((|options|))] ((|raccfile|)) = DESCRIPTION Racc2y converts racc grammar to yacc grammar. = OPTIONS : -o, --output-file output file name. [y.] : -A did not output actions. : -H output 'header'. : -I output 'inner'. : -F output 'footer'. : -h, --help print this message and quit. : --version print version and quit. : --copyright print copyright and quit. = SEE ALSO /usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese). =end debian/racc.docs0000644000000000000000000000007512172233325010752 0ustar rdoc/* README.ja.rdoc README.ja.html README.rdoc README.html debian/racc.doc-base.racc-ja0000644000000000000000000000046212172233325012776 0ustar Document: racc-ja Title: Racc Manual (ja) Author: Minero Aoki Abstract: Racc is LALR(1) parser generator coded for Ruby. Written by Ruby and output Ruby source. (written in Japanese) Section: Programming/Ruby Format: HTML Index: /usr/share/doc/racc/ja/index.ja.html Files: /usr/share/doc/racc/ja/*.html debian/y2racc.rd0000644000000000000000000000126312172233325010702 0ustar =begin = NAME y2racc - Yacc grammar to racc grammar = SYNOPSIS y2racc [((|options|))] ((|raccfile|)) = DESCRIPTION Y2racc converts yacc grammar to racc grammar. = OPTIONS : -o, --output-file name of output file. [r.] : -c name of parser class. [MyParser] : -u output also user code (%%....) : -H cut off header (%{....%}) : -A cut off actions. : -U cut off user code (%%....) (default) : -h, --help print this message and quit. : --version print version and quit. : --copyright print copyright and quit. = SEE ALSO /usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese). =end debian/y2racc.10000644000000000000000000000150112172233325010430 0ustar .\" DO NOT MODIFY THIS FILE! it was generated by rd2 .TH y2racc 1 "April 2005" .SH NAME .PP y2racc \- Yacc grammar to racc grammar .SH SYNOPSIS .PP y2racc [options] raccfile .SH DESCRIPTION .PP Y2racc converts yacc grammar to racc grammar. .SH OPTIONS .TP .fi .B \-o, \-\-output\-file name of output file. [r.] .TP .fi .B \-c name of parser class. [MyParser] .TP .fi .B \-u output also user code (%%....) .TP .fi .B \-H cut off header (%{....%}) .TP .fi .B \-A cut off actions. .TP .fi .B \-U cut off user code (%%....) (default) .TP .fi .B \-h, \-\-help print this message and quit. .TP .fi .B \-\-version print version and quit. .TP .fi .B \-\-copyright print copyright and quit. .SH SEE ALSO .PP /usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese). debian/copyright0000644000000000000000000000226712172233325011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: racc Source: http://rubygems.org/gems/racc Files: * Copyright: 2000-2007 Minero Aoki License: LGPL-2 Files: debian/* Copyright: 2000-2006 akira yamada 2012 Taku YASUI License: LGPL-2 License: LGPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/LGPL-2'. debian/racc.doc-base.racc0000644000000000000000000000042412172233325012404 0ustar Document: racc Title: Racc Manual Author: Minero Aoki Abstract: Racc is LALR(1) parser generator coded for Ruby. Written by Ruby and output Ruby source. Section: Programming/Ruby Format: HTML Index: /usr/share/doc/racc/en/index.en.html Files: /usr/share/doc/racc/en/*.html debian/racc2y.10000644000000000000000000000134112172233325010432 0ustar .\" DO NOT MODIFY THIS FILE! it was generated by rd2 .TH racc2y 1 "April 2005" .SH NAME .PP racc2y \- Racc grammar to yacc grammar .SH SYNOPSIS .PP racc2y [options] raccfile .SH DESCRIPTION .PP Racc2y converts racc grammar to yacc grammar. .SH OPTIONS .TP .fi .B \-o, \-\-output\-file output file name. [y.] .TP .fi .B \-A did not output actions. .TP .fi .B \-H output 'header'. .TP .fi .B \-I output 'inner'. .TP .fi .B \-F output 'footer'. .TP .fi .B \-h, \-\-help print this message and quit. .TP .fi .B \-\-version print version and quit. .TP .fi .B \-\-copyright print copyright and quit. .SH SEE ALSO .PP /usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese). debian/source/0000755000000000000000000000000012172233325010466 5ustar debian/source/format0000644000000000000000000000001412172233325011674 0ustar 3.0 (quilt) debian/racc.manpages0000644000000000000000000000005612172233325011614 0ustar debian/racc.1 debian/y2racc.1 debian/racc2y.1 debian/changelog0000644000000000000000000001421512172233325011043 0ustar racc (1.4.9-1) unstable; urgency=low [ Cédric Boutillier ] * use canonical URI in Vcs-* fields * debian/copyright: use DEP5 copyright-format/1.0 official URL for Format field [ Ondřej Surý ] * New upstream version 1.4.9 * Update patches for new release (and remove obsolete patches) * Drop ruby1.8 support -- Ondřej Surý Fri, 19 Jul 2013 14:53:17 +0200 racc (1.4.8-4) unstable; urgency=low * Fix not to use deprecated functions. - Add debian/patches/040_fix_deprecated * Use ruby -Ku when running rd2 command. (closes: #676201) -- Taku YASUI Mon, 18 Jun 2012 01:07:54 +0900 racc (1.4.8-1) unstable; urgency=low * New upstream release. * Change maintainer to Debian Ruby Extras Maintainers. - akira yamada and Taku YASUI are uploaders. * Commit debian source to git.debian.org. - git://git.debian.org/pkg-ruby-extras/racc.git - Add Vcs metadata to debian/control. * Change source format to '3.0 (quilt)'. * Bump Standards-Verson to 3.9.3. * Use gem2deb to build package. * Build HTML document using rdtool. * Fix test failed by test helper - debian/patches/020_test_helper_ruby_path_fix * Fix test output log path to test dir - debian/patches/030_move_test_log -- Taku YASUI Tue, 08 May 2012 20:13:41 +0900 racc (1.4.5-1) unstable; urgency=low * New upstream release. * dropped ruby1.6 support. (Closes: #367906) -- akira yamada Mon, 5 Jun 2006 11:13:56 +0900 racc (1.4.4-1) unstable; urgency=low * new upstream version. (closes: #301768) * added racc2y.1 and y2racc.1. * modified racc2y and y2racc to use optparse instead of deprecated getopts. -- akira yamada Sat, 9 Apr 2005 17:54:44 +0900 racc (1.4.3-2) unstable; urgency=low * renamed to libracc-runtime-ruby1.6 from racc-runtime. it is provided for ruby1.6 only. (ruby1.8 provides libracc-runtime-ruby1.8.) * racc depends on ruby1.8. -- akira yamada Tue, 9 Sep 2003 15:54:47 +0900 racc (1.4.3-1) unstable; urgency=low * new upstream version, closes: #173234. * updated Description, closes: #160939. * updated Standards-Version to 3.5.8. -- akira yamada Tue, 7 Jan 2003 13:33:24 +0900 racc (1.4.1-1) unstable; urgency=low * new upstream version. -- akira yamada Tue, 8 Jan 2002 21:48:51 +0900 racc (1.3.11-2) unstable; urgency=low * rebuild with correct version of ruby, closes: #112249. -- akira yamada Sat, 15 Sep 2001 11:40:23 +0900 racc (1.3.11-1) unstable; urgency=low * upgraded to new upsteram version. (upstream tarball is racc-1.3.11-all.tar.gz) -- akira yamada Sun, 9 Sep 2001 10:01:37 +0900 racc (1.3.10-1) unstable; urgency=low * upgraded to new upsteram version. -- akira yamada Tue, 14 Aug 2001 14:24:13 +0900 racc (1.3.8-1) unstable; urgency=low * upgraded to new upsteram version. -- akira yamada Tue, 20 Mar 2001 15:48:32 +0900 racc (1.3.7-1) unstable; urgency=low * upgraded to new upstream version. -- akira yamada Thu, 15 Mar 2001 10:20:03 +0900 racc (1.3.6-1) unstable; urgency=low * upgraded to new upstream version. -- akira yamada Fri, 26 Jan 2001 11:16:38 +0900 racc (1.3.5-2) unstable; urgency=low * rebuild with ruby_1.6.2-5. * changed section of racc-runtime to interpreters. -- akira yamada Thu, 25 Jan 2001 16:23:34 +0900 racc (1.3.5-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Thu, 18 Jan 2001 09:59:45 +0900 racc (1.3.3-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Mon, 25 Dec 2000 11:04:15 +0900 racc (1.3.2-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Thu, 21 Dec 2000 23:14:03 +0900 racc (1.3.1-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Thu, 20 Dec 2000 14:01:18 +0900 racc (1.3.0-1) unstable; urgency=low * Upgraded to new upstream version. * racc-runtime is merged with racc. -- akira yamada Thu, 14 Dec 2000 16:58:14 +0900 racc (1.2.4-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Wed, 20 Sep 2000 20:03:01 +0900 racc (1.2.3-2) unstable; urgency=low * Rebuid with ruby_1.6.0. * Updated Standards-Version to 3.2.1. * Added Build-Depends field into control file. -- akira yamada Fri, 1 Sep 2000 18:30:23 +0900 racc (1.2.3-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Thu, 17 Aug 2000 06:30:09 +0900 racc (1.1.5-1) unstable; urgency=low * Upgraded to new upstream version. * debian/docs: BUGS.en, BUGS.ja and FILES added. -- akira yamada Mon, 24 Jul 2000 14:12:13 +0900 racc (1.1.4-1) unstable; urgency=low * Upgraded to new upstream vserion. -- akira yamada Fri, 14 Jul 2000 14:51:21 +0900 racc (1.1.3-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Thu, 13 Jul 2000 18:09:56 +0900 racc (1.0.4-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Wed, 7 Jun 2000 13:59:15 +0900 racc (1.0.2-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Mon, 29 May 2000 13:21:28 +0900 racc (0.14.4-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Fri, 28 Apr 2000 12:33:35 +0900 racc (0.14.3-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Tue, 4 Apr 2000 23:54:30 +0900 racc (0.14.2-1) unstable; urgency=low * Upgraded to new upstream version. -- akira yamada Tue, 4 Apr 2000 13:34:24 +0900 racc (0.10.9-1) unstable; urgency=low * Initial Release. -- akira yamada Sun, 23 Jan 2000 10:45:11 +0900 debian/racc.rd0000644000000000000000000000234612172233325010432 0ustar =begin = NAME racc - Ruby LALR parser generator = SYNOPSIS racc [((|options|))] ((|file|)) = DESCRIPTION Racc is a LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. = OPTIONS : -g, --debug output parser for user level debugging. : -o, --output-file file name of output. [.tab.rb] : -e, --executable insert #! line in output. ('ruby' to default) : -E, --embedded output file which don't need runtime. : -l, --no-line-convert never convert line numbers. (for ruby<=1.4.3) : -c, --line-convert-all convert line numbers also header and footer. : -a, --no-omit-actions never omit actions. : -v, --verbose create .output file. : -O, --log-file file name of verbose output. [.output] : -C, --check-only syntax check only. : -S, --output-status output status time to time. : --no-extentions run without any ruby extentions. : -h, --help print this message and quit. : --version print version and quit. : --runtime-version print runtime version and quit. : --copyright print copyright and quit. = SEE ALSO /usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese). =end debian/control0000644000000000000000000000151012172233325010566 0ustar Source: racc Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: akira yamada , Taku YASUI Build-Depends: debhelper (>= 8), gem2deb (>= 0.2.13~), rdtool Standards-Version: 3.9.3 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/racc.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/racc.git;a=summary Homepage: http://i.loveruby.net/en/projects/racc/ XS-Ruby-Versions: ruby1.9.1 Package: racc Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter Description: Ruby LALR parser generator Racc is LALR(1) parser generator for Ruby, written in Ruby. It allows programmers to easily write syntactic parsers from simple rules, like yacc and bison. debian/racc.10000644000000000000000000000272312172233325010164 0ustar .\" DO NOT MODIFY THIS FILE! it was generated by rd2 .TH racc 1 "April 2005" .SH NAME .PP racc \- Ruby LALR parser generator .SH SYNOPSIS .PP racc [options] file .SH DESCRIPTION .PP Racc is a LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. .SH OPTIONS .TP .fi .B \-g, \-\-debug output parser for user level debugging. .TP .fi .B \-o, \-\-output\-file file name of output. [.tab.rb] .TP .fi .B \-e, \-\-executable .nf \& insert #! line in output. ('ruby' to default) .fi .TP .fi .B \-E, \-\-embedded output file which don't need runtime. .TP .fi .B \-l, \-\-no\-line\-convert never convert line numbers. (for ruby<=1.4.3) .TP .fi .B \-c, \-\-line\-convert\-all convert line numbers also header and footer. .TP .fi .B \-a, \-\-no\-omit\-actions never omit actions. .TP .fi .B \-v, \-\-verbose create .output file. .TP .fi .B \-O, \-\-log\-file file name of verbose output. [.output] .TP .fi .B \-C, \-\-check\-only syntax check only. .TP .fi .B \-S, \-\-output\-status output status time to time. .TP .fi .B \-\-no\-extentions run without any ruby extentions. .TP .fi .B \-h, \-\-help print this message and quit. .TP .fi .B \-\-version print version and quit. .TP .fi .B \-\-runtime\-version print runtime version and quit. .TP .fi .B \-\-copyright print copyright and quit. .SH SEE ALSO .PP /usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese). debian/rules0000755000000000000000000000152712172233325010253 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec docs_html := $(shell find rdoc -type f | sed -e 's/\.rdoc$$/.html/') README.html README.ja.html rdocs_html := $(shell find rdoc -type f -name '*.rdoc' | sed -e 's/\.rdoc$$/.html/') README.html README.ja.html %: dh $@ --buildsystem=ruby --with ruby %.html: %.rdoc ruby -Ku /usr/bin/rd2 $< -o `echo $< | sed -e 's/\.rdoc$$//'` override_dh_install: $(docs_html) dh_install override_dh_clean: rm -f $(rdocs_html) rm -f test/out.log dh_clean debian/patches/0000755000000000000000000000000012172233325010615 5ustar debian/patches/series0000644000000000000000000000005612172233325012033 0ustar 010_disable_ext 020_test_helper_ruby_path_fix debian/patches/010_disable_ext0000644000000000000000000000030512172233325013401 0ustar --- racc.orig/metadata.yml +++ racc/metadata.yml @@ -68,8 +68,6 @@ executables: - racc - racc2y - y2racc -extensions: -- ext/racc/extconf.rb extra_rdoc_files: - Manifest.txt - README.ja.rdoc debian/patches/020_test_helper_ruby_path_fix0000644000000000000000000000071612172233325016366 0ustar --- racc.orig/test/helper.rb +++ racc/test/helper.rb @@ -81,7 +81,8 @@ module Racc def ruby arg Dir.chdir(TEST_DIR) do Tempfile.open 'test' do |io| - cmd = "#{ENV['_']} -I #{INC} #{arg} 2>#{io.path}" + cmd = File.symlink?("/proc/#{$$}/exe") ? File.readlink("/proc/#{$$}/exe") : ENV['_'] + cmd = "#{cmd} -I #{INC} #{arg} 2>#{io.path}" result = system(cmd) assert(result, io.read) end debian/compat0000644000000000000000000000000212172233325010364 0ustar 8