## 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 # Tests need to run in an environment with Slurm %bcond tests 0 Name: python-snakemake-executor-plugin-slurm Version: 0.10.2 Release: %autorelease Summary: A Snakemake executor plugin for submitting jobs to a SLURM cluster # SPDX License: MIT URL: https://github.com/snakemake/snakemake-executor-plugin-slurm # 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-slurm-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # See: [tool.poetry.dev-dependencies] in pyproject.toml BuildRequires: snakemake >= 8 %if %{with tests} BuildRequires: %{py3_dist pytest} %endif %global common_description %{expand: %{summary}.} %description %{common_description} %package -n python3-snakemake-executor-plugin-slurm Summary: %{summary} %description -n python3-snakemake-executor-plugin-slurm %{common_description} %prep %autosetup -n snakemake-executor-plugin-slurm-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files snakemake_executor_plugin_slurm %check %pyproject_check_import %if %{with tests} %pytest -v tests/tests.py %endif %files -n python3-snakemake-executor-plugin-slurm -f %{pyproject_files} %license LICENSE %doc CHANGELOG.md %doc README.md %changelog ## START: Generated by rpmautospec * Thu Sep 12 2024 Packit - 0.10.2-1 - Update to 0.10.2 upstream release - Resolves: rhbz#2312033 * Sat Aug 24 2024 Packit - 0.10.0-1 - Update to 0.10.0 upstream release - Resolves: rhbz#2307734 * Wed Aug 07 2024 Packit - 0.9.0-1 - Update to 0.9.0 upstream release - Resolves: rhbz#2303577 * Fri Jul 19 2024 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Packit - 0.8.0-1 - Update to 0.8.0 upstream release - Resolves: rhbz#2298062 * Thu Jul 04 2024 Packit - 0.7.0-1 - Update to 0.7.0 upstream release - Resolves: rhbz#2295729 * Sun Jun 09 2024 Python Maint - 0.6.0-2 - Rebuilt for Python 3.13 * Sat Jun 08 2024 Packit - 0.6.0-1 - Update to 0.6.0 upstream release - Resolves: rhbz#2290998 * Tue Jun 04 2024 Packit - 0.5.2-1 - Update to 0.5.2 upstream release - Resolves: rhbz#2290432 * Thu Apr 18 2024 Packit - 0.4.5-1 - Update to 0.4.5 upstream release - Resolves: rhbz#2275831 * Mon Apr 15 2024 Packit - 0.4.4-1 - Update to 0.4.4 upstream release - Resolves: rhbz#2275105 * Sat Apr 13 2024 Packit - 0.4.3-1 - Update to 0.4.3 upstream release - Resolves: rhbz#2274845 * Fri Mar 15 2024 Benjamin A. Beasley - 0.4.2-1 - Initial package (close RHBZ#2261110) ## END: Generated by rpmautospec