Sisyphus repository
Last update: 26 november 2020 | SRPMs: 17744 | Visits: 19694319
en ru br
ALT Linux repos
S:1.4-alt3

Group :: Development/Python
RPM: python-module-infinity

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname infinity

%def_with python3

Name: python-module-%oname
Version: 1.4
Release: alt2.1
Summary: All-in-one infinity value for Python. Can be compared to any object
License: BSD
Group: Development/Python
Url: https://pypi.python.org/pypi/infinity/

# https://github.com/kvesteri/infinity.git

Source: %oname-%version.tar.gz
BuildArch: noarch

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

%description
All-in-one infinity value for Python. Can be compared to any object.

%package -n python3-module-%oname
Summary: All-in-one infinity value for Python. Can be compared to any object
Group: Development/Python3

%description -n python3-module-%oname
All-in-one infinity value for Python. Can be compared to any object.

%prep
%setup -q -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
py.test
%if_with python3
pushd ../python3
python3 setup.py test
py.test3
popd
%endif

%files
%doc *.rst
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.rst
%python3_sitelibdir/*
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin