Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518695
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-future

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin