Projects
openEuler:24.03:SP1:Everything:64G
python-unittest2
_service:tar_scm:python-unittest2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:python-unittest2.spec of Package python-unittest2
Name: python-unittest2 Version: 1.1.0 Release: 19 Summary: New features added to the unittest testing framework in Python 2.7 and onwards License: BSD URL: http://pypi.python.org/pypi/unittest2 Source0: https://pypi.python.org/packages/source/u/unittest2/unittest2-%{version}.tar.gz Patch0000: unittest2-1.1.0-remove-argparse-from-requires.patch Patch0001: unittest2-1.1.0-backport-tests-from-py3.5.patch Patch0002: fix-collections.MutableMapping-no-support-for-python-3.10.patch Patch0003: Modify-late_version-return-to-str.patch BuildArch: noarch %description unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 and onwards. It is tested to run on Python 2.6, 2.7, 3.2, 3.3, 3.4 and pypy. %package -n python3-unittest2 Summary: New features added to the unittest testing framework in Python 2.7 and onwards %{?python_provide:%python_provide python3-unittest2} BuildRequires: python3-devel python3-setuptools python3-six python3-traceback2 Requires: python3-setuptools python3-six python3-traceback2 %description -n python3-unittest2 unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 and onwards. It is tested to run on Python 2.6, 2.7, 3.2, 3.3, 3.4 and pypy. %prep %autosetup -n unittest2-%{version} -p1 rm -rf unittest2.egg-info %build %py3_build %install %py3_install cd %{buildroot}%{_bindir} mv unit2 unit2-%{python3_version} ln -s unit2-%{python3_version} unit2-3 ln -s unit2-%{python3_version} python3-unit2 cd - %check %{__python3} -m unittest2 %files -n python3-unittest2 %doc README.txt %{_bindir}/unit2-* %{_bindir}/python3-unit2 %{python3_sitelib}/unittest2* %changelog * Thu Mar 14 2024 yangchenguang <yangchenguang@kylinsec.com.cn> - 1.1.0-19 - fix build error : modify late_version return to str * Tue Mar 22 2022 wulei <wulei80@huawei.com> - 1.1.0-18 - Fix collections.MutableMapping no support for python 3.10 * Fri Sep 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.1.0-17 - Remove python2-unittest2 subpackage * Wed Nov 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.0-16 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2