summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 06:16:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 06:16:42 +0000
commit3a14f8e8f634b6959147c7f4ae7a7ece377903ce (patch)
tree3bfd5d28040e3d80f9ec2efb592156e3fe2fbffd
parent21041a48d2490b8eb4abe45b111bc5a4c3be215b (diff)
automatic import of python-bimlpa
-rw-r--r--.gitignore1
-rw-r--r--python-bimlpa.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..82fa8bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bimlpa-0.1.2.tar.gz
diff --git a/python-bimlpa.spec b/python-bimlpa.spec
new file mode 100644
index 0000000..3524175
--- /dev/null
+++ b/python-bimlpa.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bimlpa
+Version: 0.1.2
+Release: 1
+Summary: Community detection in bipartite networks using multi-label propagation algorithm
+License: BSD-Clause-2
+URL: https://github.com/hbkt/BiMLPA
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5e/38/b2017bad3666b1139679ab076d4c89e4735518b001e71356165943c6c8ab/bimlpa-0.1.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-scikit-learn
+Requires: python3-matplotlib
+Requires: python3-networkx
+
+%description
+
+
+%package -n python3-bimlpa
+Summary: Community detection in bipartite networks using multi-label propagation algorithm
+Provides: python-bimlpa
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bimlpa
+
+
+%package help
+Summary: Development documents and examples for bimlpa
+Provides: python3-bimlpa-doc
+%description help
+
+
+%prep
+%autosetup -n bimlpa-0.1.2
+
+%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-bimlpa -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b18ee10
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9275fc80c1de4fba7446bbebfdae0e66 bimlpa-0.1.2.tar.gz