## 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 %global _description %{expand: Formulaic is a high-performance implementation of Wilkinson formulas for Python. It provides: - high-performance dataframe to model-matrix conversions. - support for reusing the encoding choices made during conversion of one data-set on other datasets. - extensible formula parsing. - extensible data input/output plugins, with implementations for: - input: - pandas.DataFrame - pyarrow.Table - output: - pandas.DataFrame - numpy.ndarray - scipy.sparse.CSCMatrix - support for symbolic differentiation of formulas (and hence model matrices).} Name: python-formulaic Version: 0.6.6 Release: %{autorelease} Summary: A high-performance implementation of Wilkinson formulas # SPDX License: MIT URL: https://github.com/matthewwardrop/formulaic Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch # The dependency libarrow is ExcludeArch on 32-bit platforms, and is the sole # dependent package, python-pybids, plus: # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %description %_description %package -n python3-formulaic Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-sympy %description -n python3-formulaic %_description %pyproject_extras_subpkg -n python3-formulaic arrow calculus %prep %autosetup -n formulaic-%{version} %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires -x arrow,calculus %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_install %pyproject_save_files formulaic %check export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %{pytest} %files -n python3-formulaic -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Oct 04 2023 Packit - 0.6.6-1 - [packit] 0.6.6 upstream release * Tue Sep 26 2023 Packit - 0.6.5-1 - [packit] 0.6.5 upstream release * Mon Aug 14 2023 Ankur Sinha (Ankur Sinha Gmail) - 0.6.4-1 - feat: update to 0.6.4 (fixes rhbz#2190073) * Mon Aug 14 2023 Ankur Sinha (Ankur Sinha Gmail) - 0.5.2-10 - chore(packit): add config * Fri Jul 21 2023 Fedora Release Engineering - 0.5.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 28 2023 Benjamin A. Beasley - 0.5.2-8 - Exclude i686 * Fri Apr 28 2023 Benjamin A. Beasley - 0.5.2-7 - Confirm License is SPDX MIT * Fri Apr 28 2023 Benjamin A. Beasley - 0.5.2-6 - Add missing “arrow” and “calculus” extras metapackages * Fri Jan 20 2023 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Nov 10 2022 Ankur Sinha (Ankur Sinha Gmail) - 0.5.2-4 - chore: check in sources (fix rhbz#2140295) * Thu Nov 10 2022 Ankur Sinha (Ankur Sinha Gmail) - 0.5.2-3 - feat: backport patch to enable all tests * Thu Nov 10 2022 Ankur Sinha (Ankur Sinha Gmail) - 0.5.2-2 - feat: ready for review * Thu Nov 10 2022 Ankur Sinha (Ankur Sinha Gmail) - 0.5.2-1 - init ## END: Generated by rpmautospec