diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-04 15:15:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-04 15:15:42 +0000 |
commit | 11fd08f74990d16ae0669438ab86e7eb357af1a7 (patch) | |
tree | 004769133c05e6f2710138b234c39c9358f40ed5 /databases | |
parent | ad6676ac519f6c8d7dcbf473f0743d646dc56079 (diff) | |
download | pkgsrc-11fd08f74990d16ae0669438ab86e7eb357af1a7.tar.gz |
Initial import of ruby18-datamapper-0.3.0 as databases/ruby-datamapper.
DataMapper is a Object Relational Mapper written in Ruby. The goal
is to create an ORM which is fast, thread-safe and feature-rich with
ActiveRecord-compatibility.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-datamapper/DESCR | 3 | ||||
-rw-r--r-- | databases/ruby-datamapper/Makefile | 16 | ||||
-rw-r--r-- | databases/ruby-datamapper/PLIST | 206 | ||||
-rw-r--r-- | databases/ruby-datamapper/distinfo | 6 | ||||
-rw-r--r-- | databases/ruby-datamapper/patches/patch-aa | 20 |
5 files changed, 251 insertions, 0 deletions
diff --git a/databases/ruby-datamapper/DESCR b/databases/ruby-datamapper/DESCR new file mode 100644 index 00000000000..e8217fc31cb --- /dev/null +++ b/databases/ruby-datamapper/DESCR @@ -0,0 +1,3 @@ +DataMapper is a Object Relational Mapper written in Ruby. The goal +is to create an ORM which is fast, thread-safe and feature-rich with +ActiveRecord-compatibility. diff --git a/databases/ruby-datamapper/Makefile b/databases/ruby-datamapper/Makefile new file mode 100644 index 00000000000..3e5b76355bd --- /dev/null +++ b/databases/ruby-datamapper/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:15:42 jlam Exp $ + +DISTNAME= datamapper-0.3.0 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES= databases + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.datamapper.org/ +COMMENT= Fast, thread-safe, object-relational mapper + +DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.1.2:../../textproc/ruby-json-pure +DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=1.1.3:../../devel/ruby-rspec +DEPENDS+= ${RUBY_PKGPREFIX}-validatable>=1.6.7:../../devel/ruby-validatable + +.include "../../misc/rubygems/rubygem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-datamapper/PLIST b/databases/ruby-datamapper/PLIST new file mode 100644 index 00000000000..7aff86125dc --- /dev/null +++ b/databases/ruby-datamapper/PLIST @@ -0,0 +1,206 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:15:42 jlam Exp $ +${GEM_HOME}/cache/datamapper-${PKGVERSION}.gem +${GEM_LIBDIR}/CHANGELOG +${GEM_LIBDIR}/FAQ +${GEM_LIBDIR}/MIT-LICENSE +${GEM_LIBDIR}/QUICKLINKS +${GEM_LIBDIR}/README +${GEM_LIBDIR}/environment.rb +${GEM_LIBDIR}/example.rb +${GEM_LIBDIR}/lib/data_mapper.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/abstract_adapter.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/data_object_adapter.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/mysql_adapter.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/postgresql_adapter.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/coersion.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/commands/load_command.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/mappings/associations_set.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/mappings/column.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/mappings/conditions.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/mappings/schema.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/mappings/table.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sql/quoting.rb +${GEM_LIBDIR}/lib/data_mapper/adapters/sqlite3_adapter.rb +${GEM_LIBDIR}/lib/data_mapper/associations.rb +${GEM_LIBDIR}/lib/data_mapper/associations/belongs_to_association.rb +${GEM_LIBDIR}/lib/data_mapper/associations/has_and_belongs_to_many_association.rb +${GEM_LIBDIR}/lib/data_mapper/associations/has_many_association.rb +${GEM_LIBDIR}/lib/data_mapper/associations/has_n_association.rb +${GEM_LIBDIR}/lib/data_mapper/associations/reference.rb +${GEM_LIBDIR}/lib/data_mapper/attributes.rb +${GEM_LIBDIR}/lib/data_mapper/auto_migrations.rb +${GEM_LIBDIR}/lib/data_mapper/base.rb +${GEM_LIBDIR}/lib/data_mapper/callbacks.rb +${GEM_LIBDIR}/lib/data_mapper/context.rb +${GEM_LIBDIR}/lib/data_mapper/database.rb +${GEM_LIBDIR}/lib/data_mapper/dependency_queue.rb +${GEM_LIBDIR}/lib/data_mapper/embedded_value.rb +${GEM_LIBDIR}/lib/data_mapper/identity_map.rb +${GEM_LIBDIR}/lib/data_mapper/is/tree.rb +${GEM_LIBDIR}/lib/data_mapper/migration.rb +${GEM_LIBDIR}/lib/data_mapper/persistence.rb +${GEM_LIBDIR}/lib/data_mapper/property.rb +${GEM_LIBDIR}/lib/data_mapper/query.rb +${GEM_LIBDIR}/lib/data_mapper/support/blank.rb +${GEM_LIBDIR}/lib/data_mapper/support/connection_pool.rb +${GEM_LIBDIR}/lib/data_mapper/support/enumerable.rb +${GEM_LIBDIR}/lib/data_mapper/support/errors.rb +${GEM_LIBDIR}/lib/data_mapper/support/inflector.rb +${GEM_LIBDIR}/lib/data_mapper/support/object.rb +${GEM_LIBDIR}/lib/data_mapper/support/serialization.rb +${GEM_LIBDIR}/lib/data_mapper/support/silence.rb +${GEM_LIBDIR}/lib/data_mapper/support/string.rb +${GEM_LIBDIR}/lib/data_mapper/support/struct.rb +${GEM_LIBDIR}/lib/data_mapper/support/symbol.rb +${GEM_LIBDIR}/lib/data_mapper/support/typed_set.rb +${GEM_LIBDIR}/lib/data_mapper/types/base.rb +${GEM_LIBDIR}/lib/data_mapper/types/string.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/errors.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/macros.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validatable_instance_methods.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validation_base.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/formats/email.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_acceptance_of.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_each.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_format_of.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_length_of.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_numericality_of.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_presence_of.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_true_for.rb +${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/validates_uniqueness_of.rb +${GEM_LIBDIR}/lib/data_mapper/validations.rb +${GEM_LIBDIR}/lib/data_mapper/validations/number_validator.rb +${GEM_LIBDIR}/lib/data_mapper/validations/string_validator.rb +${GEM_LIBDIR}/lib/data_mapper/validations/validator.rb +${GEM_LIBDIR}/performance.rb +${GEM_LIBDIR}/plugins/can_has_sphinx/LICENSE +${GEM_LIBDIR}/plugins/can_has_sphinx/README +${GEM_LIBDIR}/plugins/can_has_sphinx/REVISION +${GEM_LIBDIR}/plugins/can_has_sphinx/Rakefile +${GEM_LIBDIR}/plugins/can_has_sphinx/init.rb +${GEM_LIBDIR}/plugins/can_has_sphinx/install.rb +${GEM_LIBDIR}/plugins/can_has_sphinx/lib/acts_as_sphinx.rb +${GEM_LIBDIR}/plugins/can_has_sphinx/lib/sphinx.rb +${GEM_LIBDIR}/plugins/can_has_sphinx/scripts/sphinx.sh +${GEM_LIBDIR}/plugins/can_has_sphinx/tasks/acts_as_sphinx_tasks.rake +${GEM_LIBDIR}/profile_data_mapper.rb +${GEM_LIBDIR}/rakefile.rb +${GEM_LIBDIR}/spec/acts_as_tree_spec.rb +${GEM_LIBDIR}/spec/adapters/data_object_adapter_spec.rb +${GEM_LIBDIR}/spec/associations/belongs_to_association_spec.rb +${GEM_LIBDIR}/spec/associations/has_and_belongs_to_many_association_spec.rb +${GEM_LIBDIR}/spec/associations/has_many_association_spec.rb +${GEM_LIBDIR}/spec/attributes_spec.rb +${GEM_LIBDIR}/spec/auto_migrations_spec.rb +${GEM_LIBDIR}/spec/callbacks_spec.rb +${GEM_LIBDIR}/spec/can_has_sphinx.rb +${GEM_LIBDIR}/spec/coersion_spec.rb +${GEM_LIBDIR}/spec/column_spec.rb +${GEM_LIBDIR}/spec/count_command_spec.rb +${GEM_LIBDIR}/spec/database_spec.rb +${GEM_LIBDIR}/spec/dataobjects_spec.rb +${GEM_LIBDIR}/spec/delete_command_spec.rb +${GEM_LIBDIR}/spec/dependency_spec.rb +${GEM_LIBDIR}/spec/embedded_value_spec.rb +${GEM_LIBDIR}/spec/fixtures/animals.yaml +${GEM_LIBDIR}/spec/fixtures/animals_exhibits.yaml +${GEM_LIBDIR}/spec/fixtures/careers.yaml +${GEM_LIBDIR}/spec/fixtures/comments.yaml +${GEM_LIBDIR}/spec/fixtures/exhibits.yaml +${GEM_LIBDIR}/spec/fixtures/fruit.yaml +${GEM_LIBDIR}/spec/fixtures/people.yaml +${GEM_LIBDIR}/spec/fixtures/posts.yaml +${GEM_LIBDIR}/spec/fixtures/projects.yaml +${GEM_LIBDIR}/spec/fixtures/sections.yaml +${GEM_LIBDIR}/spec/fixtures/serializers.yaml +${GEM_LIBDIR}/spec/fixtures/tasks.yaml +${GEM_LIBDIR}/spec/fixtures/tasks_tasks.yaml +${GEM_LIBDIR}/spec/fixtures/tomatoes.yaml +${GEM_LIBDIR}/spec/fixtures/users.yaml +${GEM_LIBDIR}/spec/fixtures/zoos.yaml +${GEM_LIBDIR}/spec/is_a_tree_spec.rb +${GEM_LIBDIR}/spec/legacy_spec.rb +${GEM_LIBDIR}/spec/load_command_spec.rb +${GEM_LIBDIR}/spec/magic_columns_spec.rb +${GEM_LIBDIR}/spec/migration_spec.rb +${GEM_LIBDIR}/spec/mock_adapter.rb +${GEM_LIBDIR}/spec/models/animal.rb +${GEM_LIBDIR}/spec/models/candidate.rb +${GEM_LIBDIR}/spec/models/career.rb +${GEM_LIBDIR}/spec/models/chain.rb +${GEM_LIBDIR}/spec/models/comment.rb +${GEM_LIBDIR}/spec/models/exhibit.rb +${GEM_LIBDIR}/spec/models/fence.rb +${GEM_LIBDIR}/spec/models/fruit.rb +${GEM_LIBDIR}/spec/models/job.rb +${GEM_LIBDIR}/spec/models/person.rb +${GEM_LIBDIR}/spec/models/post.rb +${GEM_LIBDIR}/spec/models/project.rb +${GEM_LIBDIR}/spec/models/sales_person.rb +${GEM_LIBDIR}/spec/models/section.rb +${GEM_LIBDIR}/spec/models/serializer.rb +${GEM_LIBDIR}/spec/models/task.rb +${GEM_LIBDIR}/spec/models/tomato.rb +${GEM_LIBDIR}/spec/models/user.rb +${GEM_LIBDIR}/spec/models/zoo.rb +${GEM_LIBDIR}/spec/natural_key_spec.rb +${GEM_LIBDIR}/spec/paranoia_spec.rb +${GEM_LIBDIR}/spec/persistence_spec.rb +${GEM_LIBDIR}/spec/postgres_spec.rb +${GEM_LIBDIR}/spec/property_spec.rb +${GEM_LIBDIR}/spec/query_spec.rb +${GEM_LIBDIR}/spec/save_command_spec.rb +${GEM_LIBDIR}/spec/schema_spec.rb +${GEM_LIBDIR}/spec/serialize_spec.rb +${GEM_LIBDIR}/spec/single_table_inheritance_spec.rb +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/spec/support/blank_spec.rb +${GEM_LIBDIR}/spec/support/inflector_spec.rb +${GEM_LIBDIR}/spec/support/object_spec.rb +${GEM_LIBDIR}/spec/support/serialization_spec.rb +${GEM_LIBDIR}/spec/support/silence_spec.rb +${GEM_LIBDIR}/spec/support/string_spec.rb +${GEM_LIBDIR}/spec/support/struct_spec.rb +${GEM_LIBDIR}/spec/support/typed_set_spec.rb +${GEM_LIBDIR}/spec/symbolic_operators_spec.rb +${GEM_LIBDIR}/spec/table_spec.rb +${GEM_LIBDIR}/spec/types/string.rb +${GEM_LIBDIR}/spec/validates_confirmation_of_spec.rb +${GEM_LIBDIR}/spec/validates_format_of_spec.rb +${GEM_LIBDIR}/spec/validates_length_of_spec.rb +${GEM_LIBDIR}/spec/validates_uniqueness_of_spec.rb +${GEM_LIBDIR}/spec/validations/number_validator.rb +${GEM_LIBDIR}/spec/validations/string_validator.rb +${GEM_LIBDIR}/spec/validations_spec.rb +${GEM_LIBDIR}/tasks/fixtures.rb +${GEM_HOME}/specifications/datamapper-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/tasks +@dirrm ${GEM_LIBDIR}/spec/validations +@dirrm ${GEM_LIBDIR}/spec/types +@dirrm ${GEM_LIBDIR}/spec/support +@dirrm ${GEM_LIBDIR}/spec/models +@dirrm ${GEM_LIBDIR}/spec/fixtures +@dirrm ${GEM_LIBDIR}/spec/associations +@dirrm ${GEM_LIBDIR}/spec/adapters +@dirrm ${GEM_LIBDIR}/spec +@dirrm ${GEM_LIBDIR}/plugins/can_has_sphinx/tasks +@dirrm ${GEM_LIBDIR}/plugins/can_has_sphinx/scripts +@dirrm ${GEM_LIBDIR}/plugins/can_has_sphinx/lib +@dirrm ${GEM_LIBDIR}/plugins/can_has_sphinx +@dirrm ${GEM_LIBDIR}/plugins +@dirrm ${GEM_LIBDIR}/lib/data_mapper/validations +@dirrm ${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations/formats +@dirrm ${GEM_LIBDIR}/lib/data_mapper/validatable_extensions/validations +@dirrm ${GEM_LIBDIR}/lib/data_mapper/validatable_extensions +@dirrm ${GEM_LIBDIR}/lib/data_mapper/types +@dirrm ${GEM_LIBDIR}/lib/data_mapper/support +@dirrm ${GEM_LIBDIR}/lib/data_mapper/is +@dirrm ${GEM_LIBDIR}/lib/data_mapper/associations +@dirrm ${GEM_LIBDIR}/lib/data_mapper/adapters/sql/mappings +@dirrm ${GEM_LIBDIR}/lib/data_mapper/adapters/sql/commands +@dirrm ${GEM_LIBDIR}/lib/data_mapper/adapters/sql +@dirrm ${GEM_LIBDIR}/lib/data_mapper/adapters +@dirrm ${GEM_LIBDIR}/lib/data_mapper +@dirrm ${GEM_LIBDIR}/lib +@dirrm ${GEM_LIBDIR} diff --git a/databases/ruby-datamapper/distinfo b/databases/ruby-datamapper/distinfo new file mode 100644 index 00000000000..6ce78567a67 --- /dev/null +++ b/databases/ruby-datamapper/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:15:42 jlam Exp $ + +SHA1 (datamapper-0.3.0.gem) = 41cdd8896bb9eddfca5054b75711487697da0131 +RMD160 (datamapper-0.3.0.gem) = cf44f74fc33a8f3c14dee4bd4e19155101d8b02c +Size (datamapper-0.3.0.gem) = 115712 bytes +SHA1 (patch-aa) = e4a0a1d970b9addaf921c8a63df40b3723739bb6 diff --git a/databases/ruby-datamapper/patches/patch-aa b/databases/ruby-datamapper/patches/patch-aa new file mode 100644 index 00000000000..db0e3648c08 --- /dev/null +++ b/databases/ruby-datamapper/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/04/04 15:15:42 jlam Exp $ + +--- rakefile.rb.orig 2008-03-31 17:42:10.000000000 -0400 ++++ rakefile.rb +@@ -122,12 +122,12 @@ gem_spec = Gem::Specification.new do |s| + s.homepage = 'http://datamapper.org' + + s.files = PACKAGE_FILES +- ++ ++ s.required_ruby_version = Gem::Requirement.new(">= 1.8.6") + s.require_path = 'lib' + s.requirements << 'none' + s.autorequire = 'data_mapper' +- s.add_dependency('fastthread') +- s.add_dependency('json') ++ s.add_dependency('json_pure') + s.add_dependency('rspec') + s.add_dependency('validatable') + |