Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37813252
en ru br
ALT Linux repos
S:2.0.1-alt3

Group :: Development/Python3
RPM: python3-module-testresources

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%global pypi_name testresources
%def_disable check

Name:           python3-module-%{pypi_name}
Version:        2.0.1
Release:        alt3
Summary:        Testresources, a pyunit extension for managing expensive test resources

Group:          Development/Python3
License:        Apache-2.0 and BSD and GPLv2+
# file testresources/tests/TestUtil.py is GPLv2+
URL:            https://launchpad.net/testresources
Source0:        %{name}-%{version}.tar
BuildArch:      noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pbr >= 1.8
BuildRequires: python3-module-testtools
BuildRequires: python3-module-fixtures

%description
testresources: extensions to python unittest to allow declarative use
of resources by test cases.

%prep
%setup
# Remove bundled egg-info
rm -rf lib/%{pypi_name}.egg-info

%build
%python3_build

%install
%python3_install

%check
%{__python3} setup.py test

%files
%doc README.rst NEWS doc
%{python3_sitelibdir}/%{pypi_name}
%{python3_sitelibdir}/%{pypi_name}-%{version}-py%_python3_version.egg-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin