Sisyphus repositório
Última atualização: 20 novembro 2019 | SRPMs: 17512 | Visitas: 15812102
en ru br
ALT Linux repositórios
S:0.1.10-alt1.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname termstyle

%def_with python3

Name: python-module-%oname
Version: 0.1.10
Release: alt1.1
Summary: Console colouring for python
License: BSD
Group: Development/Python
Url: https://pypi.python.org/pypi/python-termstyle/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

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

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

%description
termstyle is a simple python library for adding coloured output to
terminal (console) programs. The definitions come from ECMA-048, the
"Control Functions for Coded Character Sets" standard.

%package -n python3-module-%oname
Summary: Console colouring for python
Group: Development/Python3
%py3_provides %oname

%description -n python3-module-%oname
termstyle is a simple python library for adding coloured output to
terminal (console) programs. The definitions come from ECMA-048, the
"Control Functions for Coded Character Sets" standard.

%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

%files
%doc *.rst
%python_sitelibdir/*

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