summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 23:50:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 23:50:11 +0000
commit4b7363a5b0980117c73ea37abd95dab1afb76a8f (patch)
treef20307d2819393416af21cfd6a0bdc9d2d536878
parenta6eddec711239a327a057a6a2227b2ec43d05025 (diff)
automatic import of python-pomegranate
-rw-r--r--.gitignore1
-rw-r--r--python-pomegranate.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6bc5a6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pomegranate-0.14.8.tar.gz
diff --git a/python-pomegranate.spec b/python-pomegranate.spec
new file mode 100644
index 0000000..c076149
--- /dev/null
+++ b/python-pomegranate.spec
@@ -0,0 +1,82 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pomegranate
+Version: 0.14.8
+Release: 1
+Summary: Pomegranate is a graphical models library for Python, implemented in Cython for speed.
+License: MIT
+URL: http://pypi.python.org/pypi/pomegranate/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f8/29/0e3433b4657ea582e2d4c12dc3f27ba0fe1d9b45eebedfb475ed16d3d193/pomegranate-0.14.8.tar.gz
+
+Requires: python3-numpy
+Requires: python3-joblib
+Requires: python3-networkx
+Requires: python3-scipy
+Requires: python3-pyyaml
+Requires: python3-cupy
+Requires: python3-pygraphviz
+Requires: python3-matplotlib
+
+%description
+
+
+%package -n python3-pomegranate
+Summary: Pomegranate is a graphical models library for Python, implemented in Cython for speed.
+Provides: python-pomegranate
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-pomegranate
+
+
+%package help
+Summary: Development documents and examples for pomegranate
+Provides: python3-pomegranate-doc
+%description help
+
+
+%prep
+%autosetup -n pomegranate-0.14.8
+
+%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-pomegranate -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.14.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7f073f7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a0dd0bd892f0a7a6e978b5da018d5619 pomegranate-0.14.8.tar.gz