summaryrefslogtreecommitdiff
path: root/devel/ruby-pathname2
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 06:08:32 +0000
committertaca <taca@pkgsrc.org>2010-09-10 06:08:32 +0000
commitcff994fb193d53884e518ab062135f515b3ce976 (patch)
tree13180eaf9819e0797690121aa202aa716502ae44 /devel/ruby-pathname2
parent2e01b4fb6d615695b6dd2cd4dc68f8b50a85866f (diff)
downloadpkgsrc-cff994fb193d53884e518ab062135f515b3ce976.tar.gz
Update devel/ruby-pathname2 to 1.6.3.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Remove default value of GEM_BUILD. * Update dependency according to gemspec. == 1.6.3 - 2-Oct-2009 * Updated Windows platform handling code to include mingw and cygwin. * Added the :gem rake task. * Minor gemspec updates. * Some minor test suite updates. == 1.6.2 - 4-Aug-2009 * Now compatible with Ruby 1.9.x. * License changed to Artistic 2.0. * Added the Pathname.pwd method as a synonym for Pathname.new(Dir.pwd). * Modified Pathname#dirname so that you can specify a level that indicates how many levels up you want to retrieve. For example, if your path was '/usr/local/bin', then path.dirname(2) would return '/usr'. * Now compatible with Ruby 1.9.x. * Bumped required version of the facade library to 1.0.4.
Diffstat (limited to 'devel/ruby-pathname2')
-rw-r--r--devel/ruby-pathname2/Makefile13
-rw-r--r--devel/ruby-pathname2/PLIST10
-rw-r--r--devel/ruby-pathname2/distinfo8
3 files changed, 17 insertions, 14 deletions
diff --git a/devel/ruby-pathname2/Makefile b/devel/ruby-pathname2/Makefile
index 4c308115b05..29afa50aede 100644
--- a/devel/ruby-pathname2/Makefile
+++ b/devel/ruby-pathname2/Makefile
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2009/06/13 06:46:48 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2010/09/10 06:08:32 taca Exp $
-DISTNAME= pathname2-1.6.1
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME= pathname2-1.6.3
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://rubyforge.org/projects/shards
COMMENT= Alternate implementation of the Pathname library
+LICENSE= artistic-2.0
-GEM_BUILD= gemspec
+DEPENDS+= ${RUBY_PKGPREFIX}-facade>=1.0.4:../../devel/ruby-facade
-DEPENDS+= ${RUBY_PKGPREFIX}-facade>=1.0.1:../../devel/ruby-facade
-
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-pathname2/PLIST b/devel/ruby-pathname2/PLIST
index 8dd9e2cd04c..347ed3d17d2 100644
--- a/devel/ruby-pathname2/PLIST
+++ b/devel/ruby-pathname2/PLIST
@@ -1,10 +1,14 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:49:11 joerg Exp $
-${GEM_HOME}/cache/pathname2-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.3 2010/09/10 06:08:32 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGES
${GEM_LIBDIR}/MANIFEST
${GEM_LIBDIR}/README
${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/benchmarks/bench_pathname.rb
+${GEM_LIBDIR}/benchmarks/bench_plus.rb
+${GEM_LIBDIR}/examples/example_pathname.rb
${GEM_LIBDIR}/lib/pathname2.rb
+${GEM_LIBDIR}/pathname2.gemspec
${GEM_LIBDIR}/test/test_pathname.rb
${GEM_LIBDIR}/test/test_pathname_windows.rb
-${GEM_HOME}/specifications/pathname2-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-pathname2/distinfo b/devel/ruby-pathname2/distinfo
index 86103394dae..f552e13e625 100644
--- a/devel/ruby-pathname2/distinfo
+++ b/devel/ruby-pathname2/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/01/27 00:12:27 ahoka Exp $
+$NetBSD: distinfo,v 1.2 2010/09/10 06:08:32 taca Exp $
-SHA1 (pathname2-1.6.1.gem) = 29e1c091755fdca3b357c18e12acb297bf133759
-RMD160 (pathname2-1.6.1.gem) = d6de95a48a0f898b2d5be6a3d09055a82ffedbc9
-Size (pathname2-1.6.1.gem) = 19456 bytes
+SHA1 (pathname2-1.6.3.gem) = d568c7503d8c9bf0a9630f728329f5e64f7adec7
+RMD160 (pathname2-1.6.3.gem) = 80daf6c47c35ddec665819a7146533a078e186ad
+Size (pathname2-1.6.3.gem) = 22016 bytes