- 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
This commit is contained in:
2011-01-03 09:45:55 +00:00
committed by Git OBS Bridge
parent 9e486a1f00
commit 8736b6e6af
5 changed files with 54 additions and 19 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e67d019b53a6235d18cafad7538b0ebd692967fca6a0416f6c1a49573fdd56ed
size 461310

3
sip-4.12.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33517115a8ab1c0c7364a93be24a07143a9e6e651078a8a8e53723defa69dd4a
size 497600