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

Группа :: Development/Python3
Пакет: python3-module-transitions

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

%define _unpackaged_files_terminate_build 1
%define oname transitions

%def_with check

Name: python3-module-%oname
Version: 0.9.0
Release: alt1

Summary: A lightweight, object-oriented Python state machine implementation
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/transitions/
BuildArch: noarch

# https://github.com/pytransitions/transitions.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

# build backend and its deps

BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

%if_with check
# install_requires:
BuildRequires: python3(six)

BuildRequires: graphviz
# dot crashes without fonts
BuildRequires: fonts-ttf-dejavu
BuildRequires: python3(graphviz)
BuildRequires: python3(pygraphviz)
BuildRequires: python3(pycodestyle)
BuildRequires: python3(pytest)
BuildRequires: python3(pytest_xdist)
BuildRequires: python3(tox)
BuildRequires: python3(tox_no_deps)
BuildRequires: python3(tox_console_scripts)
%endif

%description
A lightweight, object-oriented finite state machine implementation in
Python.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
# Unfortunately, some environment doesn't pass into tox (and I can't
# determinate which elements exactly). Outside tox it works correctly.
%__python3 -m pytest

%files
%doc *.md
%python3_sitelibdir/%oname/
%python3_sitelibdir/%{pyproject_distinfo %oname}/

%changelog

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

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