From 57a5f27068e116df6a0eae8d4f6f532ab3dd763f Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Fri, 10 Apr 2020 14:10:30 +0900 Subject: [PATCH] Revert "Add python3-unittest2" This reverts commit 0c991b7ca70b671009e9da1fe129415dd42efe2e. Change-Id: Ia4b56ad13437d908501c01c0bb88aa2832d97656 Signed-off-by: Hyunjee Kim --- packaging/python3-unittest2.manifest | 5 --- packaging/python3-unittest2.spec | 67 ---------------------------- 2 files changed, 72 deletions(-) delete mode 100644 packaging/python3-unittest2.manifest delete mode 100644 packaging/python3-unittest2.spec diff --git a/packaging/python3-unittest2.manifest b/packaging/python3-unittest2.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/python3-unittest2.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/python3-unittest2.spec b/packaging/python3-unittest2.spec deleted file mode 100644 index 84579f3..0000000 --- a/packaging/python3-unittest2.spec +++ /dev/null @@ -1,67 +0,0 @@ -# -# 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 - -- 2.34.1