1 Star 0 Fork 6

张逸轩/python-pygal

forked from src-openEuler/python-pygal 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pygal.spec 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
张逸轩 提交于 2021-08-13 15:44 . python-pygal
%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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhang-yixuan0822/python-pygal.git
git@gitee.com:zhang-yixuan0822/python-pygal.git
zhang-yixuan0822
python-pygal
python-pygal
master

搜索帮助