From 2e9240d759556b05b05d530653529e4754d27e6d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 23:30:12 +0000 Subject: automatic import of python-refgenconf --- .gitignore | 1 + python-refgenconf.spec | 113 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 115 insertions(+) create mode 100644 python-refgenconf.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..52f4b41 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/refgenconf-0.12.2.tar.gz diff --git a/python-refgenconf.spec b/python-refgenconf.spec new file mode 100644 index 0000000..61a6808 --- /dev/null +++ b/python-refgenconf.spec @@ -0,0 +1,113 @@ +%global _empty_manifest_terminate_build 0 +Name: python-refgenconf +Version: 0.12.2 +Release: 1 +Summary: A standardized configuration object for reference genome assemblies +License: BSD2 +URL: https://refgenie.databio.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7f/ef/cc3e8746b27f8fcfa7bf07ce11fcac50301e856cb25a9e772430cf79ca96/refgenconf-0.12.2.tar.gz +BuildArch: noarch + +Requires: python3-future +Requires: python3-jsonschema +Requires: python3-pyfaidx +Requires: python3-pyyaml +Requires: python3-requests +Requires: python3-rich +Requires: python3-yacman +Requires: python3-tqdm + +%description +# refgenconf + +![Run pytests](https://github.com/refgenie/refgenconf/workflows/Run%20pytests/badge.svg) +[![codecov](https://codecov.io/gh/refgenie/refgenconf/branch/master/graph/badge.svg)](https://codecov.io/gh/refgenie/refgenconf) +[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/refgenconf/README.html) + +Configuration object for [refgenie](https://doi.org/10.1093/gigascience/giz149) *et al.* + +Documentation for `refgenconf` can be found with the [primary documentation for refgenie](http://refgenie.databio.org). + + + + +%package -n python3-refgenconf +Summary: A standardized configuration object for reference genome assemblies +Provides: python-refgenconf +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-refgenconf +# refgenconf + +![Run pytests](https://github.com/refgenie/refgenconf/workflows/Run%20pytests/badge.svg) +[![codecov](https://codecov.io/gh/refgenie/refgenconf/branch/master/graph/badge.svg)](https://codecov.io/gh/refgenie/refgenconf) +[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/refgenconf/README.html) + +Configuration object for [refgenie](https://doi.org/10.1093/gigascience/giz149) *et al.* + +Documentation for `refgenconf` can be found with the [primary documentation for refgenie](http://refgenie.databio.org). + + + + +%package help +Summary: Development documents and examples for refgenconf +Provides: python3-refgenconf-doc +%description help +# refgenconf + +![Run pytests](https://github.com/refgenie/refgenconf/workflows/Run%20pytests/badge.svg) +[![codecov](https://codecov.io/gh/refgenie/refgenconf/branch/master/graph/badge.svg)](https://codecov.io/gh/refgenie/refgenconf) +[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/refgenconf/README.html) + +Configuration object for [refgenie](https://doi.org/10.1093/gigascience/giz149) *et al.* + +Documentation for `refgenconf` can be found with the [primary documentation for refgenie](http://refgenie.databio.org). + + + + +%prep +%autosetup -n refgenconf-0.12.2 + +%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-refgenconf -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.12.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..9fc41df --- /dev/null +++ b/sources @@ -0,0 +1 @@ +995ddb859391eced3ed02ba89cfe1b1a refgenconf-0.12.2.tar.gz -- cgit v1.2.3