Fri Apr 4 15:16:02 2008 UTC ()
Update ruby-postgresql to version 0.7.9.2008.01.28.  Changes from
version 0.7.1 include:

+ Install as a Ruby gem.

- Aliases to make it easier for ActiveRecord to support both ruby-pg
  (the successor to ruby-postgres) and ruby-postgres.

- Fix connections to PostgreSQL>8.2.


(jlam)
diff -r1.32 -r1.33 pkgsrc/databases/ruby-postgresql/Makefile
diff -r1.3 -r1.4 pkgsrc/databases/ruby-postgresql/PLIST
diff -r1.6 -r1.7 pkgsrc/databases/ruby-postgresql/distinfo

cvs diff -r1.32 -r1.33 pkgsrc/databases/ruby-postgresql/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/ruby-postgresql/Attic/Makefile 2007/12/02 11:58:26 1.32
+++ pkgsrc/databases/ruby-postgresql/Attic/Makefile 2008/04/04 15:16:02 1.33
@@ -1,46 +1,18 @@ @@ -1,46 +1,18 @@
1# $NetBSD: Makefile,v 1.32 2007/12/02 11:58:26 wiz Exp $ 1# $NetBSD: Makefile,v 1.33 2008/04/04 15:16:02 jlam Exp $
2 2
3DISTNAME= ruby-postgres-${VERSION} 3DISTNAME= postgres-0.7.9.2008.01.28
4PKGNAME= ${RUBY_PKGPREFIX}-postgresql-${VERSION} 4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/}
5PKGREVISION= 8 5CATEGORIES= databases
6CATEGORIES= databases ruby 
7MASTER_SITES= http://raa.ruby-lang.org/cache/postgres/ \ 
8 http://ruby.scripting.ca/postgres/archive/ 
9 6
10MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://ruby.scripting.ca/postgres/ 8HOMEPAGE= http://ruby.scripting.ca/postgres/
12COMMENT= Ruby extension for postgresql 9COMMENT= Ruby extension for PostgreSQL
13 10
14RUBY_HAS_ARCHLIB= yes 11GEM_BUILD= gemspec
15USE_RUBY_EXTCONF= yes 12CONFIGURE_ARGS= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
16VERSION= 0.7.1 13 --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
17INSTALL_TARGET= site-install 
18CONFIGURE_ARGS+= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \ 
19 --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib 
20 14
21DOC= README README.ja doc/postgres.html doc/postgres.ja.html 15.include "../../misc/rubygems/rubygem.mk"
22EXAMPLE_LIBS= losample.rb psqlHelp.rb 
23EXAMPLE_SCRIPTS= psql.rb test1.rb test2.rb test4.rb 
24REPLACE_RUBY= sample/psql.rb sample/test1.rb sample/test2.rb \ 
25 sample/test4.rb 
26 16
27pre-install: 
28 @cd ${WRKSRC}; \ 
29 ${CP} -p doc/postgres.jp.html doc/postgres.ja.html 
30 
31post-install: 
32 ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql 
33.for f in ${DOC} 
34 ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/postgresql 
35.endfor 
36 ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/postgresql 
37.for f in ${EXAMPLE_LIBS} 
38 ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/postgresql 
39.endfor 
40.for f in ${EXAMPLE_SCRIPTS} 
41 ${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/postgresql 
42.endfor 
43 
44.include "../../lang/ruby/modules.mk" 
45.include "../../mk/pgsql.buildlink3.mk" 17.include "../../mk/pgsql.buildlink3.mk"
46.include "../../mk/bsd.pkg.mk" 18.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/databases/ruby-postgresql/Attic/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/ruby-postgresql/Attic/PLIST 2004/12/04 17:20:46 1.3
+++ pkgsrc/databases/ruby-postgresql/Attic/PLIST 2008/04/04 15:16:02 1.4
@@ -1,14 +1,17 @@ @@ -1,14 +1,17 @@
1@comment $NetBSD: PLIST,v 1.3 2004/12/04 17:20:46 taca Exp $ 1@comment $NetBSD: PLIST,v 1.4 2008/04/04 15:16:02 jlam Exp $
2${RUBY_SITEARCHLIBDIR}/postgres.${RUBY_DLEXT} 2${GEM_HOME}/cache/postgres-${PKGVERSION}.gem
3${RUBY_DOCDIR}/postgresql/README 3${GEM_LIBDIR}/COPYING
4${RUBY_DOCDIR}/postgresql/README.ja 4${GEM_LIBDIR}/COPYING.txt
5${RUBY_DOCDIR}/postgresql/postgres.html 5${GEM_LIBDIR}/Contributors
6${RUBY_DOCDIR}/postgresql/postgres.ja.html 6${GEM_LIBDIR}/GPL
7${RUBY_EXAMPLESDIR}/postgresql/losample.rb 7${GEM_LIBDIR}/LICENSE
8${RUBY_EXAMPLESDIR}/postgresql/psql.rb 8${GEM_LIBDIR}/README
9${RUBY_EXAMPLESDIR}/postgresql/psqlHelp.rb 9${GEM_LIBDIR}/ext/extconf.rb
10${RUBY_EXAMPLESDIR}/postgresql/test1.rb 10${GEM_LIBDIR}/ext/libpq-compat.c
11${RUBY_EXAMPLESDIR}/postgresql/test2.rb 11${GEM_LIBDIR}/ext/postgres.c
12${RUBY_EXAMPLESDIR}/postgresql/test4.rb 12${GEM_LIBDIR}/ext/type-oids.h
13@dirrm ${RUBY_DOCDIR}/postgresql 13${GEM_LIBDIR}/lib/postgres.${RUBY_DLEXT}
14@dirrm ${RUBY_EXAMPLESDIR}/postgresql 14${GEM_HOME}/specifications/postgres-${PKGVERSION}.gemspec
 15@dirrm ${GEM_LIBDIR}/lib
 16@dirrm ${GEM_LIBDIR}/ext
 17@dirrm ${GEM_LIBDIR}

cvs diff -r1.6 -r1.7 pkgsrc/databases/ruby-postgresql/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/ruby-postgresql/Attic/distinfo 2006/01/03 14:25:49 1.6
+++ pkgsrc/databases/ruby-postgresql/Attic/distinfo 2008/04/04 15:16:02 1.7
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.6 2006/01/03 14:25:49 taca Exp $ 1$NetBSD: distinfo,v 1.7 2008/04/04 15:16:02 jlam Exp $
2 2
3SHA1 (ruby-postgres-0.7.1.tar.gz) = ba3b872511b525f6b5979031ee62bfa265697e9a 3SHA1 (postgres-0.7.9.2008.01.28.gem) = 229ca3c503cda8a0977cd6e6d41896da7b8d5ecc
4RMD160 (ruby-postgres-0.7.1.tar.gz) = 9ec82ec6755f1ccd38582faeba239474fcb53ec9 4RMD160 (postgres-0.7.9.2008.01.28.gem) = 2473b4225802a49fd56a5adac702dc89d6cd19ba
5Size (ruby-postgres-0.7.1.tar.gz) = 29256 bytes 5Size (postgres-0.7.9.2008.01.28.gem) = 32768 bytes