Hello community,

here is the log from the commit of package python-unittest2 for 
openSUSE:Factory checked in at 2012-08-14 14:26:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-unittest2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-unittest2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-unittest2", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-unittest2/python-unittest2.changes        
2011-09-23 12:43:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-unittest2.new/python-unittest2.changes   
2012-08-14 14:26:59.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Jun  9 03:33:51 UTC 2012 - [email protected]
+
+- python3 package added 
+- spec file improved (files section)
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2012-08-03 19:43:57.387656292 +0200
+++ /work/SRC/openSUSE:Factory/.python-unittest2.new/python3-unittest2.changes  
2012-08-14 14:26:59.000000000 +0200
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Mon Aug 13 09:15:09 UTC 2012 - [email protected]
+
+- Fixed source URL
+
+-------------------------------------------------------------------
+Sat Jun  9 03:34:08 UTC 2012 - [email protected]
+
+- python3 package added 
+

New:
----
  python3-unittest2.changes
  python3-unittest2.spec
  unittest2py3k-0.5.1.tar.gz

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

Other differences:
------------------
++++++ python-unittest2.spec ++++++
--- /var/tmp/diff_new_pack.4tFiba/_old  2012-08-14 14:27:00.000000000 +0200
+++ /var/tmp/diff_new_pack.4tFiba/_new  2012-08-14 14:27:00.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-unittest2
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -52,6 +52,7 @@
 %defattr(-,root,root,-)
 %doc README.txt
 %{_bindir}/unit2*
-%{python_sitelib}/*
+%{python_sitelib}/unittest2
+%{python_sitelib}/unittest2-%{version}-py%{py_ver}.egg-info
 
 %changelog

++++++ python3-unittest2.spec ++++++
#
# spec file for package python3-unittest2
#
# Copyright (c) 2012 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/
#



Name:           python3-unittest2
Version:        0.5.1
Release:        1
Url:            http://pypi.python.org/pypi/unittest2
Summary:        The new features in unittest for Python 2.7 backported to 
Python 2.3+
License:        BSD-3-Clause
Group:          Development/Languages/Python
Source:         
http://pypi.python.org/packages/source/u/unittest2py3k/unittest2py3k-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-devel
%if 0%{?suse_version} && 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%endif
Requires:       python(abi) = %{py3_ver}
%if 0%{?suse_version} && 0%{?suse_version} > 1140
BuildRequires:  python3-base
%endif

%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArchitectures: noarch
%endif
%description
unittest2 is a backport of the new features added to the unittest testing
framework in Python 2.7. It is tested to run on Python 2.4 - 2.7.

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

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
mv %{buildroot}%{_bindir}/unit2 %{buildroot}%{_bindir}/unit2-python%{py3_ver}
mv %{buildroot}%{_bindir}/unit2.py 
%{buildroot}%{_bindir}/unit2-python%{py3_ver}.py
%files
%defattr(-,root,root,-)
%doc README.txt
%{_bindir}/unit2-python%{py3_ver}*
%{python3_sitelib}/unittest2/
%{python3_sitelib}/unittest2py3k-%{version}-py%{py3_ver}.egg-info
%if 0%{?suse_version} <= 1140
%dir %{_prefix}/lib/python%{py3_ver}
%dir %{python3_sitelib}
%endif

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to