diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 05:46:56 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 05:46:56 +0000 |
| commit | 3b23edc9c111e982d749f7454d3f1503dd037897 (patch) | |
| tree | 1f8d7404b892d691cc0eec5563ae8c5b432aa112 /python-rust.spec | |
| parent | d901efad62bf0871cb8e2656beffdd4f95745e95 (diff) | |
automatic import of python-rust
Diffstat (limited to 'python-rust.spec')
| -rw-r--r-- | python-rust.spec | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/python-rust.spec b/python-rust.spec new file mode 100644 index 0000000..5ab3255 --- /dev/null +++ b/python-rust.spec @@ -0,0 +1,103 @@ +%global _empty_manifest_terminate_build 0 +Name: python-RUST +Version: 0.1.1 +Release: 1 +Summary: Ribo-Seq Unit Step Transformation +License: GPL +URL: http://ribogalaxy.ucc.ie +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c3/ff/1ffe5c38505fd5226e344aaf91fd43dc38648ccf79ae7096ea0fa4f7f815/RUST-0.1.1.tar.gz +BuildArch: noarch + +Requires: python3-biopython +Requires: python3-matplotlib +Requires: python3-mock +Requires: python3-pysam + +%description +This tool is designed for ribo-seq data and produces a metafootprint profile +that reveals the influence of mRNA features such as codons/amino acids on +the relative read density in the sample across the entire ribosome and nascent +peptide region. The Kullback-Leibler divergence across these sites is also provided. +An online version is available on `RiboGalaxy <http://ribogalaxy.ucc.ie>`_. +Author: Patrick O'Connor +**Citation** +Surveying the relative impact of mRNA features on local ribosome profiling read density in 28 datasets. +Patrick O'Connor, Dmitry Andreev, Pavel Baranov +bioRxiv doi: http://dx.doi.org/10.1101/018762 + +%package -n python3-RUST +Summary: Ribo-Seq Unit Step Transformation +Provides: python-RUST +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-RUST +This tool is designed for ribo-seq data and produces a metafootprint profile +that reveals the influence of mRNA features such as codons/amino acids on +the relative read density in the sample across the entire ribosome and nascent +peptide region. The Kullback-Leibler divergence across these sites is also provided. +An online version is available on `RiboGalaxy <http://ribogalaxy.ucc.ie>`_. +Author: Patrick O'Connor +**Citation** +Surveying the relative impact of mRNA features on local ribosome profiling read density in 28 datasets. +Patrick O'Connor, Dmitry Andreev, Pavel Baranov +bioRxiv doi: http://dx.doi.org/10.1101/018762 + +%package help +Summary: Development documents and examples for RUST +Provides: python3-RUST-doc +%description help +This tool is designed for ribo-seq data and produces a metafootprint profile +that reveals the influence of mRNA features such as codons/amino acids on +the relative read density in the sample across the entire ribosome and nascent +peptide region. The Kullback-Leibler divergence across these sites is also provided. +An online version is available on `RiboGalaxy <http://ribogalaxy.ucc.ie>`_. +Author: Patrick O'Connor +**Citation** +Surveying the relative impact of mRNA features on local ribosome profiling read density in 28 datasets. +Patrick O'Connor, Dmitry Andreev, Pavel Baranov +bioRxiv doi: http://dx.doi.org/10.1101/018762 + +%prep +%autosetup -n RUST-0.1.1 + +%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-RUST -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1 +- Package Spec generated |
