ALT repositories
Last updated at Sat, 06 Jun 2020 00:53:36 +0000 | SRPMs: 18526
en ru
SRPMs in branches
hide window
  • 1.1.0-alt2.hg20150630.1
  • 1.1.0-alt2.hg20150630.1
  • 1.1.0-alt2.hg20150630.1
  • 1.1.0-alt2.hg20150630
  • 1.1.0-alt2.hg20150630
  • 0.6.0-alt1.a1.hg20120312
Group :: Development/Python
Source RPM: python-module-unittest2
Raw spec file

%define oname unittest2

%def_disable check

Name: python-module-%oname
Version: 1.1.0
Release: alt3

Summary: Backport of Python 2.7 unittest module
License: Same as Python
Group: Development/Python
# hg clone

BuildArch: noarch

Source: %name-%version.tar

BuildRequires: python-module-pytest python-module-traceback2

BuildPreReq: python3-module-pytest python3-module-traceback2
BuildPreReq: python-tools-2to3

#%%py_requires traceback2 six

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 -

%package -n python3-module-%oname
Summary: Port of Python 2.7 unittest module
Group: Development/Python3
#%%py3_requires traceback2 six

%description -n python3-module-%oname
unittest2 is a port of the features added to the unittest testing
framework in Python 2.7.


rm -rf ../python3
cp -a . ../python3


pushd ../python3
for i in $(find ./ -name '*.py'); do
2to3 -w -n $i

pushd ../python3


python test

pushd ../python3
python3 test

%doc README.txt

%files -n python3-module-%oname
%doc README.txt


* Mon May 14 2018 Andrey Bychkov <mrdrew at> 1.1.0-alt3
- rebuild with python3.6

* Sun Mar 13 2016 Ivan Zakharyaschev <imz at> 1.1.0-alt2.hg20150630.1
- (NMU) rebuild with rpm-build-python3-0.1.9
(for common python3/site-packages/ and auto python3.3-ABI dep when needed)

* Tue Jan 26 2016 Sergey Alembekov <rt at> 1.1.0-alt2.hg20150630
- Rebuild with "def_disable check"
- Cleanup buildreq

* Tue Aug 11 2015 Eugeny A. Rostovtsev (REAL) <real at> 1.1.0-alt1.hg20150630
- Version 1.1.0

* Fri Jun 22 2012 Eugeny A. Rostovtsev (REAL) <real at> 0.6.0-alt1.a1.hg20120312
- Version 0.6.0a1

* Sun Oct 23 2011 Vitaly Kuznetsov <vitty at> 0.5.1-alt1.1
- Rebuild with Python-2.7

* Wed Sep 29 2010 Andrey Rahmatullin <wrar at> 0.5.1-alt1
- initial build
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.