summaryrefslogtreecommitdiff
path: root/python-tibanna.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-tibanna.spec')
-rw-r--r--python-tibanna.spec99
1 files changed, 99 insertions, 0 deletions
diff --git a/python-tibanna.spec b/python-tibanna.spec
new file mode 100644
index 0000000..9f4543c
--- /dev/null
+++ b/python-tibanna.spec
@@ -0,0 +1,99 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tibanna
+Version: 3.3.0
+Release: 1
+Summary: Tibanna runs portable pipelines (in CWL/WDL) on the AWS Cloud.
+License: MIT
+URL: http://github.com/4dn-dcic/tibanna
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/0f/631ff1193158c34163c67f64c8bff0fa9f25eb056042a529640cfff217d7/tibanna-3.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-lambda-4dn
+Requires: python3-boto3
+Requires: python3-botocore
+Requires: python3-requests
+Requires: python3-Benchmark-4dn
+Requires: python3-tomlkit
+
+%description
+Note: Starting `0.8.2`, Tibanna supports local CWL/WDL files as well as shell commands and Snakemake workflows.
+Note 2: As of Tibanna version `2.0.0`, Python 3.6 is no longer supported. Please switch to Python 3.8! Python 3.7 is also supported as a fallback, but please prefer 3.8 if you can.
+Note 3: Starting `0.8.0`, one no longer needs to `git clone` the Tibanna repo.
+* Please switch from `invoke <command>` to `tibanna <command>`!
+* We also renovated the Python API as an inheritable class to allow development around tibanna.
+For more details, see Tibanna [**Documentation**](http://tibanna.readthedocs.io/en/latest).
+* Also check out our [**paper in _Bioinformatics_**](https://doi.org/10.1093/bioinformatics/btz379).
+* A preprint can also be found on [**biorxiv**](https://www.biorxiv.org/content/10.1101/440974v3).
+
+%package -n python3-tibanna
+Summary: Tibanna runs portable pipelines (in CWL/WDL) on the AWS Cloud.
+Provides: python-tibanna
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tibanna
+Note: Starting `0.8.2`, Tibanna supports local CWL/WDL files as well as shell commands and Snakemake workflows.
+Note 2: As of Tibanna version `2.0.0`, Python 3.6 is no longer supported. Please switch to Python 3.8! Python 3.7 is also supported as a fallback, but please prefer 3.8 if you can.
+Note 3: Starting `0.8.0`, one no longer needs to `git clone` the Tibanna repo.
+* Please switch from `invoke <command>` to `tibanna <command>`!
+* We also renovated the Python API as an inheritable class to allow development around tibanna.
+For more details, see Tibanna [**Documentation**](http://tibanna.readthedocs.io/en/latest).
+* Also check out our [**paper in _Bioinformatics_**](https://doi.org/10.1093/bioinformatics/btz379).
+* A preprint can also be found on [**biorxiv**](https://www.biorxiv.org/content/10.1101/440974v3).
+
+%package help
+Summary: Development documents and examples for tibanna
+Provides: python3-tibanna-doc
+%description help
+Note: Starting `0.8.2`, Tibanna supports local CWL/WDL files as well as shell commands and Snakemake workflows.
+Note 2: As of Tibanna version `2.0.0`, Python 3.6 is no longer supported. Please switch to Python 3.8! Python 3.7 is also supported as a fallback, but please prefer 3.8 if you can.
+Note 3: Starting `0.8.0`, one no longer needs to `git clone` the Tibanna repo.
+* Please switch from `invoke <command>` to `tibanna <command>`!
+* We also renovated the Python API as an inheritable class to allow development around tibanna.
+For more details, see Tibanna [**Documentation**](http://tibanna.readthedocs.io/en/latest).
+* Also check out our [**paper in _Bioinformatics_**](https://doi.org/10.1093/bioinformatics/btz379).
+* A preprint can also be found on [**biorxiv**](https://www.biorxiv.org/content/10.1101/440974v3).
+
+%prep
+%autosetup -n tibanna-3.3.0
+
+%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-tibanna -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.0-1
+- Package Spec generated