Hello community,

here is the log from the commit of package python-virtkey for openSUSE:Factory 
checked in at 2013-01-17 10:19:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtkey (Old)
 and      /work/SRC/openSUSE:Factory/.python-virtkey.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-virtkey", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-virtkey/python-virtkey.changes    
2012-02-28 14:15:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-virtkey.new/python-virtkey.changes       
2013-01-17 10:19:12.000000000 +0100
@@ -1,0 +2,29 @@
+Tue Jan 15 08:57:57 UTC 2013 - [email protected]
+
+- Add pre_checkin.sh and rework python3 packaging so that only
+  updating the python-virtkey spec file is enough: the few
+  differences between the two spec files are handled with a
+  %build_for_python3 define.
+
+-------------------------------------------------------------------
+Mon Jan 14 16:34:27 UTC 2013 - [email protected]
+
+- Initial python3 support.
+
+-------------------------------------------------------------------
+Mon Jan 14 16:04:34 UTC 2013 - [email protected]
+
+- Update to version 0.63.0:
+  + Add support for system-layout specific items in Onboard's
+    layout files
+- Changes from version 0.62.0:
+  + Allow arbitrary sequence of modifier masks
+- Changes from version 0.61.0:
+  + Add support for python3
+  + Reduce the number of unnecessarily linked libraries
+  + Make XkbGetKeyboard use correct constants
+  + Switch the name of the source code package back to virtkey
+- Cleanup the spec file a bit: drop non-openSUSE packaging bits.
+- Add pkgconfig(xkbfile) BuildRequires: new dependency ypstream.
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.python-virtkey.new/python3-virtkey.changes      
2013-01-17 10:19:12.000000000 +0100
@@ -0,0 +1,68 @@
+-------------------------------------------------------------------
+Tue Jan 15 08:57:57 UTC 2013 - [email protected]
+
+- Add pre_checkin.sh and rework python3 packaging so that only
+  updating the python-virtkey spec file is enough: the few
+  differences between the two spec files are handled with a
+  %build_for_python3 define.
+
+-------------------------------------------------------------------
+Mon Jan 14 16:34:27 UTC 2013 - [email protected]
+
+- Initial python3 support.
+
+-------------------------------------------------------------------
+Mon Jan 14 16:04:34 UTC 2013 - [email protected]
+
+- Update to version 0.63.0:
+  + Add support for system-layout specific items in Onboard's
+    layout files
+- Changes from version 0.62.0:
+  + Allow arbitrary sequence of modifier masks
+- Changes from version 0.61.0:
+  + Add support for python3
+  + Reduce the number of unnecessarily linked libraries
+  + Make XkbGetKeyboard use correct constants
+  + Switch the name of the source code package back to virtkey
+- Cleanup the spec file a bit: drop non-openSUSE packaging bits.
+- Add pkgconfig(xkbfile) BuildRequires: new dependency ypstream.
+
+-------------------------------------------------------------------
+Fri Feb 24 09:31:30 UTC 2012 - [email protected]
+
+- Add explicit pkgconfig(x11) and pkgconfig(xtst) BuildRequires:
+  those are needed after the xorg-x11 packaging change.
+- Change glib2-devel and gtk2-devel BuildRequires to the real
+  pkgconfig() dependencies for this package: gdk-2.0 and glib-2.0.
+
+-------------------------------------------------------------------
+Sat Jul  2 19:46:16 CEST 2011 - [email protected]
+
+- Update to version 0.60.0:
+  + Add methods to get the active layout symbols and group
+    (lp#65626)
+  + Add python error exit in getKbd (lp#526791)
+  + Fix potential X resource leaks
+  + Add test code to simulate missing X keyboard
+  + Some code cleanup
+  + Reorganize source directory and add AUTHORS, NEWS and README files
+  + Add MANIFEST.in file
+  + Use pkg-config to find paths instead of hardcoded paths
+  + Update license to LGPL 3
+  + Use 'python-virtkey' name also for source package
+  + Change version format to major.minor.micro
+  + Add some API documentation
+- Change License tag from GPLv2+ to LGPLv3+.
+- Drop python-virtkey-use-pkg-config.patch: fixed upstream.
+- Update description
+
+-------------------------------------------------------------------
+Mon Dec 20 09:02:23 UTC 2010 - [email protected]
+
+- Re-packaged with py2pack to reduce build errors
+
+-------------------------------------------------------------------
+Fri Apr  2 03:21:38 CEST 2010 - [email protected]
+
+- New package.
+

Old:
----
  python-virtkey-0.60.0.tar.gz

New:
----
  pre_checkin.sh
  python3-virtkey.changes
  python3-virtkey.spec
  virtkey-0.63.0.tar.gz

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

Other differences:
------------------
++++++ python-virtkey.spec ++++++
--- /var/tmp/diff_new_pack.9uct92/_old  2013-01-17 10:19:13.000000000 +0100
+++ /var/tmp/diff_new_pack.9uct92/_new  2013-01-17 10:19:13.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-virtkey
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -16,53 +16,54 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
 %define mod_name virtkey
+%define build_for_python3 0
+
+%if %{build_for_python3}
+%define local_python      python3
+%else
+%define local_python      python
+%endif
 
 Name:           python-%{mod_name}
-Version:        0.60.0
+Version:        0.63.0
 Release:        0
 Url:            https://launchpad.net/virtkey
 Summary:        Python extension to emulate keypresses
 License:        LGPL-3.0+
 Group:          Development/Languages/Python
-Source:         python-%{mod_name}-%{version}.tar.gz
+Source:         %{mod_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  glib2-devel
 BuildRequires:  gtk2-devel
+%if %{build_for_python3}
+BuildRequires:  python3-devel
+BuildRequires:  python3-distribute
+%else
 BuildRequires:  python-devel
+%endif
 BuildRequires:  pkgconfig(gdk-2.0)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xkbfile)
 BuildRequires:  pkgconfig(xtst)
-%if 0%{?suse_version}
-%py_requires
-%endif
 
 %description
 python-virtkey is a python extension for emulating keypresses and
 getting the keyboard geometry from the xserver.
 
 %prep
-export CFLAGS="%{optflags}"
-%setup -q
+%setup -q -n %{mod_name}-%{version}
 
 %build
-python setup.py build
+export CFLAGS="%{optflags}"
+%{local_python} setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} 
%{?suse_version: --record-rpm=INSTALLED_FILES}
+%{local_python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
 
-%clean
-rm -rf %{buildroot}
-
-%files %{?suse_version: -f INSTALLED_FILES}
+%files -f INSTALLED_FILES
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING.LESSER NEWS README
-%if 0%{!?suse_version:1}
-%python_sitelib/%{mod_name}*
-%endif
 
 %changelog

++++++ python3-virtkey.spec ++++++
#
# spec file for package python3-virtkey
#
# 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 mod_name virtkey
%define build_for_python3 1

%if %{build_for_python3}
%define local_python      python3
%else
%define local_python      python
%endif

Name:           python3-%{mod_name}
Version:        0.63.0
Release:        0
Url:            https://launchpad.net/virtkey
Summary:        Python extension to emulate keypresses
License:        LGPL-3.0+
Group:          Development/Languages/Python
Source:         %{mod_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  glib2-devel
BuildRequires:  gtk2-devel
%if %{build_for_python3}
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
%else
BuildRequires:  python-devel
%endif
BuildRequires:  pkgconfig(gdk-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xkbfile)
BuildRequires:  pkgconfig(xtst)

%description
python-virtkey is a python extension for emulating keypresses and
getting the keyboard geometry from the xserver.

%prep
%setup -q -n %{mod_name}-%{version}

%build
export CFLAGS="%{optflags}"
%{local_python} setup.py build

%install
%{local_python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES

%files -f INSTALLED_FILES
%defattr(-,root,root,-)
%doc AUTHORS COPYING.LESSER NEWS README

%changelog
++++++ pre_checkin.sh ++++++
#!/bin/sh

sed 's,build_for_python3 0,build_for_python3 1,;s,^\(Name: 
*\)python-,\1python3-,' python-virtkey.spec > python3-virtkey.spec
cp python-virtkey.changes python3-virtkey.changes
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to