Add packaging files 72/230472/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_base accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_unified tizen tizen_6.0 tizen_6.0_hotfix tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/6.0/unified/20201030.111247 accepted/tizen/6.0/unified/hotfix/20201102.232204 accepted/tizen/6.5/base/20211028.060125 accepted/tizen/7.0/base/20221116.025735 accepted/tizen/7.0/base/hotfix/20221116.055143 accepted/tizen/base/20210824.014508 accepted/tizen/base/20221115.103610 accepted/tizen/unified/20200413.070859 accepted/tizen/unified/20200413.082157 submit/tizen/20200413.004103 submit/tizen/20200413.081116 submit/tizen/20200413.081701 submit/tizen_6.0/20201029.205503 submit/tizen_6.0_hotfix/20201102.192903 submit/tizen_6.0_hotfix/20201103.115103 submit/tizen_6.5_base/20211028.134701 submit/tizen_base/20210824.002740 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
authorHyunjee Kim <hj0426.kim@samsung.com>
Fri, 10 Apr 2020 05:10:46 +0000 (14:10 +0900)
committerHyunjee Kim <hj0426.kim@samsung.com>
Fri, 10 Apr 2020 05:10:53 +0000 (14:10 +0900)
Change-Id: Ibe7490ab56be1bb1ea3c5db1e1a74fe57a4a7d2a
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
packaging/python3-unittest2.manifest [new file with mode: 0644]
packaging/python3-unittest2.spec [new file with mode: 0644]

diff --git a/packaging/python3-unittest2.manifest b/packaging/python3-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/python3-unittest2.spec b/packaging/python3-unittest2.spec
new file mode 100644 (file)
index 0000000..84579f3
--- /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:           python3-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:  python3-argparse
+BuildRequires:  python3-devel
+BuildRequires:  python3-linecache2
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-six
+BuildRequires:  python3-traceback2
+
+Requires:       python3-argparse
+Requires:       python3-linecache2
+Requires:       python3-six
+Requires:       python3-traceback2
+
+Provides:       python3-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} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+%{_bindir}/unit2
+%{python3_sitelib}/unittest2/*
+%{python3_sitelib}/unittest2/test/*
+%{python3_sitelib}/unittest2-%{version}-py*.egg-info
+
+%changelog
+