Sisyphus repositório
Última atualização: 25 agosto 2019 | SRPMs: 17347 | Visitas: 14705691
en ru br
ALT Linux repositórios
S:0.17-alt1.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname ptpdb

%def_with python3

Name: python-module-%oname
Version: 0.17
Release: alt1
Summary: Python debugger (pdb) build on top of prompt_toolkit
License: Free
Group: Development/Python
Url: https://pypi.python.org/pypi/ptpdb

# https://github.com/jonathanslenders/ptpdb.git

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

BuildRequires: python-devel python-module-setuptools-tests
BuildRequires: ptpython python-module-prompt_toolkit
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools-tests
BuildRequires: ptpython3 python3-module-prompt_toolkit
%endif

%py_provides %oname
%py_requires ptpython prompt_toolkit

%description
(Still experimental) PDB replacement, build on top of prompt_toolkit and
ptpython.

%if_with python3
%package -n python3-module-%oname
Summary: Python debugger (pdb) build on top of prompt_toolkit
Group: Development/Python3
%py3_provides %oname
%py3_requires ptpython prompt_toolkit

%description -n python3-module-%oname
(Still experimental) PDB replacement, build on top of prompt_toolkit and
ptpython.
%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 -v
%if_with python3
pushd ../python3
python3 setup.py test -v
popd
%endif

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

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