diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 22:05:58 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 22:05:58 +0000 |
| commit | 3c3b57c0323d0f72c41fda749b8905ae4bd5b16a (patch) | |
| tree | 090209690f9de499e1256f462530e655fb2b5633 /python-gxformat2.spec | |
| parent | 1cd0dd3e14c148d4655872c32cd5c44828e2795a (diff) | |
automatic import of python-gxformat2
Diffstat (limited to 'python-gxformat2.spec')
| -rw-r--r-- | python-gxformat2.spec | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/python-gxformat2.spec b/python-gxformat2.spec new file mode 100644 index 0000000..e3957dc --- /dev/null +++ b/python-gxformat2.spec @@ -0,0 +1,111 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gxformat2 +Version: 0.17.0 +Release: 1 +Summary: Galaxy Workflow Format 2 Descriptions +License: MIT +URL: https://github.com/galaxyproject/gxformat2 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/7b/ebd6cbd16ed3585592eeb3c6ccdf4fbe2636ebdd216dda7e5214bdc413b4/gxformat2-0.17.0.tar.gz +BuildArch: noarch + +Requires: python3-bioblend +Requires: python3-pyyaml +Requires: python3-schema-salad + +%description +This package defines a high-level Galaxy_ workflow description termed "Format +2". The current schema version is v19_09 and the schema can be found +`here <https://galaxyproject.github.io/gxformat2/v19_09.html>`__. This version of +workflow format can be consumed by Galaxy since version 19.09. +The Format 2 workflow description is still somewhat experimental and may +yet change in small potentially backward incompatible ways until the format is +exported by Galaxy by default. +The traditional Galaxy workflow description (files ending in ``.ga`` extension, +sometimes called native workflows in this project) was not designed to be +concise and is neither readily human readable or human writable. Galaxy +workflow Format 2 is being designed to address these limitations, +while also moving Galaxy's workflow description language toward standards such +as the Common Workflow Language. + +%package -n python3-gxformat2 +Summary: Galaxy Workflow Format 2 Descriptions +Provides: python-gxformat2 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gxformat2 +This package defines a high-level Galaxy_ workflow description termed "Format +2". The current schema version is v19_09 and the schema can be found +`here <https://galaxyproject.github.io/gxformat2/v19_09.html>`__. This version of +workflow format can be consumed by Galaxy since version 19.09. +The Format 2 workflow description is still somewhat experimental and may +yet change in small potentially backward incompatible ways until the format is +exported by Galaxy by default. +The traditional Galaxy workflow description (files ending in ``.ga`` extension, +sometimes called native workflows in this project) was not designed to be +concise and is neither readily human readable or human writable. Galaxy +workflow Format 2 is being designed to address these limitations, +while also moving Galaxy's workflow description language toward standards such +as the Common Workflow Language. + +%package help +Summary: Development documents and examples for gxformat2 +Provides: python3-gxformat2-doc +%description help +This package defines a high-level Galaxy_ workflow description termed "Format +2". The current schema version is v19_09 and the schema can be found +`here <https://galaxyproject.github.io/gxformat2/v19_09.html>`__. This version of +workflow format can be consumed by Galaxy since version 19.09. +The Format 2 workflow description is still somewhat experimental and may +yet change in small potentially backward incompatible ways until the format is +exported by Galaxy by default. +The traditional Galaxy workflow description (files ending in ``.ga`` extension, +sometimes called native workflows in this project) was not designed to be +concise and is neither readily human readable or human writable. Galaxy +workflow Format 2 is being designed to address these limitations, +while also moving Galaxy's workflow description language toward standards such +as the Common Workflow Language. + +%prep +%autosetup -n gxformat2-0.17.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-gxformat2 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.17.0-1 +- Package Spec generated |
