pkgsrc/databases/ruby-sqlite3/Makefile
obache 4a0f595089 Update ruby-sqlite3 to 1.2.1.
Release Name: 1.2.1

Notes:
Only a single change in this release: sqlite3
3.3.8 and higher have changed the format of the
'dflt_value' column for the table_info pragma.
This caused breakage in apps that depend on that
pragma, like Ruby on Rails. This release makes the
Database#table_info helper check the libversion,
and adjust the dflt_value column accordingly. If
you want the new format and not the old, you can
invoke the table_info pragma directly, instead of
using the helper.

Release Name: 1.2.0

Notes:
* Fixed bug that caused crashes when type translation was asked to translate the type of a typeless column (like count(*), etc.)
* Added pre-built sqlite3_api_wrap.c to remove the dependency on SWIG.
* db.transaction should now catch all exceptions (bug #3981)
* Removed lots of warnings when running in -w mode
* Fixed problems with callbacks (thanks Sylvan Joyeux!)
* Named bind parameters may now be specified as symbols, or as strings. You can also leave off the leading colon when specifying them as a string.
* DL (pure-ruby) driver is now deprecated.
* Bignum values may be bound in a prepared statement.
* Get a more detailed error message when the connection cannot be established.
* Reset the statement when binding new variables to a prepared statement.
2007-04-01 09:10:34 +00:00

29 lines
860 B
Makefile

# $NetBSD: Makefile,v 1.4 2007/04/01 09:10:34 obache Exp $
DISTNAME= sqlite3-ruby-1.2.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//}
CATEGORIES= databases ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/17096/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://sqlite-ruby.rubyforge.org/
COMMENT= Ruby interface for the SQLite database engine
RUBY_HAS_ARCHLIB= yes
USE_RUBY_SETUP= yes
DOCS= ChangeLog LICENSE README
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR:Q}/sqlite3/api
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${RUBY_DOCDIR:Q}/sqlite3/
.endfor
cd ${WRKSRC:Q}/doc && ${PAX} -rw -pp * ${RUBY_DOCDIR:Q}/sqlite3
cd ${WRKSRC:Q}/api && ${PAX} -rw -pp * ${RUBY_DOCDIR:Q}/sqlite3/api
.include "../../mk/bsd.pkg.mk"