summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 23:30:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 23:30:12 +0000
commit2e9240d759556b05b05d530653529e4754d27e6d (patch)
tree21c8349294d02e46d15a5871549f9aa732ab4608
parent5478b8f418cf8f7f2dcc79a08ac3cf89cd12466e (diff)
automatic import of python-refgenconf
-rw-r--r--.gitignore1
-rw-r--r--python-refgenconf.spec113
-rw-r--r--sources1
3 files changed, 115 insertions, 0 deletions
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 <Python_Bot@openeuler.org> - 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