From 8736b6e6af39a33ec8051562d3d229e97fdea9c0f5ad8c6cee1415ebd66c769f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 3 Jan 2011 09:45:55 +0000 Subject: [PATCH] - update to 4.12: - Implemented the revised directive syntax for %Module. - Deprecated %CModule, use %Module instead. - Added the keyword_arguments argument to %Module to specify the level of support for Python keyword arguments. - Deprecated the -k flag to sip, use the keyword_arguments argument to %Module instead. - Added an automatic pseudo-%Timeline to allow the SIP version number to be used in the %If directive. - Changed the behavior of the /KeywordArgs/ annotation to specify the level of support for Python keyword arguments. - Deprecated the /NoKeywordArgs/ annotation, use /KeywordArgs="All"/ instead. - Added the use_argument_names argument to %Module to provide the real names of arguments to handwritten code. - Module docstrings are now supported. - Added %AutoPyName to automatically provide Python names. - Added %Property to implement Python properties based on C/C++ getters and setters. - Added %Extract to allow arbitrary text to be embedded in specification files and subsequently extracted. - Deprecated %Doc and %ExportedDoc, use %Extract instead. - Added the -X flag to sip to extract text defined with %Extract. - Deprecated the -d flag to sip, use -X instead. - Added /PyInt/ as an argument, function and typedef annotation to force char types to be handled as Python integers rather that single character strings. - Added the L and M format characters to sipBuildResult(), sipCallMethod() and sipParseResult(). - Added sipGetAddress(). OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=50 --- build-compare.diff | 25 ++++++++++--------------- python-sip.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-sip.spec | 2 +- sip-4.11.2.tar.bz2 | 3 --- sip-4.12.tar.bz2 | 3 +++ 5 files changed, 54 insertions(+), 19 deletions(-) delete mode 100644 sip-4.11.2.tar.bz2 create mode 100644 sip-4.12.tar.bz2 diff --git a/build-compare.diff b/build-compare.diff index 925fa55..aee2455 100644 --- a/build-compare.diff +++ b/build-compare.diff @@ -1,16 +1,11 @@ -Index: sipgen/gencode.c -=================================================================== ---- sipgen/gencode.c.orig -+++ sipgen/gencode.c -@@ -12687,9 +12687,9 @@ static FILE *createFile(moduleDef *mod, - "/*\n" - " * %s\n" - " *\n" --" * Generated by SIP %s on %s" -+" * Generated by SIP %s" - ,description -- ,sipVersion,ctime(&now)); -+ ,sipVersion); +--- sipgen/main.c ++++ sipgen/main.c +@@ -78,7 +78,7 @@ + kwArgs = NoKwArgs; + protHack = FALSE; + docs = FALSE; +- timestamp = TRUE; ++ timestamp = FALSE; - if (mod->copying != NULL) - prcode(fp, + /* Parse the command line. */ + optnr = 1; diff --git a/python-sip.changes b/python-sip.changes index fee9c2c..0bf5df5 100644 --- a/python-sip.changes +++ b/python-sip.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Mon Dec 27 14:00:10 CET 2010 - dmueller@suse.de + +- update to 4.12: + - Implemented the revised directive syntax for %Module. + - Deprecated %CModule, use %Module instead. + - Added the keyword_arguments argument to %Module to specify the level of + support for Python keyword arguments. + - Deprecated the -k flag to sip, use the keyword_arguments argument to + %Module instead. + - Added an automatic pseudo-%Timeline to allow the SIP version number to be + used in the %If directive. + - Changed the behavior of the /KeywordArgs/ annotation to specify the level + of support for Python keyword arguments. + - Deprecated the /NoKeywordArgs/ annotation, use /KeywordArgs="All"/ instead. + - Added the use_argument_names argument to %Module to provide the real names + of arguments to handwritten code. + - Module docstrings are now supported. + - Added %AutoPyName to automatically provide Python names. + - Added %Property to implement Python properties based on C/C++ getters and + setters. + - Added %Extract to allow arbitrary text to be embedded in specification + files and subsequently extracted. + - Deprecated %Doc and %ExportedDoc, use %Extract instead. + - Added the -X flag to sip to extract text defined with %Extract. + - Deprecated the -d flag to sip, use -X instead. + - Added /PyInt/ as an argument, function and typedef annotation to force + char types to be handled as Python integers rather that single character + strings. + - Added the L and M format characters to sipBuildResult(), sipCallMethod() + and sipParseResult(). + - Added sipGetAddress(). + - Added the -T flag to sip to suppress the timestamp in the header comments + of generated files. + - sip.voidptr now behaves like a Python memoryview object and supports + sub-script assignment. + - Added the --sip-module flag to configure.py to allow the name and + containing package of the sip module to be specified thereby allowing + packages to include a local copy of the sip module. + ------------------------------------------------------------------- Mon Oct 25 12:55:45 CEST 2010 - dmueller@suse.de diff --git a/python-sip.spec b/python-sip.spec index 1c76934..49f6981 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -23,7 +23,7 @@ BuildRequires: c++_compiler python python-devel License: GPLv2+ Group: Development/Libraries/Python Summary: SIP tool to use python sip bindings -Version: 4.11.2 +Version: 4.12 Release: 1 %define rversion %version Url: http://www.riverbankcomputing.com/software/sip/intro diff --git a/sip-4.11.2.tar.bz2 b/sip-4.11.2.tar.bz2 deleted file mode 100644 index 2a77219..0000000 --- a/sip-4.11.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e67d019b53a6235d18cafad7538b0ebd692967fca6a0416f6c1a49573fdd56ed -size 461310 diff --git a/sip-4.12.tar.bz2 b/sip-4.12.tar.bz2 new file mode 100644 index 0000000..db7c319 --- /dev/null +++ b/sip-4.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33517115a8ab1c0c7364a93be24a07143a9e6e651078a8a8e53723defa69dd4a +size 497600