From e3fe468d346c3ad42edc508e9810d2965df6c412 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 29 May 2023 11:37:30 +0000 Subject: automatic import of python-maslongbow --- .gitignore | 1 + python-maslongbow.spec | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 108 insertions(+) create mode 100644 python-maslongbow.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5390d83 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/maslongbow-0.5.37.tar.gz diff --git a/python-maslongbow.spec b/python-maslongbow.spec new file mode 100644 index 0000000..e07c29a --- /dev/null +++ b/python-maslongbow.spec @@ -0,0 +1,106 @@ +%global _empty_manifest_terminate_build 0 +Name: python-maslongbow +Version: 0.5.37 +Release: 1 +Summary: Annotation and segmentation of MAS-seq data +License: BSD 3-Clause +URL: https://broadinstitute.github.io/longbow/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9b/7c/f94977e5010665291f7cba579f3b4a242244a8cee69c91d74f193fd4ee97/maslongbow-0.5.37.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-click-log +Requires: python3-construct +Requires: python3-cython +Requires: python3-isort +Requires: python3-matplotlib +Requires: python3-mypy +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-pathos +Requires: python3-pomegranate +Requires: python3-progress +Requires: python3-pysam +Requires: python3-ssw +Requires: python3-symspellpy +Requires: python3-tqdm + +%description +``pip`` is recommended for Longbow installation. + pip install maslongbow +For a pre-built version including all dependencies, access our Docker image. + docker pull us.gcr.io/broad-dsp-lrma/lr-longbow:0.5.37 +To install from Github source for development, the following commands can be run. + git clone https://github.com/broadinstitute/longbow.git + pip install -e longbow/ + +%package -n python3-maslongbow +Summary: Annotation and segmentation of MAS-seq data +Provides: python-maslongbow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-maslongbow +``pip`` is recommended for Longbow installation. + pip install maslongbow +For a pre-built version including all dependencies, access our Docker image. + docker pull us.gcr.io/broad-dsp-lrma/lr-longbow:0.5.37 +To install from Github source for development, the following commands can be run. + git clone https://github.com/broadinstitute/longbow.git + pip install -e longbow/ + +%package help +Summary: Development documents and examples for maslongbow +Provides: python3-maslongbow-doc +%description help +``pip`` is recommended for Longbow installation. + pip install maslongbow +For a pre-built version including all dependencies, access our Docker image. + docker pull us.gcr.io/broad-dsp-lrma/lr-longbow:0.5.37 +To install from Github source for development, the following commands can be run. + git clone https://github.com/broadinstitute/longbow.git + pip install -e longbow/ + +%prep +%autosetup -n maslongbow-0.5.37 + +%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-maslongbow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot - 0.5.37-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..f8c1c18 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d958fc7e5f07d42280c1741c15c271fc maslongbow-0.5.37.tar.gz -- cgit v1.2.3