Sisyphus repositório
Última atualização: 7 dezembro 2019 | SRPMs: 17495 | Visitas: 16004247
en ru br
ALT Linux repositórios
S:1.4.8-alt2

Group :: Development/Python3
RPM: python3-module-options

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname options

Name: python3-module-%oname
Version: 1.4.8
Release: alt2

Summary: Simple, super-flexible options. Does magic upon request.
License: ASLv2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/options
BuildArch: noarch

Source: %name-%version.tar
Patch1: %oname-%version-alt-build.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: python3-module-chainmap python3-module-combomethod
BuildRequires: python3-module-stuf python3-module-six python3-module-pytest
BuildRequires: python3-module-nulltype python3-module-tox
BuildRequires: python3-module-sphinx python3-module-sphinx_rtd_theme

%py3_provides %oname
%py3_requires stuf six nulltype


%description
options helps represent option and configuration data in a clean,
high-function way. Changes to options can "overlay" earlier or default
settings.

%prep
%setup
%patch1 -p1

sed -i 's|sphinx-build|sphinx-build-3|' docs/Makefile

sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
   $(find ./ -name '*.py')

%build
%python3_build_debug

%install
%python3_install

export PYTHONPATH=%buildroot%python3_sitelibdir
%make -C docs html

%check
export PYTHONPATH=$PWD
py.test3 --assert=plain -vv

%files
%doc *.rst docs/_build/html
%python3_sitelibdir/*


%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