Name: python-snakemake-storage-plugin-irods Version: 0.3.1 Release: %autorelease Summary: A Snakemake plugin for handling input and output on iRODS # SPDX License: MIT URL: https://github.com/snakemake/snakemake-storage-plugin-irods # We use the GitHub archive instead of the PyPI sdist to get CHANGELOG.md and # the tests. Source: %{url}/archive/v%{version}/snakemake-storage-plugin-irods-%{version}.tar.gz BuildSystem: pyproject BuildOption(install): -L snakemake_storage_plugin_irods BuildArch: noarch # See: [tool.poetry.group.dev-dependencies] in pyproject.toml BuildRequires: %{py3_dist pytest} BuildRequires: snakemake >= 9.1 %global common_description %{expand: %{summary}.} %description %{common_description} %package -n python3-snakemake-storage-plugin-irods Summary: %{summary} %description -n python3-snakemake-storage-plugin-irods %{common_description} %check -a # The following tests require network access and an iRODS test server that # upstream CI sets up with docker, which will of course not be possible here: k="${k-}${k+ and }not (TestStorage and get_query)" k="${k-}${k+ and }not (TestStorage and get_query_not_existing)" k="${k-}${k+ and }not (TestStorage and test_storage)" k="${k-}${k+ and }not (TestStorage and test_storage_not_existing)" %pytest -v -k "${k-}" tests/tests.py %files -n python3-snakemake-storage-plugin-irods -f %{pyproject_files} %license LICENSE %doc CHANGELOG.md %doc README.md %changelog %autochangelog