- New upstream version 4.15.4:
- Fixed all the compiler warning messages when building the sip module.
- Fixed the parsing of C++ types involving multiple const and pointers.
- Added SIP_SSIZE_T_FORMAT to the C API.
- Moved the lexer and parser meta-source files to a separate directory to avoid
problems with make accidentaly regenerating them.
- Allow the pointers used to store the parsed results from Python
reimplementations to be NULL.
- Remove the __pycache__ directory when cleaning.
OBS-URL: https://build.opensuse.org/request/show/213381
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=113
- Revert sr#79987, moving /usr/bin/sip into python-sip-bin and requiring
that in python3-sip-devel (plus split provides) only causes trouble. It will
make python3-sip-devel depend forever on Python2 for absolutely no reason.
Both python-sip-devel and python3-sip-devel can happily provide /usr/bin/sip
since the binary is identical. You can have both installed in parallel and
remove either without breaking anything. (bnc#835161)
- Revert sr#79987, moving /usr/bin/sip into python-sip-bin and requiring
that in python3-sip-devel (plus split provides) only causes trouble. It will
make python3-sip-devel depend forever on Python2 for absolutely no reason.
Both python-sip-devel and python3-sip-devel can happily provide /usr/bin/sip
since the binary is identical. You can have both installed in parallel and
remove either without breaking anything. (bnc#835161)
OBS-URL: https://build.opensuse.org/request/show/199357
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=107
- The internal API version is increased to 10.0 requiring the regeneration of
all modules.
- Added the /Sequence/ function annotation.
- %ConvertFromTypeCode can now be specified for classes.
- Added sipEnableAutoconversion() to the C API.
- Added sipSetDestroyOnExit() to the C API.
- Bug fixes.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=98
- The /KeepReference/ argument annotation, when applied to factories, will
now keep the reference with the object created by the factory.
- Any object that supports the buffer protocol can now be passed when a
sip.voidptr is expected.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=88
- SIP_PYBUFFER can now be used to define objects that implement the Python
buffer protocol.
- Added /Capsule/ typedef annotation.
- Added the 'z' format character to sipBuildResult().
- Added the 'z', '!' and '$' format characters to sipParseResult().
- The C prototype foo(void) is now accepted.
- sipdistutils.py will now include swig_opts if no sip_opts have been
defined.
- Bug fixes.
- update to 4.14.1:
- SIP_PYBUFFER can now be used to define objects that implement the Python
buffer protocol.
- Added /Capsule/ typedef annotation.
- Added the 'z' format character to sipBuildResult().
- Added the 'z', '!' and '$' format characters to sipParseResult().
- The C prototype foo(void) is now accepted.
- sipdistutils.py will now include swig_opts if no sip_opts have been
defined.
- Bug fixes.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=81
This is an update (see below) for the SIP package following the latest upstream
version. I have updated both the python2 and python3 spec files. Let me know if
I need to make a separate request for the py2 version.
- Update to latest upstream version:
- The internal API version is increased to 9.0 requiring the regeneration
of all modules.
- Added the %InstanceCode directive.
- Added the %VirtualErrorHandler directive.
- Added the default_VirtualErrorHandler argument to the %Module directive.
- Added the VirtualErrorHandler class annotation.
- Added the NoVirtualErrorHandler and VirtualErrorHandler function
annotations.
- The AllowNone and NoRelease mapped type annotations can now be used
with mapped type templates.
- SIP_PLATFORM_* and SIP_TIMELINE_* preprocessor symbols are generated
corresponding to the -t arguments passed on the command line.
- Deprecated sipTransferBreak().
- For Python v2.x unsigned short and unsigned char (when used as a byte)
are now converted to int, rather than long, objects.
- Added support for MSVC 2010 to the build system.
-
- Update to the latest upstream version:
- The internal API version is increased to 9.0 requiring the regeneration
of all modules.
- Added the %InstanceCode directive.
- Added the %VirtualErrorHandler directive.
- Added the default_VirtualErrorHandler argument to the %Module directive.
- Added the VirtualErrorHandler class annotation.
- Added the NoVirtualErrorHandler and VirtualErrorHandler function
annotations.
- The AllowNone and NoRelease mapped type annotations can now be used
with mapped type templates.
OBS-URL: https://build.opensuse.org/request/show/136482
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=79
* The /NoRaisesPyException/ and /RaisesPyException/ function annotations can
now be applied to constructors.
* Added support for the Python v3.3 handling of Unicode.
- install api version as rpm macro
- The /NoRaisesPyException/ and /RaisesPyException/ function annotations can
now be applied to constructors.
- Added support for the Python v3.3 handling of Unicode.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=77
- Deprecation warnings can no longer be disabled.
- Added the all_raise_py_exception argument to the %Module directive.
- Added the /NoRaisesPyException/ function annotation.
- Added the /PyName/ typedef annotation.
- Class templates now allow super-classes to be defined as template
arguments.
- Added support for 'public' preceding the name of a class in a super-class
list.
- Added support for 'protected' and 'private' preceding the name of a class
in a super-class list. Any such super-class will be ignored.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=68
* /KeepReference/ is now supported as a function annotation.
* Handwritten code in class templates no longer have the types
substituted in lines that appear to contain C preprocessor directives.
* Added support for global inplace numeric operators.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=54
- Added support for the __getattribute__, __getattr__, __setattr__ and
__delattr__ methods.
- Added the /RaisesPyException/ function annotation.
- Added SIP_SSIZE_T as a predefined type.
- PyObject * can now be used as a synonym for SIP_PYOBJECT.
- Added sip.ispycreated() to the sip module.
- Added the --deployment-target flag to configure.py for MacOS/X.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=52
- 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
- /KeepReference/ can now be applied to global functions and static methods.
- %TypeCode can now be specified in a %MappedType directive.
- Mapped types for templates no longer require the template arguments to be
fully defined.
- Build system changes required by PyQt v4.8 and Qt v4.7.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=48
- Added the %UnitPostIncludeCode directive.
- /KeepReference/ will now accept a key to track when the same object is
passed to more than one method.
- operator() and __call__() can now accept keyword arguments.
- Added support for Python v3.2.
- update to 4.10.5:
- A bug fix release for Python v3 and Python v2.7.
- Use capsules when being built for Python v2.7 to work around an apparent
bug in the support for PyCObject.
- Added support for Q_SLOT, Q_SLOTS, Q_SIGNAL and Q_SIGNALS.
- Added the /__len__/ function annotation.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=41