pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-mysql Update ruby-mysql package to 2.5....
details: https://anonhg.NetBSD.org/pkgsrc/rev/81b9d1ad7984
branches: trunk
changeset: 484461:81b9d1ad7984
user: taca <taca%pkgsrc.org@localhost>
date: Sat Nov 27 15:45:57 2004 +0000
description:
Update ruby-mysql package to 2.5.1 migrating to use new framework
for Ruby packages.
2004-09-20
version 2.5.1
* add Mysql#set_ssl().
2004-08-31
version 2.5
* correspond to MySQL 4.1.x.
* change MysqlRes, MysqlField, MysqlError to Mysql::Result,
Mysql::Field, Mysql::Error.
* add Mysql.client_version(), Mysql.get_client_version(),
Mysql#client_version(), Mysql#get_client_version(),
Mysql#server_version(), Mysql#get_server_version(),
Mysql#warning_count(), Mysql#commit(), Mysql#rollback(),
Mysql#autocommit().
* add Mysql::Field#is_not_null?(), Mysql::Field#is_pri_key?(),
Mysql::Field#is_num?().
* add MysqlField::TYPE_VAR_STRING.
diffstat:
databases/ruby-mysql/Makefile | 30 +++++++++---------------------
databases/ruby-mysql/PLIST | 16 +++-------------
databases/ruby-mysql/distinfo | 6 +++---
3 files changed, 15 insertions(+), 37 deletions(-)
diffs (91 lines):
diff -r af76250564b1 -r 81b9d1ad7984 databases/ruby-mysql/Makefile
--- a/databases/ruby-mysql/Makefile Sat Nov 27 15:37:20 2004 +0000
+++ b/databases/ruby-mysql/Makefile Sat Nov 27 15:45:57 2004 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/10/29 05:59:24 jdolecek Exp $
+# $NetBSD: Makefile,v 1.10 2004/11/27 15:45:57 taca Exp $
#
-DISTNAME= mysql-ruby-2.4.5
-PKGNAME= ${RUBY_PKGNAMEPREFIX}mysql-2.4.5
-PKGREVISION= 1
+DISTNAME= mysql-ruby-2.5.1
+PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.5.1
CATEGORIES= databases ruby
MASTER_SITES= http://www.tmtm.org/mysql/ruby/
@@ -13,32 +12,21 @@
USE_BUILDLINK3= yes
-DIST_SUBDIR= ruby
-USE_RUBY_EXTCONF= yes
+USE_RUBY_EXTCONF= yes
+INSTALL_TARGET= site-install
CONFIGURE_ARGS+= --with-mysql-include-dir=${BUILDLINK_PREFIX.mysql-client}/include \
--with-mysql-lib-dir=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
-INSTALL_TARGET= site-install
-DOCS= README README.ja
-TEST_SCRIPTS= test.rb
-TEST_SCRIPTS2= 00connect.rb 10create_db.rb 20create_table.rb 30insert.rb \
- 40select.rb 50update.rb 60drop_table.rb 70drop_db.rb \
- 80close.rb
+DOCS= README.html README_ja.html
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mysql
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/mysql
.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mysql/t
-.for f in ${TEST_SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/$f ${RUBY_EXAMPLESDIR}/mysql
-.endfor
-.for f in ${TEST_SCRIPTS2}
- ${INSTALL_SCRIPT} ${WRKSRC}/t/$f ${RUBY_EXAMPLESDIR}/mysql/t
-.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mysql
+ ${INSTALL_SCRIPT} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/mysql
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r af76250564b1 -r 81b9d1ad7984 databases/ruby-mysql/PLIST
--- a/databases/ruby-mysql/PLIST Sat Nov 27 15:37:20 2004 +0000
+++ b/databases/ruby-mysql/PLIST Sat Nov 27 15:45:57 2004 +0000
@@ -1,17 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/27 15:19:06 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 15:45:57 taca Exp $
${RUBY_SITEARCHLIBDIR}/mysql.so
-${RUBY_DOCDIR}/mysql/README
-${RUBY_DOCDIR}/mysql/README.ja
+${RUBY_DOCDIR}/mysql/README.html
+${RUBY_DOCDIR}/mysql/README_ja.html
@dirrm ${RUBY_DOCDIR}/mysql
-${RUBY_EXAMPLESDIR}/mysql/t/00connect.rb
-${RUBY_EXAMPLESDIR}/mysql/t/10create_db.rb
-${RUBY_EXAMPLESDIR}/mysql/t/20create_table.rb
-${RUBY_EXAMPLESDIR}/mysql/t/30insert.rb
-${RUBY_EXAMPLESDIR}/mysql/t/40select.rb
-${RUBY_EXAMPLESDIR}/mysql/t/50update.rb
-${RUBY_EXAMPLESDIR}/mysql/t/60drop_table.rb
-${RUBY_EXAMPLESDIR}/mysql/t/70drop_db.rb
-${RUBY_EXAMPLESDIR}/mysql/t/80close.rb
-@dirrm ${RUBY_EXAMPLESDIR}/mysql/t
${RUBY_EXAMPLESDIR}/mysql/test.rb
@dirrm ${RUBY_EXAMPLESDIR}/mysql
diff -r af76250564b1 -r 81b9d1ad7984 databases/ruby-mysql/distinfo
--- a/databases/ruby-mysql/distinfo Sat Nov 27 15:37:20 2004 +0000
+++ b/databases/ruby-mysql/distinfo Sat Nov 27 15:45:57 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/09/11 15:34:03 taca Exp $
+$NetBSD: distinfo,v 1.3 2004/11/27 15:45:57 taca Exp $
-SHA1 (ruby/mysql-ruby-2.4.5.tar.gz) = 30a4c4cd33531998cccfb26e336b15efdd7d87eb
-Size (ruby/mysql-ruby-2.4.5.tar.gz) = 16420 bytes
+SHA1 (ruby/mysql-ruby-2.5.1.tar.gz) = c65908c1c9d8c71f6592bfe12795b5006672b072
+Size (ruby/mysql-ruby-2.5.1.tar.gz) = 18843 bytes
SHA1 (patch-aa) = 7134c3b1da98d89687ff4ef76d7c80cfe7ed9e4a
Home |
Main Index |
Thread Index |
Old Index