Sisyphus repositório
Última atualização: 12 novembro 2019 | SRPMs: 17529 | Visitas: 15711563
en ru br
ALT Linux repositórios
S:0.2.2-alt1.git20110902.2.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname doctools

%def_with python3

Name: python-module-%oname
Version: 0.2.2
Release: alt1.git20110902
Summary: Docblock manipulation utilities
License: BSD3
Group: Development/Python
Url: https://pypi.python.org/pypi/doctools/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# https://github.com/awagner83/doctools.git

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

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

%py_provides %oname

%description
doctools - python docblock manipulation utilities.

%package -n python3-module-%oname
Summary: Docblock manipulation utilities
Group: Development/Python3
%py3_provides %oname

%description -n python3-module-%oname
doctools - python docblock manipulation utilities.

%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
./runtests.sh
%if_with python3
pushd ../python3
python3 setup.py test
sed -i 's|\(py.test\)|\1-%_python3_version|' runtests.sh
./runtests.sh
popd
%endif

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

%if_with python3
%files -n python3-module-%oname
%doc LICENSE *.rst
%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