%global pypi_name nrtest Name: python-%{pypi_name} Version: 0.2.5 Release: 1%{?dist} Summary: Numerical regression testing of scientific applications # SPDX -- setup.py and LICENSE say MIT. License: MIT URL: https://github.com/davidchall/nrtest Source0: %{pypi_source %{pypi_name}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # %%check runs the upstream suite. BuildRequires: %{py3_dist pytest} %global _description %{expand: nrtest executes a suite of test cases against a scientific application and records their outputs as a benchmark, then compares two benchmarks numerically (with pluggable per-file-type comparators) to detect regressions between versions. Test cases and application metadata are small JSON files, so a suite lives alongside the application it tests. Packaged for OpenTOPAS: upstream's system-test suite (github.com/OpenTOPAS/ qi-opentopas, 66 cases) is an nrtest suite, and `nrtest execute` is what OpenTOPAS's own CI runs. With this package that suite runs against the packaged /usr/bin/topas.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pyproject_check_import %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %{_bindir}/nrtest %changelog * Fri Sep 25 2026 Morgan Hough - 0.2.5-1 - Initial package. Runs OpenTOPAS's upstream regression suite (qi-opentopas) against the packaged binary; 66/66 passed on 4.3.0 with this version.