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

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

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

%define _unpackaged_files_terminate_build 1
%define  modulename graphviz
%def_enable check

Name:    python3-module-%modulename
Version: 0.20.1
Release: alt1

Summary: Simple Python interface for Graphviz
License: MIT
Group:   Development/Python3
URL:     https://pypi.org/project/graphviz/
VCS:     https://github.com/xflr6/graphviz

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%if_enabled check
# related https://bugzilla.altlinux.org/42311
BuildRequires: fonts-ttf-dejavu
BuildRequires: graphviz

BuildRequires: python3-module-pytest-mock
%endif

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

%description
%summary

%prep
%setup
%patch0 -p1

sed -i '/^mock_use_standalone_module/d' setup.cfg

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest

%files
%python3_sitelibdir/%modulename/
%python3_sitelibdir/%{pyproject_distinfo %modulename}

%changelog

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

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