## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-snakemake-executor-plugin-flux Version: 0.1.1 Release: %autorelease Summary: A snakemake executor plugin for the Flux scheduler # SPDX License: MIT URL: https://github.com/snakemake/snakemake-executor-plugin-flux # We use the GitHub archive instead of the PyPI sdist to get CHANGELOG.md and # the tests. Source: %{url}/archive/v%{version}/snakemake-executor-plugin-flux-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # See: [tool.poetry.dev-dependencies] in pyproject.toml BuildRequires: snakemake >= 8 BuildRequires: %{py3_dist pytest} %global common_description %{expand: This serves both as an example implementation for an external snakemake plugin and as a usable executor plugin for the Flux scheduler.} %description %{common_description} %package -n python3-snakemake-executor-plugin-flux Summary: %{summary} %description -n python3-snakemake-executor-plugin-flux %{common_description} %prep %autosetup -n snakemake-executor-plugin-flux-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files snakemake_executor_plugin_flux %check %pyproject_check_import # While testing is stubbed out, there are no actual tests to collect: # %%pytest -v tests/tests.py %files -n python3-snakemake-executor-plugin-flux -f %{pyproject_files} %license LICENSE %doc CHANGELOG.md %doc README.md %changelog ## START: Generated by rpmautospec * Mon Oct 07 2024 Benjamin A. Beasley - 0.1.1-1 - Initial package (close RHBZ#2307489) ## END: Generated by rpmautospec