summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-metage2metabo.spec85
-rw-r--r--sources1
3 files changed, 87 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..35e6b28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Metage2Metabo-1.5.4.tar.gz
diff --git a/python-metage2metabo.spec b/python-metage2metabo.spec
new file mode 100644
index 0000000..bbb5cf9
--- /dev/null
+++ b/python-metage2metabo.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Metage2Metabo
+Version: 1.5.4
+Release: 1
+Summary: Automatic reconstruction of draft metabolic networks with Pathway Tools and graph-based metabolic analysis
+License: GPLv3+
+URL: https://github.com/aureme/metage2metabo
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3c/ec/63d4bab6da2e19c7f5abfd266de5586aad88cbe6bf07b9b19aeacf6cb797/Metage2Metabo-1.5.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-miscoto
+Requires: python3-menetools
+Requires: python3-mpwt
+Requires: python3-padmet
+
+%description
+metage2metabo is a Python3 workflow to perform graph-based metabolic analysis starting from annotated genomes. It uses Pathway Tools in a automatic and parallel way to reconstruct metabolic networks for a large number of genomes. The obtained metabolic networks are then analyzed individually and collectively in order to get the added value of cooperation in microbiota over individual metabolism, and to identify and screen interesting organisms among all. More information on usage and troubleshooting on Github: https://github.com/aureme/metage2metabo
+
+
+
+
+%package -n python3-Metage2Metabo
+Summary: Automatic reconstruction of draft metabolic networks with Pathway Tools and graph-based metabolic analysis
+Provides: python-Metage2Metabo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Metage2Metabo
+metage2metabo is a Python3 workflow to perform graph-based metabolic analysis starting from annotated genomes. It uses Pathway Tools in a automatic and parallel way to reconstruct metabolic networks for a large number of genomes. The obtained metabolic networks are then analyzed individually and collectively in order to get the added value of cooperation in microbiota over individual metabolism, and to identify and screen interesting organisms among all. More information on usage and troubleshooting on Github: https://github.com/aureme/metage2metabo
+
+
+
+
+%package help
+Summary: Development documents and examples for Metage2Metabo
+Provides: python3-Metage2Metabo-doc
+%description help
+metage2metabo is a Python3 workflow to perform graph-based metabolic analysis starting from annotated genomes. It uses Pathway Tools in a automatic and parallel way to reconstruct metabolic networks for a large number of genomes. The obtained metabolic networks are then analyzed individually and collectively in order to get the added value of cooperation in microbiota over individual metabolism, and to identify and screen interesting organisms among all. More information on usage and troubleshooting on Github: https://github.com/aureme/metage2metabo
+
+
+
+
+%prep
+%autosetup -n Metage2Metabo-1.5.4
+
+%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-Metage2Metabo -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fcc2b69
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0d32b5d8a6bceba97eb540875123034c Metage2Metabo-1.5.4.tar.gz