summaryrefslogtreecommitdiff
path: root/python-equilibrator-cache.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-equilibrator-cache.spec')
-rw-r--r--python-equilibrator-cache.spec131
1 files changed, 131 insertions, 0 deletions
diff --git a/python-equilibrator-cache.spec b/python-equilibrator-cache.spec
new file mode 100644
index 0000000..75504c3
--- /dev/null
+++ b/python-equilibrator-cache.spec
@@ -0,0 +1,131 @@
+%global _empty_manifest_terminate_build 0
+Name: python-equilibrator-cache
+Version: 0.4.3
+Release: 1
+Summary: Cache application for compounds, reactions, and enzymes
+License: MIT
+URL: https://gitlab.com/equilibrator/equilibrator-cache
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/28/3d/102992304065d60a9931741e661c35c85c8641f151b7528223090f3f06ba/equilibrator-cache-0.4.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-tqdm
+Requires: python3-appdirs
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-Levenshtein-wheels
+Requires: python3-scipy
+Requires: python3-sqlalchemy
+Requires: python3-pint
+Requires: python3-periodictable
+Requires: python3-httpx
+Requires: python3-tenacity
+Requires: python3-importlib-resources
+Requires: python3-click
+Requires: python3-click-log
+Requires: python3-openbabel
+Requires: python3-dateutil
+Requires: python3-tqdm
+Requires: python3-black
+Requires: python3-isort
+Requires: python3-tox
+Requires: python3-twine
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-raises
+Requires: python3-pytest-mock
+Requires: python3-hypothesis
+
+%description
+[![pipeline status](https://gitlab.com/elad.noor/equilibrator-cache/badges/develop/pipeline.svg)](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop)
+[![coverage report](https://gitlab.com/elad.noor/equilibrator-cache/badges/develop/coverage.svg)](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop)
+[![Join the chat at https://gitter.im/equilibrator-devs/equilibrator-api](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/equilibrator-devs/equilibrator-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+A database application for caching data used by eQuilibrator and related projects.
+Stored data includes compound names, structures, protonation state information,
+reaction and enzyme info, and cross-references to other databases.
+All compounds stored in equilibrator-cache are cross-referenced using
+[InChIKey](https://en.wikipedia.org/wiki/International_Chemical_Identifier#InChIKey).
+## Supported Chemical Databases:
+* [MetaNetX](https://www.metanetx.org/)
+* [KEGG](https://www.kegg.jp/)
+* [ChEBI](https://www.ebi.ac.uk/chebi/)
+
+%package -n python3-equilibrator-cache
+Summary: Cache application for compounds, reactions, and enzymes
+Provides: python-equilibrator-cache
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-equilibrator-cache
+[![pipeline status](https://gitlab.com/elad.noor/equilibrator-cache/badges/develop/pipeline.svg)](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop)
+[![coverage report](https://gitlab.com/elad.noor/equilibrator-cache/badges/develop/coverage.svg)](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop)
+[![Join the chat at https://gitter.im/equilibrator-devs/equilibrator-api](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/equilibrator-devs/equilibrator-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+A database application for caching data used by eQuilibrator and related projects.
+Stored data includes compound names, structures, protonation state information,
+reaction and enzyme info, and cross-references to other databases.
+All compounds stored in equilibrator-cache are cross-referenced using
+[InChIKey](https://en.wikipedia.org/wiki/International_Chemical_Identifier#InChIKey).
+## Supported Chemical Databases:
+* [MetaNetX](https://www.metanetx.org/)
+* [KEGG](https://www.kegg.jp/)
+* [ChEBI](https://www.ebi.ac.uk/chebi/)
+
+%package help
+Summary: Development documents and examples for equilibrator-cache
+Provides: python3-equilibrator-cache-doc
+%description help
+[![pipeline status](https://gitlab.com/elad.noor/equilibrator-cache/badges/develop/pipeline.svg)](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop)
+[![coverage report](https://gitlab.com/elad.noor/equilibrator-cache/badges/develop/coverage.svg)](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop)
+[![Join the chat at https://gitter.im/equilibrator-devs/equilibrator-api](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/equilibrator-devs/equilibrator-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+A database application for caching data used by eQuilibrator and related projects.
+Stored data includes compound names, structures, protonation state information,
+reaction and enzyme info, and cross-references to other databases.
+All compounds stored in equilibrator-cache are cross-referenced using
+[InChIKey](https://en.wikipedia.org/wiki/International_Chemical_Identifier#InChIKey).
+## Supported Chemical Databases:
+* [MetaNetX](https://www.metanetx.org/)
+* [KEGG](https://www.kegg.jp/)
+* [ChEBI](https://www.ebi.ac.uk/chebi/)
+
+%prep
+%autosetup -n equilibrator-cache-0.4.3
+
+%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-equilibrator-cache -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.3-1
+- Package Spec generated