Fri Aug 7 01:41:38 2015 UTC ()
Update to 0.3.1

Upstream changes:
# Version 0.3.1

* Actually export `dbIsValid()` :/

* `dbGetQuery()` uses `dbFetch()` in the default implementation.

# Version 0.3.0

## New and enhanced generics

* `dbIsValid()` returns a logical value describing whether a connection or
  result set (or other object) is still valid. (#12).

* `dbQuoteString()` and `dbQuoteIdentifier()` to implement database specific
  quoting mechanisms.

* `dbFetch()` added as alias to `fetch()` to provide consistent name.
  Implementers should define methods for both `fetch()` and `dbFetch()` until
  `fetch()` is deprecated in 2015. For now, the default method for `dbFetch()`
  calls `fetch()`.

* `dbBegin()` begins a transaction (#17). If not supported, DB specific
  methods should throw an error (as should `dbCommit()` and `dbRollback()`).

## New default methods

* `dbGetStatement()`, `dbGetRowsAffected()`, `dbHasCompleted()`, and
  `dbGetRowCount()` gain default methods that extract the appropriate elements
  from `dbGetInfo()`. This means that most drivers should no longer need to
  implement these methods (#13).

* `dbGetQuery()` gains a default method for `DBIConnection` which uses
  `dbSendQuery()`, `fetch()` and `dbClearResult()`.

## Deprecated features

* The following functions are soft-deprecated. They are going away,
  and developers who use the DBI should begin preparing. The formal deprecation
  process will begin in July 2015, where these function will emit warnings
  on use.

    * `fetch()` is replaced by `dbFetch()`.

    * `make.db.names()`, `isSQLKeyword()` and `SQLKeywords()`: a black list
      based approach is fundamentally flawed; instead quote strings and
      identifiers with `dbQuoteIdentifier()` and `dbQuoteString()`.

* `dbGetDBIVersion()` is deprecated since it's now just a thin wrapper
  around `packageVersion("DBI")`.

* `dbSetDataMappings()` (#9) and `dbCallProc()` (#7) are deprecated as no
  implementations were ever provided.

## Other improvements

* `dbiCheckCompliance()` makes it easier for implementors to check that their
  package is in compliance with the DBI specification.

* All examples now use the RSQLite package so that you can easily try out
  the code samples (#4).

* `dbDriver()` gains a more effective search mechanism that doesn't rely on
  packages being loaded (#1).

* DBI has been converted to use roxygen2 for documentation, and now most
  functions have their own documentation files. I would love your feedback
  on how we could make the documentation better!


(wen)
diff -r1.2 -r1.3 pkgsrc/math/R-DBI/Makefile
diff -r1.2 -r1.3 pkgsrc/math/R-DBI/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/math/R-DBI/Makefile (expand / switch to unified diff)

--- pkgsrc/math/R-DBI/Makefile 2013/08/15 02:22:18 1.2
+++ pkgsrc/math/R-DBI/Makefile 2015/08/07 01:41:38 1.3
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1# $NetBSD: Makefile,v 1.2 2013/08/15 02:22:18 wen Exp $ 1# $NetBSD: Makefile,v 1.3 2015/08/07 01:41:38 wen Exp $
2 2
3CATEGORIES= math 3CATEGORIES= math
4MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} 4MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
5 5
6MAINTAINER= pkgsrc-users@NetBSD.org 6MAINTAINER= pkgsrc-users@NetBSD.org
7HOMEPAGE= ${R_HOMEPAGE_BASE}/DBI/ 7HOMEPAGE= ${R_HOMEPAGE_BASE}/DBI/
8COMMENT= R Database Interface 8COMMENT= R Database Interface
9LICENSE= gnu-lgpl-v2 9LICENSE= gnu-lgpl-v2
10 10
11R_PKGNAME= DBI 11R_PKGNAME= DBI
12R_PKGVER= 0.2-7 12R_PKGVER= 0.3.1
13 13
14.include "../../math/R/Makefile.extension" 14.include "../../math/R/Makefile.extension"
15.include "../../mk/bsd.pkg.mk" 15.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/math/R-DBI/distinfo (expand / switch to unified diff)

--- pkgsrc/math/R-DBI/distinfo 2013/08/15 02:22:18 1.2
+++ pkgsrc/math/R-DBI/distinfo 2015/08/07 01:41:38 1.3
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.2 2013/08/15 02:22:18 wen Exp $ 1$NetBSD: distinfo,v 1.3 2015/08/07 01:41:38 wen Exp $
2 2
3SHA1 (R/DBI_0.2-7.tar.gz) = 2f76382681ea40d1617079ee11977cb13486821a 3SHA1 (R/DBI_0.3.1.tar.gz) = 380bbcda870269d3850bcbb01ef25aba92888cad
4RMD160 (R/DBI_0.2-7.tar.gz) = 7bf41d8290c8a1b24c9a81d0ef74efd423df2f88 4RMD160 (R/DBI_0.3.1.tar.gz) = 8f2016b8eb5222efbf7cb49e690c9a31c6b79525
5Size (R/DBI_0.2-7.tar.gz) = 194699 bytes 5Size (R/DBI_0.3.1.tar.gz) = 30106 bytes