Bump to python-unittest2 1.1.0 86/124386/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified sandbox/wangbiao/deb_support tizen_4.0 tizen_4.0_tv tizen_5.0 accepted/tizen/4.0/unified/20170816.012422 accepted/tizen/4.0/unified/20170828.221640 accepted/tizen/5.0/unified/20181102.025956 accepted/tizen/unified/20170417.083142 submit/tizen/20170413.015102 submit/tizen/20170413.054532 submit/tizen/20170417.010017 submit/tizen/20170417.014400 submit/tizen/20170417.040041 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100007 submit/tizen_5.0/20181101.000008 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 11 Apr 2017 08:00:53 +0000 (17:00 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 11 Apr 2017 08:00:53 +0000 (17:00 +0900)
[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Bump to python-unittest2 1.1.0
[Cause & Measure] Bump to python-unittest2 1.1.0
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I693fa235a5a4a71c9d338b8eb4ad96056cf73a0d

packaging/python-unittest2.manifest [new file with mode: 0644]
packaging/python-unittest2.spec [new file with mode: 0644]

diff --git a/packaging/python-unittest2.manifest b/packaging/python-unittest2.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-unittest2.spec b/packaging/python-unittest2.spec
new file mode 100644 (file)
index 0000000..6f59111
--- /dev/null
@@ -0,0 +1,67 @@
+#
+# spec file for package python-unittest2
+#
+# Copyright (c) 2017 SUSE LINUX 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:           python-unittest2
+Version:        1.1.0
+Release:        0
+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/unittest2/unittest2-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  python-argparse
+BuildRequires:  python-devel
+BuildRequires:  python-linecache2
+BuildRequires:  python-setuptools
+BuildRequires:  python-six
+BuildRequires:  python-traceback2
+
+Requires:       python-argparse
+Requires:       python-linecache2
+Requires:       python-six
+Requires:       python-traceback2
+
+Provides:       python2-unittest2
+
+BuildArch:      noarch
+
+%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 unittest2-%{version}
+
+%build
+cp %{SOURCE1001} .
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+%{_bindir}/unit2
+%{python_sitelib}/unittest2/*
+%{python_sitelib}/unittest2/test/*
+%{python_sitelib}/unittest2-%{version}-py*.egg-info
+
+%changelog
+