summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-21 03:19:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-21 03:19:04 +0000
commit08ea68eaa1d55dc8583a39a219fbd2174f4425a9 (patch)
tree2ec670dba01a298a58e0434e3c833add8159b847
parent26ccc8468b50d559d5d98c1ca57c3e504a0343c3 (diff)
automatic import of python-pygalopeneuler20.03
-rw-r--r--python-pygal.spec22
1 files changed, 13 insertions, 9 deletions
diff --git a/python-pygal.spec b/python-pygal.spec
index 547665f..991bf56 100644
--- a/python-pygal.spec
+++ b/python-pygal.spec
@@ -3,9 +3,9 @@ Name: python-pygal
Version: 3.0.0
Release: 1
Summary: A Python svg graph plotting library
-License: GNU LGPL v3+
+License: LGPL-3.0+
URL: https://www.pygal.org/
-Source0: https://mirrors.aliyun.com/pypi/web/packages/a8/db/021ea4fc623cbef831333bfb896374d2931be26c899d18c075579e955886/pygal-3.0.0.tar.gz
+Source0: https://files.pythonhosted.org/packages/a8/db/021ea4fc623cbef831333bfb896374d2931be26c899d18c075579e955886/pygal-3.0.0.tar.gz
BuildArch: noarch
Requires: python3-sphinx
@@ -28,6 +28,7 @@ Requires: python3-pytest-isort
Requires: python3-pytest
%description
+A Python svg graph plotting library.
%package -n python3-pygal
@@ -36,6 +37,9 @@ Provides: python-pygal
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-pbr
+BuildRequires: python3-pytest-runner
%description -n python3-pygal
@@ -60,20 +64,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -86,5 +90,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed Jun 21 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1
-- Package Spec generated
+* Wed Jul 13 2022 cuiyudong <cuiyudong@kylinos.cn> - 3.0.0-1
+- Package init