pkgsrc/databases/py-mssql/Makefile

27 lines
804 B
Makefile
Raw Normal View History

2018-07-03 07:03:01 +02:00
# $NetBSD: Makefile,v 1.27 2018/07/03 05:03:07 adam Exp $
Update py-mssql to 1.0.2. Based on maintainer update request per PR 46084. (let to register egg-info, set LICENSE, fix DOS style EOL of some files) Changes since 0.8.0: Tue Apr 23 23:00:00 2009 Andrzej Kukula <akukula@gmail.com> + bugfix: fixed rare quoting bug in select_db() + feature: added 'max_conn' parameter to pymssql.connect() and _mssql.connect() which defaults to 25, thanks Daniel Watrous <dwmaillist@gmail.com> * nagios-plugin update - thanks Josselin Mouette <joss@debian.org>: + Include a -P port option, to avoid having to passing it with the host name + Fix the encoding of the comments; utf-8 is the declared encoding of the file and must be followed + Fix a typo in the SQL syntax + Connect explicitly to the "master" database (required since 1.0.0) + Improve perfdata output. * version 1.0.2 Tue Apr 21 22:56:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + bugfix in format_and_run_query(): query strings were sometimes overwritten with garbage due to DECREF in wrong place; thanks Igor Nazarenko <igor.n.nazarenko@gmail.com> + bugfix in get_result(): if a query batch contained DECLARE or possibly other T-SQL statements, no results were returned thanks Kay Schluehr <schluehrk@users.sourceforge.net> + bugfix in execute_scalar(): check if there are any columns in result + bugfix: check for FAIL after each dbnextrow() + feature: Add support for bigint - #2660972; thanks Alexandr Zamaraev <shura_zam@users.sourceforge.net> * pymssql.c: + bugfix in execute(): if execute is called without second argument, don't treat '%' in query string as formatting character; restored compatibility with common sense and with pymssql < 1.0.0; thanks Corey Bertram <corey.bertram@monitoredsecurity.com>, Wes McKinney <wesmckinn@gmail.com> + feature: it is possible to specify 'as_dict' to pymssql.connect and rows will be returned as dictionaries instead of tuples; thanks Daniel Watrous <dwmaillist@gmail.com> Thu Jan 30 18:36:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + Pyssize_t error on x64 - thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + more Py_ssize_t updates, further code cleanups + fixed some compiler warnings * pymssql.py: + execute() failed, thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + removed warnings, users don't want them and they are not 'MUST' priority in DB-API spec * nagios-plugin: introducted Nagios plugin, thanks Julien Blache and Josselin Mouette * version 1.0.1 Thu Jan 29 19:23:00 2009 Andrzej Kukula <akukula@gmail.com> * version 1.0.0 * so many changes I'll not put them here, I'll document changes from now on. Mon Sep 25 20:18:00 2006 Andrzej Kukula <akukula@gmail.com> * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks Terrence Brannon <metaperl@gmail.com>)
2012-04-26 14:57:51 +02:00
DISTNAME= pymssql-1.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
PKGREVISION= 7
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymssql/}
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://pymssql.sourceforge.net/
COMMENT= Python interface to MS SQL
Update py-mssql to 1.0.2. Based on maintainer update request per PR 46084. (let to register egg-info, set LICENSE, fix DOS style EOL of some files) Changes since 0.8.0: Tue Apr 23 23:00:00 2009 Andrzej Kukula <akukula@gmail.com> + bugfix: fixed rare quoting bug in select_db() + feature: added 'max_conn' parameter to pymssql.connect() and _mssql.connect() which defaults to 25, thanks Daniel Watrous <dwmaillist@gmail.com> * nagios-plugin update - thanks Josselin Mouette <joss@debian.org>: + Include a -P port option, to avoid having to passing it with the host name + Fix the encoding of the comments; utf-8 is the declared encoding of the file and must be followed + Fix a typo in the SQL syntax + Connect explicitly to the "master" database (required since 1.0.0) + Improve perfdata output. * version 1.0.2 Tue Apr 21 22:56:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + bugfix in format_and_run_query(): query strings were sometimes overwritten with garbage due to DECREF in wrong place; thanks Igor Nazarenko <igor.n.nazarenko@gmail.com> + bugfix in get_result(): if a query batch contained DECLARE or possibly other T-SQL statements, no results were returned thanks Kay Schluehr <schluehrk@users.sourceforge.net> + bugfix in execute_scalar(): check if there are any columns in result + bugfix: check for FAIL after each dbnextrow() + feature: Add support for bigint - #2660972; thanks Alexandr Zamaraev <shura_zam@users.sourceforge.net> * pymssql.c: + bugfix in execute(): if execute is called without second argument, don't treat '%' in query string as formatting character; restored compatibility with common sense and with pymssql < 1.0.0; thanks Corey Bertram <corey.bertram@monitoredsecurity.com>, Wes McKinney <wesmckinn@gmail.com> + feature: it is possible to specify 'as_dict' to pymssql.connect and rows will be returned as dictionaries instead of tuples; thanks Daniel Watrous <dwmaillist@gmail.com> Thu Jan 30 18:36:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + Pyssize_t error on x64 - thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + more Py_ssize_t updates, further code cleanups + fixed some compiler warnings * pymssql.py: + execute() failed, thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + removed warnings, users don't want them and they are not 'MUST' priority in DB-API spec * nagios-plugin: introducted Nagios plugin, thanks Julien Blache and Josselin Mouette * version 1.0.1 Thu Jan 29 19:23:00 2009 Andrzej Kukula <akukula@gmail.com> * version 1.0.0 * so many changes I'll not put them here, I'll document changes from now on. Mon Sep 25 20:18:00 2006 Andrzej Kukula <akukula@gmail.com> * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks Terrence Brannon <metaperl@gmail.com>)
2012-04-26 14:57:51 +02:00
LICENSE= gnu-lgpl-v2.1
Update py-mssql to 1.0.2. Based on maintainer update request per PR 46084. (let to register egg-info, set LICENSE, fix DOS style EOL of some files) Changes since 0.8.0: Tue Apr 23 23:00:00 2009 Andrzej Kukula <akukula@gmail.com> + bugfix: fixed rare quoting bug in select_db() + feature: added 'max_conn' parameter to pymssql.connect() and _mssql.connect() which defaults to 25, thanks Daniel Watrous <dwmaillist@gmail.com> * nagios-plugin update - thanks Josselin Mouette <joss@debian.org>: + Include a -P port option, to avoid having to passing it with the host name + Fix the encoding of the comments; utf-8 is the declared encoding of the file and must be followed + Fix a typo in the SQL syntax + Connect explicitly to the "master" database (required since 1.0.0) + Improve perfdata output. * version 1.0.2 Tue Apr 21 22:56:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + bugfix in format_and_run_query(): query strings were sometimes overwritten with garbage due to DECREF in wrong place; thanks Igor Nazarenko <igor.n.nazarenko@gmail.com> + bugfix in get_result(): if a query batch contained DECLARE or possibly other T-SQL statements, no results were returned thanks Kay Schluehr <schluehrk@users.sourceforge.net> + bugfix in execute_scalar(): check if there are any columns in result + bugfix: check for FAIL after each dbnextrow() + feature: Add support for bigint - #2660972; thanks Alexandr Zamaraev <shura_zam@users.sourceforge.net> * pymssql.c: + bugfix in execute(): if execute is called without second argument, don't treat '%' in query string as formatting character; restored compatibility with common sense and with pymssql < 1.0.0; thanks Corey Bertram <corey.bertram@monitoredsecurity.com>, Wes McKinney <wesmckinn@gmail.com> + feature: it is possible to specify 'as_dict' to pymssql.connect and rows will be returned as dictionaries instead of tuples; thanks Daniel Watrous <dwmaillist@gmail.com> Thu Jan 30 18:36:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + Pyssize_t error on x64 - thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + more Py_ssize_t updates, further code cleanups + fixed some compiler warnings * pymssql.py: + execute() failed, thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + removed warnings, users don't want them and they are not 'MUST' priority in DB-API spec * nagios-plugin: introducted Nagios plugin, thanks Julien Blache and Josselin Mouette * version 1.0.1 Thu Jan 29 19:23:00 2009 Andrzej Kukula <akukula@gmail.com> * version 1.0.0 * so many changes I'll not put them here, I'll document changes from now on. Mon Sep 25 20:18:00 2006 Andrzej Kukula <akukula@gmail.com> * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks Terrence Brannon <metaperl@gmail.com>)
2012-04-26 14:57:51 +02:00
SUBST_CLASSES+= crlf
SUBST_MESSAGE.crlf= stripping EOL CR
SUBST_STAGE.crlf= post-extract
SUBST_FILES.crlf= mssqldbmodule.c pymssql.py
SUBST_FILTER_CMD.crlf= ${TR} -d '\r'
Update py-mssql to 1.0.2. Based on maintainer update request per PR 46084. (let to register egg-info, set LICENSE, fix DOS style EOL of some files) Changes since 0.8.0: Tue Apr 23 23:00:00 2009 Andrzej Kukula <akukula@gmail.com> + bugfix: fixed rare quoting bug in select_db() + feature: added 'max_conn' parameter to pymssql.connect() and _mssql.connect() which defaults to 25, thanks Daniel Watrous <dwmaillist@gmail.com> * nagios-plugin update - thanks Josselin Mouette <joss@debian.org>: + Include a -P port option, to avoid having to passing it with the host name + Fix the encoding of the comments; utf-8 is the declared encoding of the file and must be followed + Fix a typo in the SQL syntax + Connect explicitly to the "master" database (required since 1.0.0) + Improve perfdata output. * version 1.0.2 Tue Apr 21 22:56:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + bugfix in format_and_run_query(): query strings were sometimes overwritten with garbage due to DECREF in wrong place; thanks Igor Nazarenko <igor.n.nazarenko@gmail.com> + bugfix in get_result(): if a query batch contained DECLARE or possibly other T-SQL statements, no results were returned thanks Kay Schluehr <schluehrk@users.sourceforge.net> + bugfix in execute_scalar(): check if there are any columns in result + bugfix: check for FAIL after each dbnextrow() + feature: Add support for bigint - #2660972; thanks Alexandr Zamaraev <shura_zam@users.sourceforge.net> * pymssql.c: + bugfix in execute(): if execute is called without second argument, don't treat '%' in query string as formatting character; restored compatibility with common sense and with pymssql < 1.0.0; thanks Corey Bertram <corey.bertram@monitoredsecurity.com>, Wes McKinney <wesmckinn@gmail.com> + feature: it is possible to specify 'as_dict' to pymssql.connect and rows will be returned as dictionaries instead of tuples; thanks Daniel Watrous <dwmaillist@gmail.com> Thu Jan 30 18:36:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + Pyssize_t error on x64 - thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + more Py_ssize_t updates, further code cleanups + fixed some compiler warnings * pymssql.py: + execute() failed, thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + removed warnings, users don't want them and they are not 'MUST' priority in DB-API spec * nagios-plugin: introducted Nagios plugin, thanks Julien Blache and Josselin Mouette * version 1.0.1 Thu Jan 29 19:23:00 2009 Andrzej Kukula <akukula@gmail.com> * version 1.0.0 * so many changes I'll not put them here, I'll document changes from now on. Mon Sep 25 20:18:00 2006 Andrzej Kukula <akukula@gmail.com> * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks Terrence Brannon <metaperl@gmail.com>)
2012-04-26 14:57:51 +02:00
BUILDLINK_API_DEPENDS.freetds+= freetds>=0.63
2018-07-03 07:03:01 +02:00
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 1.0.2; v2 might be better.
.include "../../databases/freetds/buildlink3.mk"
Update py-mssql to 1.0.2. Based on maintainer update request per PR 46084. (let to register egg-info, set LICENSE, fix DOS style EOL of some files) Changes since 0.8.0: Tue Apr 23 23:00:00 2009 Andrzej Kukula <akukula@gmail.com> + bugfix: fixed rare quoting bug in select_db() + feature: added 'max_conn' parameter to pymssql.connect() and _mssql.connect() which defaults to 25, thanks Daniel Watrous <dwmaillist@gmail.com> * nagios-plugin update - thanks Josselin Mouette <joss@debian.org>: + Include a -P port option, to avoid having to passing it with the host name + Fix the encoding of the comments; utf-8 is the declared encoding of the file and must be followed + Fix a typo in the SQL syntax + Connect explicitly to the "master" database (required since 1.0.0) + Improve perfdata output. * version 1.0.2 Tue Apr 21 22:56:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + bugfix in format_and_run_query(): query strings were sometimes overwritten with garbage due to DECREF in wrong place; thanks Igor Nazarenko <igor.n.nazarenko@gmail.com> + bugfix in get_result(): if a query batch contained DECLARE or possibly other T-SQL statements, no results were returned thanks Kay Schluehr <schluehrk@users.sourceforge.net> + bugfix in execute_scalar(): check if there are any columns in result + bugfix: check for FAIL after each dbnextrow() + feature: Add support for bigint - #2660972; thanks Alexandr Zamaraev <shura_zam@users.sourceforge.net> * pymssql.c: + bugfix in execute(): if execute is called without second argument, don't treat '%' in query string as formatting character; restored compatibility with common sense and with pymssql < 1.0.0; thanks Corey Bertram <corey.bertram@monitoredsecurity.com>, Wes McKinney <wesmckinn@gmail.com> + feature: it is possible to specify 'as_dict' to pymssql.connect and rows will be returned as dictionaries instead of tuples; thanks Daniel Watrous <dwmaillist@gmail.com> Thu Jan 30 18:36:00 2009 Andrzej Kukula <akukula@gmail.com> * mssqldbmodule.c: + Pyssize_t error on x64 - thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + more Py_ssize_t updates, further code cleanups + fixed some compiler warnings * pymssql.py: + execute() failed, thanks Josselin Mouette <joss@debian.org> + critical charset updates, thanks Josselin Mouette <joss@debian.org> + removed warnings, users don't want them and they are not 'MUST' priority in DB-API spec * nagios-plugin: introducted Nagios plugin, thanks Julien Blache and Josselin Mouette * version 1.0.1 Thu Jan 29 19:23:00 2009 Andrzej Kukula <akukula@gmail.com> * version 1.0.0 * so many changes I'll not put them here, I'll document changes from now on. Mon Sep 25 20:18:00 2006 Andrzej Kukula <akukula@gmail.com> * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks Terrence Brannon <metaperl@gmail.com>)
2012-04-26 14:57:51 +02:00
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"