summaryrefslogtreecommitdiff
path: root/python-cpnest.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 00:04:03 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 00:04:03 +0000
commit6d3844c1ec09fa6b8522a93b452e61d2dc8064cc (patch)
tree17358f2d49e1fd1030dfa85a0ff1c4ff9012f59d /python-cpnest.spec
parentd4e3c2ee6765780e831581b11df5565d171aec3d (diff)
automatic import of python-cpnest
Diffstat (limited to 'python-cpnest.spec')
-rw-r--r--python-cpnest.spec107
1 files changed, 107 insertions, 0 deletions
diff --git a/python-cpnest.spec b/python-cpnest.spec
new file mode 100644
index 0000000..65254c2
--- /dev/null
+++ b/python-cpnest.spec
@@ -0,0 +1,107 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cpnest
+Version: 0.11.5
+Release: 1
+Summary: CPNest: Parallel nested sampling
+License: MIT
+URL: https://github.com/johnveitch/cpnest
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/92/b9/8370885d0684721491c935c0b77504d449422773f031865223c0259aa578/cpnest-0.11.5.tar.gz
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-corner
+Requires: python3-tqdm
+Requires: python3-cython
+Requires: python3-matplotlib
+
+%description
+A parallel nested sampler
+
+
+(C) 2015-2021 Walter Del Pozzo, John Veitch
+
+
+
+
+
+
+
+%package -n python3-cpnest
+Summary: CPNest: Parallel nested sampling
+Provides: python-cpnest
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-cpnest
+A parallel nested sampler
+
+
+(C) 2015-2021 Walter Del Pozzo, John Veitch
+
+
+
+
+
+
+
+%package help
+Summary: Development documents and examples for cpnest
+Provides: python3-cpnest-doc
+%description help
+A parallel nested sampler
+
+
+(C) 2015-2021 Walter Del Pozzo, John Veitch
+
+
+
+
+
+
+
+%prep
+%autosetup -n cpnest-0.11.5
+
+%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-cpnest -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.5-1
+- Package Spec generated