Репозиторий Sisyphus
Последнее обновление: 16 августа 2019 | Пакетов: 17338 | Посещений: 14649453
en ru br
Репозитории ALT

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%global upstream_name pythondialog
%global upstream_name2 python2-pythondialog

%def_with python3

Name: python-module-dialog
Version: 3.4.0
Release: alt1

Summary: Python interface to the Unix dialog utility

License: LGPLv2+
Group: Development/Python
Url: http://pythondialog.sourceforge.net
# Upstream releases two tarballs from the same sources
Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: https://pypi.python.org/packages/source/p/%upstream_name/%upstream_name-%version.tar
Source1: https://pypi.python.org/packages/source/p/%upstream_name2/%upstream_name2-%version.tar

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

%description
A Python interface to the Unix dialog utility, designed to provide an
easy, pythonic and as complete as possible way to use the dialog
features from Python code.

%if_with python3
%package -n python3-module-dialog
Requires: dialog
Summary: %summary
Group: Development/Python

%description -n python3-module-dialog
A Python interface to the Unix dialog utility, designed to provide an
easy, pythonic and as complete as possible way to use the dialog
features from Python code.
%endif

%prep
%setup -n %upstream_name-%version
tar -xvf %SOURCE1

%build
%if_with python3
%python3_build
%endif

pushd %upstream_name2-%version
%python_build
popd

%install
%if_with python3
%python3_install
%endif

pushd %upstream_name2-%version
%python_install
popd

%if_with python3
%files -n python3-module-dialog
%doc COPYING
%doc README.rst examples/
%python3_sitelibdir/dialog.py*
%python3_sitelibdir/__pycache__/
%python3_sitelibdir/pythondialog-*.egg-info
%endif

%files
%doc %upstream_name2-%version/COPYING
%doc %upstream_name2-%version/README.rst %upstream_name2-%version/examples/
%python_sitelibdir/dialog.py*
%python_sitelibdir/python2_pythondialog-*.egg-info

%changelog

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

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