summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 17:06:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 17:06:14 +0000
commitd5964edc9ce71e3d966ae1d7673bdc7f7654cfc0 (patch)
tree2ab271d11fd698981715c02ce9c518f4e3810537
parent8b980ac339ab03065ea9391600c57c7a83f131a0 (diff)
automatic import of python-scienceplotsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-scienceplots.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 802eae3..bedfd80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/SciencePlots-2.0.1.tar.gz
+/SciencePlots-2.1.0.tar.gz
diff --git a/python-scienceplots.spec b/python-scienceplots.spec
index f4d31ed..0e7235e 100644
--- a/python-scienceplots.spec
+++ b/python-scienceplots.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-SciencePlots
-Version: 2.0.1
+Version: 2.1.0
Release: 1
Summary: Format Matplotlib for scientific plotting
License: MIT
URL: https://github.com/garrettj403/SciencePlots/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a0/b7/f696584cda548b0483aae1fa0316c8ab833df055d8dfd3d3fc430dc376f9/SciencePlots-2.0.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/39/a0/fd0fe32f453c91ad926352a8000bfc6c898b13e86cf82bf70c33323520ea/SciencePlots-2.1.0.tar.gz
BuildArch: noarch
Requires: python3-matplotlib
@@ -56,7 +56,7 @@ This repo has Matplotlib styles to format your figures for scientific papers, pr
You can find [the full gallery of included styles here](https://github.com/garrettj403/SciencePlots/wiki/Gallery).
%prep
-%autosetup -n SciencePlots-2.0.1
+%autosetup -n SciencePlots-2.1.0
%build
%py3_build
@@ -70,20 +70,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 .
@@ -96,5 +96,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1
- Package Spec generated
diff --git a/sources b/sources
index d82332a..b89ab3f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-81238bcd7ec584463cf8121b1ab622e9 SciencePlots-2.0.1.tar.gz
+fd924262a743cbc0b54275eb69c85c56 SciencePlots-2.1.0.tar.gz