summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:16:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:16:45 +0000
commitc6970448f6cd1eb5aab3315cd69682c750f4f698 (patch)
tree54cd3bcca3f3abf27f2b2ae45a3a67893943dfb2
parent8f4a49ee302c395629624ca8882510c2212db87a (diff)
automatic import of python-pyxel-simopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pyxel-sim.spec26
-rw-r--r--sources2
3 files changed, 16 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index 4fb56aa..7a6ea28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pyxel_sim-1.8.tar.gz
+/pyxel_sim-1.9.tar.gz
diff --git a/python-pyxel-sim.spec b/python-pyxel-sim.spec
index 9dabad8..424993a 100644
--- a/python-pyxel-sim.spec
+++ b/python-pyxel-sim.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-pyxel-sim
-Version: 1.8
+Version: 1.9
Release: 1
Summary: Pyxel detector simulation framework.
License: MIT
URL: https://pypi.org/project/pyxel-sim/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3b/05/dd7016e224627c7fab09b118a40fa102cf2ad503dea8d2d2214bd5900ab5/pyxel_sim-1.8.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/dc/cb/2bce01a2abeffa622977d7983e9db4ca6696ba09353b27adbdbe1976d8b3/pyxel_sim-1.9.tar.gz
BuildArch: noarch
Requires: python3-numba
@@ -13,6 +13,7 @@ Requires: python3-numpy
Requires: python3-pandas
Requires: python3-scipy
Requires: python3-xarray
+Requires: python3-xarray-datatree
Requires: python3-sep
Requires: python3-matplotlib
Requires: python3-seaborn
@@ -24,6 +25,7 @@ Requires: python3-ipywidgets
Requires: python3-astropy
Requires: python3-fsspec[http]
Requires: python3-h5py
+Requires: python3-h5netcdf
Requires: python3-pyyaml
Requires: python3-xlrd
Requires: python3-openpyxl
@@ -61,7 +63,7 @@ Requires: python3-poppy
An easy-to-use framework that can simulate a variety of imaging detector
effects combined on images (e.g. radiation and optical effects, noises)
made by CCD or CMOS-based detectors.
-*Pyxel* is tested on Python 3.8+.
+*Pyxel* is tested on Python 3.9+.
If you'd like to contribute to *Pyxel* you're most welcome.
Please read [the little guide](https://esa.gitlab.io/pyxel/doc/stable/references/contributing.html) to get you started.
## Documentation
@@ -123,7 +125,7 @@ BuildRequires: python3-pip
An easy-to-use framework that can simulate a variety of imaging detector
effects combined on images (e.g. radiation and optical effects, noises)
made by CCD or CMOS-based detectors.
-*Pyxel* is tested on Python 3.8+.
+*Pyxel* is tested on Python 3.9+.
If you'd like to contribute to *Pyxel* you're most welcome.
Please read [the little guide](https://esa.gitlab.io/pyxel/doc/stable/references/contributing.html) to get you started.
## Documentation
@@ -182,7 +184,7 @@ Provides: python3-pyxel-sim-doc
An easy-to-use framework that can simulate a variety of imaging detector
effects combined on images (e.g. radiation and optical effects, noises)
made by CCD or CMOS-based detectors.
-*Pyxel* is tested on Python 3.8+.
+*Pyxel* is tested on Python 3.9+.
If you'd like to contribute to *Pyxel* you're most welcome.
Please read [the little guide](https://esa.gitlab.io/pyxel/doc/stable/references/contributing.html) to get you started.
## Documentation
@@ -220,7 +222,7 @@ The [detailed changelog](https://esa.gitlab.io/pyxel/doc/stable/references/chang
*Pyxel* is released under [MIT license](https://gitlab.com/esa/pyxel/blob/master/LICENSE.txt).
%prep
-%autosetup -n pyxel-sim-1.8
+%autosetup -n pyxel_sim-1.9
%build
%py3_build
@@ -234,20 +236,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 .
@@ -260,5 +262,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.9-1
- Package Spec generated
diff --git a/sources b/sources
index 42a4c37..43166d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6b9be5abe3fcdb60508c559e92fcef4f pyxel_sim-1.8.tar.gz
+249651afaae8f2dfae12e1ecd26549ca pyxel_sim-1.9.tar.gz