summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 10:39:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 10:39:30 +0000
commit76cb2237e0ab33a8d28ad64cadfbd66e941bb18b (patch)
tree18e155097f305a02f2d4a6d6fb9986b383a14fa2
parent1de79ca4ca4f2570897c171e4128ea9d7f5647ad (diff)
automatic import of python-fmu-ensemble
-rw-r--r--.gitignore1
-rw-r--r--python-fmu-ensemble.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0d82a8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fmu-ensemble-1.6.3.tar.gz
diff --git a/python-fmu-ensemble.spec b/python-fmu-ensemble.spec
new file mode 100644
index 0000000..0e6d688
--- /dev/null
+++ b/python-fmu-ensemble.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fmu-ensemble
+Version: 1.6.3
+Release: 1
+Summary: Python API to ensembles produced by ERT
+License: GPLv3
+URL: https://github.com/equinor/fmu-ensemble
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1c/c7/3c4a11c78bd030b837fb2d49e48067eb783557eccec826d2d98fb8c4072e/fmu-ensemble-1.6.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-ecl
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-pyyaml
+Requires: python3-ipython
+Requires: python3-rstcheck
+Requires: python3-sphinx
+Requires: python3-sphinx-argparse
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pyarrow
+Requires: python3-black
+Requires: python3-flake8
+Requires: python3-pylint
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pyyaml
+
+%description
+
+
+%package -n python3-fmu-ensemble
+Summary: Python API to ensembles produced by ERT
+Provides: python-fmu-ensemble
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fmu-ensemble
+
+
+%package help
+Summary: Development documents and examples for fmu-ensemble
+Provides: python3-fmu-ensemble-doc
+%description help
+
+
+%prep
+%autosetup -n fmu-ensemble-1.6.3
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+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
+fi
+if [ -d usr/lib64 ]; then
+ 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
+fi
+if [ -d usr/sbin ]; then
+ 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
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-fmu-ensemble -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.6.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..28115c6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d978636115c3e5ae9c0ecf4ad9b16895 fmu-ensemble-1.6.3.tar.gz