Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37398189
en ru br
ALT Linux repos
S:0.18.2-alt2

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname future

Name: python-module-%oname
Version: 0.18.2
Release: alt2
Summary: Clean single-source support for Python 3 and 2
License: MIT
Group: Development/Python
Url: https://python-future.org/

# https://github.com/PythonCharmers/python-future.git

Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildArch: noarch

%description
future is the missing compatibility layer between Python 3 and Python 2.
It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 3 and Python 2 with minimal overhead.

%prep
%setup
%autopatch -p1

%build
%python_build_debug

%install
%python_install

# don't package tests

rm -r %buildroot%python_sitelibdir/*/*/test
rm -r %buildroot%python_sitelibdir/*/tests

%files
%doc *.txt *.rst
%_bindir/*
%python_sitelibdir/*

%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