diff options
author | taca <taca> | 2012-06-15 11:38:48 +0000 |
---|---|---|
committer | taca <taca> | 2012-06-15 11:38:48 +0000 |
commit | 1af80d70eb4d692164d11014f3acd82628119d04 (patch) | |
tree | fe220e4292f44175f4349dc6387b08e55e1d2754 /databases/ruby-mysql2 | |
parent | 2c140fe3a5d311dd0d4ab6f5b848f244836893f8 (diff) | |
download | pkgsrc-1af80d70eb4d692164d11014f3acd82628119d04.tar.gz |
Add ruby-mysql2 version 0.3.11 package.
Mysql2
Mysql2 is a modern, simple and very fast Mysql library for Ruby - binding to
libmysql.
The Mysql2 gem is meant to serve the extremely common use-case of connecting,
querying and iterating on results. Some database libraries out there serve as
direct 1:1 mappings of the already complex C API's available. This one is
not.
It also forces the use of UTF-8 (or binary) for the connection (and all
strings in 1.9, unless Encoding.default_internal is set then it'll convert
from UTF-8 to that encoding) and uses encoding-aware MySQL API calls where it
can.
Diffstat (limited to 'databases/ruby-mysql2')
-rw-r--r-- | databases/ruby-mysql2/DESCR | 14 | ||||
-rw-r--r-- | databases/ruby-mysql2/Makefile | 16 | ||||
-rw-r--r-- | databases/ruby-mysql2/PLIST | 49 | ||||
-rw-r--r-- | databases/ruby-mysql2/distinfo | 5 |
4 files changed, 84 insertions, 0 deletions
diff --git a/databases/ruby-mysql2/DESCR b/databases/ruby-mysql2/DESCR new file mode 100644 index 00000000000..d914bcd1eb4 --- /dev/null +++ b/databases/ruby-mysql2/DESCR @@ -0,0 +1,14 @@ +Mysql2 + +Mysql2 is a modern, simple and very fast Mysql library for Ruby - binding to +libmysql. + +The Mysql2 gem is meant to serve the extremely common use-case of connecting, +querying and iterating on results. Some database libraries out there serve as +direct 1:1 mappings of the already complex C API's available. This one is +not. + +It also forces the use of UTF-8 (or binary) for the connection (and all +strings in 1.9, unless Encoding.default_internal is set then it'll convert +from UTF-8 to that encoding) and uses encoding-aware MySQL API calls where it +can. diff --git a/databases/ruby-mysql2/Makefile b/databases/ruby-mysql2/Makefile new file mode 100644 index 00000000000..8948dcd2119 --- /dev/null +++ b/databases/ruby-mysql2/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2012/06/15 11:38:48 taca Exp $ +# + +DISTNAME= mysql2-0.3.11 +CATEGORIES= databases ruby + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://github.com/brianmario/mysql2/ +COMMENT= Simple, fast Mysql library for Ruby, binding to libmysql +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/ruby/gem.mk" +.include "../../mk/mysql.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-mysql2/PLIST b/databases/ruby-mysql2/PLIST new file mode 100644 index 00000000000..b9fbd65b8da --- /dev/null +++ b/databases/ruby-mysql2/PLIST @@ -0,0 +1,49 @@ +@comment $NetBSD: PLIST,v 1.1 2012/06/15 11:38:48 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/.rspec +${GEM_LIBDIR}/.rvmrc +${GEM_LIBDIR}/.travis.yml +${GEM_LIBDIR}/CHANGELOG.md +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/MIT-LICENSE +${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/benchmark/active_record.rb +${GEM_LIBDIR}/benchmark/active_record_threaded.rb +${GEM_LIBDIR}/benchmark/allocations.rb +${GEM_LIBDIR}/benchmark/escape.rb +${GEM_LIBDIR}/benchmark/query_with_mysql_casting.rb +${GEM_LIBDIR}/benchmark/query_without_mysql_casting.rb +${GEM_LIBDIR}/benchmark/sequel.rb +${GEM_LIBDIR}/benchmark/setup_db.rb +${GEM_LIBDIR}/benchmark/threaded.rb +${GEM_LIBDIR}/examples/eventmachine.rb +${GEM_LIBDIR}/examples/threaded.rb +${GEM_LIBDIR}/ext/mysql2/client.c +${GEM_LIBDIR}/ext/mysql2/client.h +${GEM_LIBDIR}/ext/mysql2/extconf.rb +${GEM_LIBDIR}/ext/mysql2/mysql2_ext.c +${GEM_LIBDIR}/ext/mysql2/mysql2_ext.h +${GEM_LIBDIR}/ext/mysql2/result.c +${GEM_LIBDIR}/ext/mysql2/result.h +${GEM_LIBDIR}/ext/mysql2/wait_for_single_fd.h +${GEM_LIBDIR}/lib/mysql2.rb +${GEM_LIBDIR}/lib/mysql2/client.rb +${GEM_LIBDIR}/lib/mysql2/em.rb +${GEM_LIBDIR}/lib/mysql2/error.rb +${GEM_LIBDIR}/lib/mysql2/mysql2.${RUBY_DLEXT} +${GEM_LIBDIR}/lib/mysql2/result.rb +${GEM_LIBDIR}/lib/mysql2/version.rb +${GEM_LIBDIR}/mysql2.gemspec +${GEM_LIBDIR}/spec/em/em_spec.rb +${GEM_LIBDIR}/spec/mysql2/client_spec.rb +${GEM_LIBDIR}/spec/mysql2/error_spec.rb +${GEM_LIBDIR}/spec/mysql2/result_spec.rb +${GEM_LIBDIR}/spec/rcov.opts +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/tasks/benchmarks.rake +${GEM_LIBDIR}/tasks/compile.rake +${GEM_LIBDIR}/tasks/rspec.rake +${GEM_LIBDIR}/tasks/vendor_mysql.rake +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/databases/ruby-mysql2/distinfo b/databases/ruby-mysql2/distinfo new file mode 100644 index 00000000000..4ed61f1f2b4 --- /dev/null +++ b/databases/ruby-mysql2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2012/06/15 11:38:48 taca Exp $ + +SHA1 (mysql2-0.3.11.gem) = 0657933581e151a084f3c07398fd00ecb46f0144 +RMD160 (mysql2-0.3.11.gem) = 6b239b36b91fc43695b3da4098dc8959fbd258aa +Size (mysql2-0.3.11.gem) = 41984 bytes |