Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37514653
en ru br
ALT Linux repos
S:0.9.0-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define  modulename parameterized

# not adapted for modern pytest

%def_without check

Name:    python3-module-%modulename
Version: 0.9.0
Release: alt1

Summary: Parameterized testing with any Python test framework

License: BSD
Group:   Development/Python3
URL:     https://pypi.org/project/parameterized/
# https://github.com/wolever/parameterized

Source:  %name-%version.tar
Patch: remove_nose.patch

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%if_with check
BuildRequires: python3-module-pytest
%endif

BuildArch: noarch

%description
%summary

%prep
%setup
%patch -p1

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v parameterized/test.py

%files
%doc *.rst
%python3_sitelibdir/%modulename
%python3_sitelibdir/%modulename-%version.dist-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