Репозиторий Sisyphus
Последнее обновление: 21 ноября 2018 | Пакетов: 18671 | Посещений: 12580355
en ru br
Репозитории ALT
S:0.5.0-alt1.git20150806.2.1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-nose-parameterized

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname nose-parameterized

%def_with python3

Name: python-module-%oname
Version: 0.5.0
Release: alt1.git20150806.2.1
Summary: Decorator for parameterized testing with Nose
License: BSD
Group: Development/Python
Url: https://pypi.python.org/pypi/nose-parameterized/

# https://github.com/wolever/nose-parameterized.git

Source: %name-%version.tar
BuildArch: noarch

BuildPreReq: python-devel python-module-setuptools
BuildPreReq: python-module-nose
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools
BuildPreReq: python3-module-nose
%endif

%py_provides nose_parameterized

%description
nose-parameterized is a decorator for parameterized testing with nose.

%package -n python3-module-%oname
Summary: Decorator for parameterized testing with Nose
Group: Development/Python3
%py3_provides nose_parameterized

%description -n python3-module-%oname
nose-parameterized is a decorator for parameterized testing with nose.

%prep
%setup

%if_with python3
cp -fR . ../python3
%endif

%build
%python_build_debug

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%check
export LC_ALL=en_US.UTF-8
nosetests
%if_with python3
pushd ../python3
nosetests3
popd
%endif

%files
%doc *.txt *.rst
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.txt *.rst
%python3_sitelibdir/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin