summaryrefslogtreecommitdiff
path: root/python-gempy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 03:46:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 03:46:01 +0000
commit106dfe6e832d10b6d1939355db9b8b229c595b28 (patch)
tree3d14eaccf9c2bac0086e6cba615128161cbf2b94 /python-gempy.spec
parentfbfe108e4f89e4d408e9ce54f073717230df6ecc (diff)
automatic import of python-gempy
Diffstat (limited to 'python-gempy.spec')
-rw-r--r--python-gempy.spec85
1 files changed, 85 insertions, 0 deletions
diff --git a/python-gempy.spec b/python-gempy.spec
new file mode 100644
index 0000000..20e05d9
--- /dev/null
+++ b/python-gempy.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gempy
+Version: 2.2.12
+Release: 1
+Summary: An Open-source, Python-based 3-D structural geological modeling software.
+License: LGPL v3
+URL: https://github.com/cgre-aachen/gempy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c6/aa/06927e5c03a909d4cd9fe266038fca7481571d15ef9c79a2aedc4a16a81c/gempy-2.2.12.tar.gz
+BuildArch: noarch
+
+Requires: python3-pandas
+Requires: python3-Theano
+Requires: python3-matplotlib
+Requires: python3-numpy
+Requires: python3-pytest
+Requires: python3-seaborn
+Requires: python3-networkx
+Requires: python3-scikit-image
+Requires: python3-pyvista
+Requires: python3-pyvistaqt
+Requires: python3-pyqt5
+Requires: python3-iPython
+Requires: python3-xarray
+
+%description
+
+
+%package -n python3-gempy
+Summary: An Open-source, Python-based 3-D structural geological modeling software.
+Provides: python-gempy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-gempy
+
+
+%package help
+Summary: Development documents and examples for gempy
+Provides: python3-gempy-doc
+%description help
+
+
+%prep
+%autosetup -n gempy-2.2.12
+
+%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-gempy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.12-1
+- Package Spec generated