Sisyphus repositório
Última atualização: 17 outubro 2019 | SRPMs: 17500 | Visitas: 15287971
en ru br
ALT Linux repositórios
S:0.3.5-alt2.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname changelog

%def_with python3

Name: python-module-%oname
Version: 0.3.5
Release: alt2
Summary: Provides simple Sphinx markup to render changelog displays
License: MIT
Group: Development/Python
BuildArch: noarch
Url: https://pypi.python.org/pypi/changelog/

Source: %oname-%version.tar

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

%py_provides %oname

%description
A Sphinx extension to generate changelog files.

This is an experimental, possibly-not-useful extension that's used by
the SQLAlchemy project and related projects.

%if_with python3
%package -n python3-module-%oname
Summary: Provides simple Sphinx markup to render changelog displays
Group: Development/Python3
%py3_provides %oname

%description -n python3-module-%oname
A Sphinx extension to generate changelog files.

This is an experimental, possibly-not-useful extension that's used by
the SQLAlchemy project and related projects.
%endif

%prep
%setup -n %{oname}-%{version}

%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 *.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