Sisyphus repositório
Última atualização: 16 agosto 2019 | SRPMs: 17338 | Visitas: 14651218
en ru br
ALT Linux repositórios
S:0.4.2-alt2.git20141201.1

Group :: Desenvolvimento/Python
RPM: python-module-pinocchio

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname pinocchio

%def_with python3

Name: python-module-%oname
Version: 0.4.2
Release: alt2.git20141201
Summary: pinocchio plugins for the nose testing framework
License: MIT
Group: Development/Python
BuildArch: noarch
Url: https://pypi.python.org/pypi/pinocchio/

# https://github.com/mkwiatkowski/pinocchio.git

Source: %name-%version.tar

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

%py_provides %oname
%py_requires nose colorama

%description
Extra plugins for the nose testing framework. Provides tools for
flexibly assigning decorator tags to tests, choosing tests based on
their runtime, doing moderately sophisticated code coverage analysis of
your unit tests, and making your test descriptions look like
specifications.

%if_with python3
%package -n python3-module-%oname
Summary: pinocchio plugins for the nose testing framework
Group: Development/Python3
%py3_provides %oname
%py3_requires nose colorama

%description -n python3-module-%oname
Extra plugins for the nose testing framework. Provides tools for
flexibly assigning decorator tags to tests, choosing tests based on
their runtime, doing moderately sophisticated code coverage analysis of
your unit tests, and making your test descriptions look like
specifications.
%endif

%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
python setup.py test
%if_with python3
pushd ../python3
python3 setup.py test
popd
%endif

%files
%doc IDEAS *.rst doc/* examples
%python_sitelibdir/*

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009