summaryrefslogtreecommitdiff
path: root/databases/ruby-sequel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-13 06:56:30 +0000
committerjlam <jlam@pkgsrc.org>2008-04-13 06:56:30 +0000
commit35011c9c6bf11018dd6e1ab04d81abab4f2c522f (patch)
treee266546c52bcb5cb3b661474ded30b7a1e7e728f /databases/ruby-sequel
parent5902cd9c5062644d08a947ba56bde2816b2ff94f (diff)
downloadpkgsrc-35011c9c6bf11018dd6e1ab04d81abab4f2c522f.tar.gz
Update databases/ruby-sequel to 1.4.0. Changes from version 1.3 include:
+ Add patch-aa and patch-ab which are changes pulled from upstream to allow the creation of new records that don't have a primary key when the cache is on. * Merge ``sequel_model'' into ``sequel''. * Eager loading for all types of associations. * One-to-many associations now populate the corresponding many-to-one instance variable (even when eagerly loaded). * ActiveRecord style has_many :through associations are now supported via many_to_many. many_to_many will no longer select the entire result set, just the columns of the associated table (and not the join table), so it works for both has_and_belongs_to_many (simple join table) and has_many :through (join table model) scenarios.
Diffstat (limited to 'databases/ruby-sequel')
-rw-r--r--databases/ruby-sequel/DESCR3
-rw-r--r--databases/ruby-sequel/Makefile15
-rw-r--r--databases/ruby-sequel/PLIST31
-rw-r--r--databases/ruby-sequel/distinfo10
4 files changed, 48 insertions, 11 deletions
diff --git a/databases/ruby-sequel/DESCR b/databases/ruby-sequel/DESCR
index 988b51804ac..0d67b48256a 100644
--- a/databases/ruby-sequel/DESCR
+++ b/databases/ruby-sequel/DESCR
@@ -4,3 +4,6 @@ and table schemas.
Sequel makes it easy to deal with multiple records without having to
break your teeth on SQL.
+
+This package contains model classes for Sequel that allow it to be used
+as an object-relational mapping (ORM).
diff --git a/databases/ruby-sequel/Makefile b/databases/ruby-sequel/Makefile
index 364be7d80f5..dda823ab473 100644
--- a/databases/ruby-sequel/Makefile
+++ b/databases/ruby-sequel/Makefile
@@ -1,15 +1,20 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:16:06 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2008/04/13 06:56:30 jlam Exp $
-DISTNAME= sequel-1.3
+DISTNAME= sequel-1.4.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sequel.rubyforge.org/
-COMMENT= Database toolkit for Ruby
+COMMENT= Model classes for the Sequel Database Toolkit
-DEPENDS+= ${RUBY_PKGPREFIX}-sequel-core>=1.3:../../databases/ruby-sequel-core
-DEPENDS+= ${RUBY_PKGPREFIX}-sequel-model>=0.5.0.2:../../databases/ruby-sequel-model
+BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=1.1.3:../../devel/ruby-rspec
+DEPENDS+= ${RUBY_PKGPREFIX}-assistance>=0.1.2:../../devel/ruby-assistance
+DEPENDS+= ${RUBY_PKGPREFIX}-sequel-core>=1.4.0:../../databases/ruby-sequel-core
+
+# Remove originals of patched files so they aren't included in the gem.
+pre-build:
+ find ${WRKSRC} -name "*.orig" | xargs rm -f
.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-sequel/PLIST b/databases/ruby-sequel/PLIST
index 670b35b3250..00b5ee3fdc5 100644
--- a/databases/ruby-sequel/PLIST
+++ b/databases/ruby-sequel/PLIST
@@ -1,10 +1,37 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:16:06 jlam Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/04/13 06:56:30 jlam Exp $
${GEM_HOME}/cache/sequel-${PKGVERSION}.gem
+${GEM_LIBDIR}/CHANGELOG
${GEM_LIBDIR}/COPYING
${GEM_LIBDIR}/README
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/lib/sequel.rb
+${GEM_LIBDIR}/lib/sequel_model.rb
+${GEM_LIBDIR}/lib/sequel_model/associations.rb
+${GEM_LIBDIR}/lib/sequel_model/base.rb
+${GEM_LIBDIR}/lib/sequel_model/caching.rb
+${GEM_LIBDIR}/lib/sequel_model/eager_loading.rb
+${GEM_LIBDIR}/lib/sequel_model/hooks.rb
+${GEM_LIBDIR}/lib/sequel_model/plugins.rb
+${GEM_LIBDIR}/lib/sequel_model/pretty_table.rb
+${GEM_LIBDIR}/lib/sequel_model/record.rb
+${GEM_LIBDIR}/lib/sequel_model/schema.rb
+${GEM_LIBDIR}/lib/sequel_model/validations.rb
+${GEM_LIBDIR}/spec/associations_spec.rb
+${GEM_LIBDIR}/spec/base_spec.rb
+${GEM_LIBDIR}/spec/caching_spec.rb
+${GEM_LIBDIR}/spec/deprecated_relations_spec.rb
+${GEM_LIBDIR}/spec/eager_loading_spec.rb
+${GEM_LIBDIR}/spec/hooks_spec.rb
+${GEM_LIBDIR}/spec/model_spec.rb
+${GEM_LIBDIR}/spec/plugins_spec.rb
+${GEM_LIBDIR}/spec/rcov.opts
+${GEM_LIBDIR}/spec/record_spec.rb
+${GEM_LIBDIR}/spec/schema_spec.rb
+${GEM_LIBDIR}/spec/spec.opts
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/validations_spec.rb
${GEM_HOME}/specifications/sequel-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/spec
+@dirrm ${GEM_LIBDIR}/lib/sequel_model
@dirrm ${GEM_LIBDIR}/lib
@dirrm ${GEM_LIBDIR}
-@exec ${MKDIR} %D/${GEM_DOCDIR}/rdoc/classes
diff --git a/databases/ruby-sequel/distinfo b/databases/ruby-sequel/distinfo
index b4aa63917c5..9dae7b7b09a 100644
--- a/databases/ruby-sequel/distinfo
+++ b/databases/ruby-sequel/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:16:06 jlam Exp $
+$NetBSD: distinfo,v 1.2 2008/04/13 06:56:30 jlam Exp $
-SHA1 (sequel-1.3.gem) = a78720aea193d7a8a9a776f119117ae90d323c98
-RMD160 (sequel-1.3.gem) = 34aaf37b801fa58f367c64ee6f8f641fee355bf9
-Size (sequel-1.3.gem) = 8192 bytes
+SHA1 (sequel-1.4.0.gem) = d217f621460ae290399f196fe27403bc2154e07c
+RMD160 (sequel-1.4.0.gem) = 774fd51b86c5a92615ee315ee8cff9dfa69b23d8
+Size (sequel-1.4.0.gem) = 38912 bytes
+SHA1 (patch-aa) = d7c6dabee5fdb77570dac24499867293111bc646
+SHA1 (patch-ab) = b49325eb73bfe37af49010b0650a78f5bfe1b9d0