diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 08:09:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 08:09:13 +0000 |
commit | 8030e4577ebd7c633e986cbb848e43c0d293198f (patch) | |
tree | 7b6ef34d6c46e32258781f0afa42ac9e072f2fd1 | |
parent | 253ff3749f5356f119c75633f0dfe225cd1d2a4a (diff) |
automatic import of python-equilibrator-cache
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-equilibrator-cache.spec | 131 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 133 insertions, 0 deletions
@@ -0,0 +1 @@ +/equilibrator-cache-0.4.3.tar.gz 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 +[](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop) +[](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop) +[](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 +[](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop) +[](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop) +[](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 +[](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop) +[](https://gitlab.com/elad.noor/equilibrator-cache/commits/develop) +[](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 @@ -0,0 +1 @@ +0bbd86bf0bd29287dbbea90bb637be53 equilibrator-cache-0.4.3.tar.gz |