diff options
author | taca <taca> | 2010-09-10 06:18:16 +0000 |
---|---|---|
committer | taca <taca> | 2010-09-10 06:18:16 +0000 |
commit | 9848758fd2e8bb6952614a219b8b08fe26d359a5 (patch) | |
tree | 4a911861133054b08d59d73211d4643f3d9bd787 /devel | |
parent | 65700f70fbeedb8aaee6706c005c61205f28a037 (diff) | |
download | pkgsrc-9848758fd2e8bb6952614a219b8b08fe26d359a5.tar.gz |
Update devel/ruby-rcov to 0.9.8.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Update HOMEPAGE.
* Add LICENSE.
* Remove default value of GEM_BUILD.
Changes are too may to write here, but it seems to support Ruby 1.9 as well.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-rcov/ALTERNATIVES | 1 | ||||
-rw-r--r-- | devel/ruby-rcov/Makefile | 13 | ||||
-rw-r--r-- | devel/ruby-rcov/PLIST | 88 | ||||
-rw-r--r-- | devel/ruby-rcov/distinfo | 8 | ||||
-rw-r--r-- | devel/ruby-rcov/patches/patch-aa | 21 |
5 files changed, 69 insertions, 62 deletions
diff --git a/devel/ruby-rcov/ALTERNATIVES b/devel/ruby-rcov/ALTERNATIVES new file mode 100644 index 00000000000..88053c93aea --- /dev/null +++ b/devel/ruby-rcov/ALTERNATIVES @@ -0,0 +1 @@ +bin/rcov @PREFIX@/bin/rcov@RUBY_VER@ diff --git a/devel/ruby-rcov/Makefile b/devel/ruby-rcov/Makefile index d684e146fd8..e050f855562 100644 --- a/devel/ruby-rcov/Makefile +++ b/devel/ruby-rcov/Makefile @@ -1,14 +1,15 @@ -# $NetBSD: Makefile,v 1.2 2010/09/07 17:20:25 taca Exp $ +# $NetBSD: Makefile,v 1.3 2010/09/10 06:18:16 taca Exp $ -DISTNAME= rcov-0.8.1.2.0 -PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +DISTNAME= rcov-0.9.8 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://eigenclass.org/hiki.rb?rcov +HOMEPAGE= http://github.com/relevance/rcov COMMENT= code coverage analysis for Ruby +LICENSE= gnu-gpl-v2 OR ruby-license -RUBY_VERSION_SUPPORTED= 18 +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/rcov ${DESTDIR}${PREFIX}/bin/rcov${RUBY_VER} -.include "../../misc/rubygems/rubygem.mk" +.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-rcov/PLIST b/devel/ruby-rcov/PLIST index 9c8528af69b..14228c8dcfb 100644 --- a/devel/ruby-rcov/PLIST +++ b/devel/ruby-rcov/PLIST @@ -1,44 +1,70 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:49:11 joerg Exp $ -bin/rcov -${GEM_HOME}/cache/rcov-${PKGVERSION}.gem +@comment $NetBSD: PLIST,v 1.3 2010/09/10 06:18:16 taca Exp $ +bin/rcov${RUBY_VER} +${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/BLURB -${GEM_LIBDIR}/CHANGES -${GEM_LIBDIR}/LEGAL ${GEM_LIBDIR}/LICENSE -${GEM_LIBDIR}/README.API -${GEM_LIBDIR}/README.emacs -${GEM_LIBDIR}/README.en -${GEM_LIBDIR}/README.rake -${GEM_LIBDIR}/README.rant -${GEM_LIBDIR}/README.vim ${GEM_LIBDIR}/Rakefile -${GEM_LIBDIR}/Rantfile ${GEM_LIBDIR}/THANKS ${GEM_LIBDIR}/bin/rcov -${GEM_LIBDIR}/ext/rcovrt/callsite.c +${GEM_LIBDIR}/doc/readme_for_api.markdown +${GEM_LIBDIR}/doc/readme_for_emacs.markdown +${GEM_LIBDIR}/doc/readme_for_rake.markdown +${GEM_LIBDIR}/doc/readme_for_vim.markdown +${GEM_LIBDIR}/editor-extensions/rcov.el +${GEM_LIBDIR}/editor-extensions/rcov.vim +${GEM_LIBDIR}/ext/rcovrt/1.8/callsite.c +${GEM_LIBDIR}/ext/rcovrt/1.8/rcovrt.c +${GEM_LIBDIR}/ext/rcovrt/1.9/callsite.c +${GEM_LIBDIR}/ext/rcovrt/1.9/rcovrt.c ${GEM_LIBDIR}/ext/rcovrt/extconf.rb -${GEM_LIBDIR}/ext/rcovrt/rcovrt.c ${GEM_LIBDIR}/lib/rcov.rb +${GEM_LIBDIR}/lib/rcov/call_site_analyzer.rb +${GEM_LIBDIR}/lib/rcov/code_coverage_analyzer.rb +${GEM_LIBDIR}/lib/rcov/coverage_info.rb +${GEM_LIBDIR}/lib/rcov/differential_analyzer.rb +${GEM_LIBDIR}/lib/rcov/file_statistics.rb +${GEM_LIBDIR}/lib/rcov/formatters.rb +${GEM_LIBDIR}/lib/rcov/formatters/base_formatter.rb +${GEM_LIBDIR}/lib/rcov/formatters/failure_report.rb +${GEM_LIBDIR}/lib/rcov/formatters/full_text_report.rb +${GEM_LIBDIR}/lib/rcov/formatters/html_coverage.rb +${GEM_LIBDIR}/lib/rcov/formatters/html_erb_template.rb +${GEM_LIBDIR}/lib/rcov/formatters/text_coverage_diff.rb +${GEM_LIBDIR}/lib/rcov/formatters/text_report.rb +${GEM_LIBDIR}/lib/rcov/formatters/text_summary.rb ${GEM_LIBDIR}/lib/rcov/lowlevel.rb -${GEM_LIBDIR}/lib/rcov/rant.rb ${GEM_LIBDIR}/lib/rcov/rcovtask.rb -${GEM_LIBDIR}/lib/rcov/report.rb +${GEM_LIBDIR}/lib/rcov/templates/detail.html.erb +${GEM_LIBDIR}/lib/rcov/templates/index.html.erb +${GEM_LIBDIR}/lib/rcov/templates/jquery-1.3.2.min.js +${GEM_LIBDIR}/lib/rcov/templates/jquery.tablesorter.min.js +${GEM_LIBDIR}/lib/rcov/templates/print.css +${GEM_LIBDIR}/lib/rcov/templates/rcov.js +${GEM_LIBDIR}/lib/rcov/templates/screen.css ${GEM_LIBDIR}/lib/rcov/version.rb ${GEM_LIBDIR}/lib/rcovrt.${RUBY_DLEXT} -${GEM_LIBDIR}/mingw-rbconfig.rb -${GEM_LIBDIR}/rcov.el -${GEM_LIBDIR}/rcov.vim ${GEM_LIBDIR}/setup.rb -${GEM_LIBDIR}/test/sample_01.rb -${GEM_LIBDIR}/test/sample_02.rb -${GEM_LIBDIR}/test/sample_03.rb -${GEM_LIBDIR}/test/sample_04.rb -${GEM_LIBDIR}/test/sample_05-new.rb -${GEM_LIBDIR}/test/sample_05-old.rb -${GEM_LIBDIR}/test/sample_05.rb -${GEM_LIBDIR}/test/test_CallSiteAnalyzer.rb -${GEM_LIBDIR}/test/test_CodeCoverageAnalyzer.rb -${GEM_LIBDIR}/test/test_FileStatistics.rb -${GEM_LIBDIR}/test/test_functional.rb +${GEM_LIBDIR}/test/assets/sample_01.rb +${GEM_LIBDIR}/test/assets/sample_02.rb +${GEM_LIBDIR}/test/assets/sample_03.rb +${GEM_LIBDIR}/test/assets/sample_04.rb +${GEM_LIBDIR}/test/assets/sample_05-new.rb +${GEM_LIBDIR}/test/assets/sample_05-old.rb +${GEM_LIBDIR}/test/assets/sample_05.rb +${GEM_LIBDIR}/test/assets/sample_06.rb +${GEM_LIBDIR}/test/call_site_analyzer_test.rb +${GEM_LIBDIR}/test/code_coverage_analyzer_test.rb +${GEM_LIBDIR}/test/expected_coverage/diff-gcc-all.out +${GEM_LIBDIR}/test/expected_coverage/diff-gcc-diff.out +${GEM_LIBDIR}/test/expected_coverage/diff-gcc-original.out +${GEM_LIBDIR}/test/expected_coverage/diff-no-color.out +${GEM_LIBDIR}/test/expected_coverage/diff.out +${GEM_LIBDIR}/test/expected_coverage/gcc-text.out +${GEM_LIBDIR}/test/expected_coverage/sample_03_rb.html +${GEM_LIBDIR}/test/expected_coverage/sample_03_rb.rb +${GEM_LIBDIR}/test/expected_coverage/sample_04_rb.html +${GEM_LIBDIR}/test/file_statistics_test.rb +${GEM_LIBDIR}/test/functional_test.rb +${GEM_LIBDIR}/test/test_helper.rb ${GEM_LIBDIR}/test/turn_off_rcovrt.rb -${GEM_HOME}/specifications/rcov-${PKGVERSION}.gemspec +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-rcov/distinfo b/devel/ruby-rcov/distinfo index 4643ddff001..64bbd3a063d 100644 --- a/devel/ruby-rcov/distinfo +++ b/devel/ruby-rcov/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:18:21 jlam Exp $ +$NetBSD: distinfo,v 1.2 2010/09/10 06:18:16 taca Exp $ -SHA1 (rcov-0.8.1.2.0.gem) = 5f922dcfbceeb02fc3cf615946e68c34ac63cd79 -RMD160 (rcov-0.8.1.2.0.gem) = f477239223e3d5dc98054a766a69553f88d7b037 -Size (rcov-0.8.1.2.0.gem) = 74240 bytes +SHA1 (rcov-0.9.8.gem) = 91d60b273651662c503dd8eaa6d1b4d71cef846b +RMD160 (rcov-0.9.8.gem) = 50ad4ffc7318183d7a1da9ee25fe2ec724a953e0 +Size (rcov-0.9.8.gem) = 90112 bytes SHA1 (patch-aa) = 8e14b6e51ee9ed58415a343ae9ea1f0077c8ca5f diff --git a/devel/ruby-rcov/patches/patch-aa b/devel/ruby-rcov/patches/patch-aa deleted file mode 100644 index a8c14a7f40b..00000000000 --- a/devel/ruby-rcov/patches/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2008/04/04 15:18:21 jlam Exp $ - ---- Rakefile.orig 2008-03-31 16:35:31.000000000 -0400 -+++ Rakefile -@@ -126,7 +126,6 @@ EOF - s.test_files = Dir["test/test_*.rb"] - end - --task :gem => [:test] - Rake::GemPackageTask.new(Spec) do |p| - p.need_tar = true - end -@@ -149,7 +148,7 @@ file "rcovrt_win32" => ["#{WIN32_PKG_DIR - end - - Win32Spec = Spec.clone --Win32Spec.platform = Gem::Platform::WIN32 -+Win32Spec.platform = Gem::Platform::CURRENT - Win32Spec.extensions = [] - Win32Spec.files += ["lib/rcovrt.so"] - |