代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-pygal 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global modname pygal
Name: python-pygal
Version: 2.4.0
Release: 1
Summary: A python svg graph plotting library
License: LGPLv3+
URL: https://pypi.io/project/pygal
Source0: https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
# Backport of upstream commit to add compatibility with Python 3.10
Patch1: https://github.com/Kozea/pygal/commit/7796f14c80fe82b9435cdc33b7d2939c8331d649.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pyquery
BuildRequires: python3-flask
BuildRequires: python3-pytest-runner
#BuildRequires: python3-cairosvg
BuildRequires: python3-CairoSVG
BuildRequires: python3-cairocffi
BuildRequires: python3-pytest
BuildRequires: python3-lxml
%global _description\
A python svg graph plotting library.
%description %_description
%package -n python3-pygal
Summary: A python svg graph plotting library
Requires: python3-lxml
%description -n python3-pygal
A python svg graph plotting library
%prep
%setup -q -n %{modname}-%{version}
%patch1 -p1
rm -rf %{modname}.egg-info
%build
%py3_build
%install
%py3_install
%check
## python3 tests aren't quite working yet. something to do with cairocffi, but
## I can't duplicate it locally....
#py.test-%{python3_version} pygal/test
%files -n python3-pygal
%doc README
%{_bindir}/pygal_gen.py
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}-*
%changelog
* Fri Aug 13 2021 Zhangyixuan <zhangyixuan@kylinos.cn> - 2.4.0-1
- Initial package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。