## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %global forgeurl https://github.com/jchen6727/batchtk %global _description %{expand: Package for handling custom remote job submissions} Name: python-batchtk Version: 0.0.1c Release: %{autorelease} Summary: Package for handling custom remote job submissions License: MIT URL: %forgeurl %global tag %version %forgemeta Source0: %forgesource BuildArch: noarch %description %_description %package -n python3-batchtk Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytest # missing from pyproject.toml BuildRequires: python3-numpy BuildRequires: python3-pandas Requires: %{py3_dist numpy} Requires: %{py3_dist scipy} %description -n python3-batchtk %_description %prep %forgeautosetup sed -i 's/\r$//' README.md %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l batchtk %check # hangs, not sure why %{pytest} --ignore tests/test_sh.py # ray is not yet packaged for Fedora: https://pypi.org/project/ray/ %pyproject_check_import -e "*raytk*" %files -n python3-batchtk -f %{pyproject_files} %doc README.md examples/ %changelog ## START: Generated by rpmautospec * Mon Sep 23 2024 Ankur Sinha (Ankur Sinha Gmail) - 0.0.1c-2 - feat: ready for review * Mon Sep 23 2024 Ankur Sinha (Ankur Sinha Gmail) - 0.0.1c-1 - chore: init ## END: Generated by rpmautospec