Hello community,

here is the log from the commit of package python-sip.1612 for 
openSUSE:12.3:Update checked in at 2013-05-02 14:58:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/python-sip.1612 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.python-sip.1612.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sip.1612"

Changes:
--------
New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:12.3:Update/.python-sip.1612.new/python-sip.changes      
2013-05-02 14:58:43.000000000 +0200
@@ -0,0 +1,489 @@
+-------------------------------------------------------------------
+Mon Apr 22 11:35:07 UTC 2013 - [email protected]
+
+- update to 4.14.6:
+  * Bug fix 
+
+-------------------------------------------------------------------
+Wed Mar 27 09:25:57 UTC 2013 - [email protected]
+
+- update to 4.14.5 (bnc#812130):
+  * Bug fixes (specifically for QGIS) 
+
+-------------------------------------------------------------------
+Thu Mar  7 02:56:25 UTC 2013 - [email protected]
+
+- Update to 4.14.4
+  * bugfix release
+  * include a potential incompatibility in the use of the %VirtualErrorHandler 
directive.
+
+-------------------------------------------------------------------
+Tue Jan 29 08:05:15 UTC 2013 - [email protected]
+
+- update to 4.14.3:
+  - 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.
+
+-------------------------------------------------------------------
+Sun Dec  9 13:40:23 UTC 2012 - [email protected]
+
+- Update to 4.14.2:
+  - Added sip.setdestroyonexit().
+  - sip.voidptr() will now accept any object that implements the buffer 
+    protocol.
+
+-------------------------------------------------------------------
+Mon Oct 29 09:54:38 UTC 2012 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------
+Mon Oct  1 05:42:10 UTC 2012 - [email protected]
+
+- 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.
+- 
+
+-------------------------------------------------------------------
+Thu Jul  5 12:30:23 UTC 2012 - [email protected]
+
+- install api version as rpm macro
+
+-------------------------------------------------------------------
+Fri Jun 22 02:58:35 UTC 2012 - [email protected]
+
+- Update to version 4.13.3
+  * The /NoRaisesPyException/ and /RaisesPyException/ function annotations can
+    now be applied to constructors.
+  * Added support for the Python v3.3 handling of Unicode.
+
+-------------------------------------------------------------------
+Tue Apr 10 20:38:21 UTC 2012 - [email protected]
+
+- Link against libpython. Fixes bnc#756282 and bnc#721280.
+- Remove SUSE_ASNEEDED=0 from spec file.
+
+-------------------------------------------------------------------
+Fri Mar 23 09:39:46 UTC 2012 - [email protected]
+
+- license update: GPL-2.0 or GPL-3.0 or SUSE-SIP
+  Use SUSE- proprietary extension until SIP license is accepted upstream at
+  spdx.org
+
+-------------------------------------------------------------------
+Mon Feb 20 13:10:49 CET 2012 - [email protected]
+
+ update to 4.13.2:
+ - A bug fix release. 
+
+-------------------------------------------------------------------
+Fri Dec 23 13:49:02 CET 2011 - [email protected]
+
+- update to 4.13.1:
+  - 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.
+
+-------------------------------------------------------------------
+Thu Oct 27 16:55:43 UTC 2011 - [email protected]
+
+- Changelog from the Creators
+  - SIP v4.13 has been released. This is a minor feature release.
+    o added the %DefaultDocstringFormat directive
+    o added the format argument to the %Docstring directive
+    o %ConvertToSubClassCode can now cause a restart of the conversion 
+      process using a different requested type
+    o '*' and '&' are now supported as unary operators in expressions 
+      used in the values of default arguments
+    o the /Transfer/ annotation can now be used with the /Array/ 
+      annotation to prevent the freeing of the temporary array of 
+      pointers. 
+
+-------------------------------------------------------------------
+Wed Oct 26 20:18:57 UTC 2011 - [email protected]
+
+- Updated to 4.13
+  - last stable release 
+
+-------------------------------------------------------------------
+Mon Aug 29 18:41:49 UTC 2011 - [email protected]
+
+- Add python-sip-bin package to avoid conflicts between python2 
+  and python3 versions
+
+-------------------------------------------------------------------
+Tue Aug 16 00:07:23 UTC 2011 - [email protected]
+
+- Update to 4.12.4
+  - A bug fix release.
+
+-------------------------------------------------------------------
+Mon May 30 15:24:38 CEST 2011 - [email protected]
+
+- update to 4.12.3:
+  - A bug fix release.
+
+-------------------------------------------------------------------
+Mon May  2 18:22:42 CEST 2011 - [email protected]
+
+- update to 4.12.2:
+ * /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.
+
+-------------------------------------------------------------------
+Tue Jan 25 11:56:23 CET 2011 - [email protected]
+
+- update to 4.12.1:
+  - 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.
+
+-------------------------------------------------------------------
+Mon Dec 27 14:00:10 CET 2010 - [email protected]
+
+- 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.
++++ 292 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.3:Update/.python-sip.1612.new/python-sip.changes
New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:12.3:Update/.python-sip.1612.new/python3-sip.changes     
2013-05-02 14:58:43.000000000 +0200
@@ -0,0 +1,105 @@
+-------------------------------------------------------------------
+Thu Mar  7 02:57:09 UTC 2013 - [email protected]
+
+- Update to 4.14.4
+  * bugfix release
+  * include a potential incompatibility in the use of the %VirtualErrorHandler 
directive.
+
+-------------------------------------------------------------------
+Sun Dec  9 13:44:20 UTC 2012 - [email protected]
+
+- Update to 4.14.2:
+  - Added sip.setdestroyonexit().
+  - sip.voidptr() will now accept any object that implements the buffer
+    protocol.
+
+-------------------------------------------------------------------
+Thu Nov 22 14:18:55 UTC 2012 - [email protected]
+
+- Removed openSUSE 11.4 spec file workarounds
+
+-------------------------------------------------------------------
+Mon Oct 29 09:55:09 UTC 2012 - [email protected]
+
+- 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.
+
+
+-------------------------------------------------------------------
+Mon Oct  1 05:43:35 UTC 2012 - [email protected]
+
+- 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.
+  - 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.
+
+-------------------------------------------------------------------
+Thu Jul  5 12:30:36 UTC 2012 - [email protected]
+
+- install api version as rpm macro
+
+-------------------------------------------------------------------
+Fri Jun 22 02:59:36 UTC 2012 - [email protected]
+
+- Update to version 4.13.3
+  - The /NoRaisesPyException/ and /RaisesPyException/ function annotations can
+    now be applied to constructors.
+  - Added support for the Python v3.3 handling of Unicode.
+
+-------------------------------------------------------------------
+Wed Apr 11 13:40:14 UTC 2012 - [email protected]
+
+- Link against libpython. Fixes bnc#756282 and bnc#721280.
+- license update: GPL-2.0 or GPL-3.0 or SUSE-SIP
+  Use SUSE- proprietary extension until SIP license is accepted upstream at
+  spdx.org
+- Remove SUSE_ASNEEDED=0 from spec file.
+
+-------------------------------------------------------------------
+Mon Nov 21 10:33:26 UTC 2011 - [email protected]
+
+- Define python3_sitearch (fixes the <12.1 build)
+- Spec cleanup
+
+-------------------------------------------------------------------
+Wed Oct 26 20:19:38 UTC 2011 - [email protected]
+
+- Update to 4.13
+  - last stable release 
+
+-------------------------------------------------------------------
+Mon Aug 29 18:41:49 UTC 2011 - [email protected]
+
+- Add python-sip-bin package to avoid conflicts between python2 
+  and python3 versions
+
+-------------------------------------------------------------------
+Tue Aug 16 00:07:23 UTC 2011 - [email protected]
+
+- Update to 4.12.4
+  - A bug fix release.
+- Adapted python-sip.spec for python3
+
+

New:
----
  build-compare.diff
  disable-rpaths.diff
  python-sip.changes
  python-sip.spec
  python3-sip.changes
  python3-sip.spec
  sip-4.14.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sip.spec ++++++
#
# spec file for package python-sip
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define rversion %{version}
%define python_sip_api 9.2

Name:           python-sip
Version:        4.14.6
Release:        0
Summary:        SIP tool to use python sip bindings
License:        GPL-2.0 or GPL-3.0 or SUSE-SIP
Group:          Development/Libraries/Python
Url:            http://www.riverbankcomputing.com/software/sip/introa
Source0:        
http://downloads.sourceforge.net/project/pyqt/sip/sip-%{rversion}/sip-%{rversion}.tar.gz
# PATCH-FIX-OPENSUSE disable-rpaths.diff -- Disable rpaths
Patch0:         disable-rpaths.diff
# PATCH-FIX-OPENSUSE build-compare.diff [email protected] -- Fix build-compare
Patch1:         build-compare.diff
BuildRequires:  c++_compiler
BuildRequires:  python
BuildRequires:  python-devel
Provides:       python-sip(api) = %python_sip_api
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires

%description
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

%package devel
Summary:        SIP tool to create python bindings
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
Requires:       c++_compiler
Requires:       python-devel
Requires:       python-sip-bin

%description devel
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

This package contains all the developer tools you need to create your
own sip bindings.

%package bin
Summary:        SIP tool to create python bindings
Group:          Development/Libraries/Python
Provides:       python-sip:/usr/bin/sip

%description bin
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

This package contains the sip executable.

%prep
%setup -q -n sip-%{rversion}
%patch0
%patch1

%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
# Link against libpython (fixes bnc#756282 and bnc#721280)
python configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" 
LIBS+="-lpython%{py_ver}"
make %{?_smp_mflags}

sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}')
sip_minor=$(grep "define SIP_API_MINOR_NR" siplib/sip.h.in | awk '{print $3}')

if test "%python_sip_api" != "$sip_major.$sip_minor"; then
    echo "API version was changed to $sip_major.$sip_minor"
    exit 1
fi

echo "%%requires_python_sip_api Requires: python-sip(api) = 
$sip_major.$sip_minor" > macros.%name

%install
make DESTDIR=%{buildroot} install

mkdir -p %{buildroot}%{_datadir}/sip
install -m 644 -D macros.%name %{buildroot}/%{_sysconfdir}/rpm/macros.%name

# Point to the correct location for the documentation files
sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README

%files
%defattr(-,root,root,-)
%doc README
%{py_sitedir}/sip.so

%files bin
%defattr(-,root,root,-)
%{_bindir}/sip

%files devel
%defattr(-,root,root,-)
%doc NEWS LICENSE* doc/
%config %{_sysconfdir}/rpm/macros.%name
%{py_incdir}/sip.h
%{py_sitedir}/sipconfig.py
%{py_sitedir}/sipdistutils.py
%{_datadir}/sip/

%changelog
++++++ python3-sip.spec ++++++
#
# spec file for package python3-sip
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global py3_incdir %(python3 -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_python_inc(True))" 2>/dev/null || echo 
PYTHON-NOT-FOUND)
%define rversion %{version}
%define python_sip_api 9.2

Name:           python3-sip
Version:        4.14.6
Release:        0
Summary:        SIP tool to use python sip bindings
License:        GPL-2.0 or GPL-3.0 or SUSE-SIP
Group:          Development/Libraries/Python
Url:            http://www.riverbankcomputing.com/software/sip/intro
Source0:        
http://downloads.sourceforge.net/project/pyqt/sip/sip-%{rversion}/sip-%{rversion}.tar.gz
# PATCH-FIX-OPENSUSE disable-rpaths.diff -- Disable rpaths
Patch0:         disable-rpaths.diff
# PATCH-FIX-OPENSUSE build-compare.diff [email protected] -- Fix build-compare
Patch1:         build-compare.diff
BuildRequires:  c++_compiler
BuildRequires:  python3-devel
Provides:       python3-sip(api) = %python_sip_api
Requires(pre):  python3
Requires(pre):  python3-base
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

%package devel
Summary:        SIP tool to create python bindings
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
Requires:       c++_compiler
Requires:       python-sip-bin
Requires:       python3-devel
Provides:       python3-sip:/usr/bin/sip

%description devel
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

This package contains all the developer tools you need to create your
own sip bindings.

%prep
%setup -q -n sip-%{rversion}
%patch0
%patch1

%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
# Link against libpython (fixes bnc#756282 and bnc#721280)
python3 configure.py --debug CFLAGS+="%{optflags}" CXXFLAGS+="%{optflags}" 
LIBS+="-lpython%{py3_ver}%{py3_abiflags}"
make %{?_smp_mflags}

sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}')
sip_minor=$(grep "define SIP_API_MINOR_NR" siplib/sip.h.in | awk '{print $3}')

if test "%python_sip_api" != "$sip_major.$sip_minor"; then
    echo "API version was changed to $sip_major.$sip_minor"
    exit 1
fi

echo "%%requires_python3_sip_api Requires: python3-sip(api) = 
$sip_major.$sip_minor" > macros.%name

%install
%{make_install}

mkdir -p %{buildroot}%{_datadir}/sip

# Point to the correct location for the documentation files
sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README

# sip executable is provided by python-sip-bin to avoid conflicts
rm %{buildroot}%{_bindir}/sip

install -m 644 -D macros.%name %{buildroot}/%{_sysconfdir}/rpm/macros.%name

%files
%defattr(-,root,root,-)
%doc README
%{python3_sitearch}/sip.so

%files devel
%defattr(-,root,root,-)
%doc NEWS LICENSE* doc/
%config %{_sysconfdir}/rpm/macros.%name
%{py3_incdir}/sip.h
%{python3_sitearch}/sipconfig.py
%{python3_sitearch}/sipdistutils.py
%{_datadir}/sip/

%changelog
++++++ build-compare.diff ++++++
--- sipgen/main.c
+++ sipgen/main.c
@@ -78,7 +78,7 @@
     kwArgs = NoKwArgs;
     protHack = FALSE;
     docs = FALSE;
-    timestamp = TRUE;
+    timestamp = FALSE;
 
     /* Parse the command line. */
     optnr = 1;
++++++ disable-rpaths.diff ++++++
--- siputils.py
+++ siputils.py
@@ -818,6 +818,7 @@
         rpaths is the cannonical list of rpaths.
         """
         flags = []
+        return flags
         prefix = self.optional_string("RPATH")
 
         if prefix == "":
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to