# Created by pyp2rpm-3.3.5 %global pypi_name backrefs Name: python-%{pypi_name} Version: 5.8 Release: 1 Summary: A wrapper around re and regex that adds additional back references License: MIT URL: https://github.com/facelessuser/backrefs Source0: %{pypi_source %{pypi_name} %{version}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling BuildRequires: python3dist(pytest) BuildRequires: python3dist(regex) BuildRequires: python3dist(setuptools) %description Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex library. Backrefs adds various additional back references (and a couple other features) that are known to some regular expression engines, but not to Python's Re and/or Regex. The supported back references actually vary depending on the regular expression engine being used as the engine may already have support for some. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex library. Backrefs adds various additional back references (and a couple other features) that are known to some regular expression engines, but not to Python's Re and/or Regex. The supported back references actually vary depending on the regular expression engine being used as the engine may already have support for some. %{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/%{pypi_name}-%{version}.dist-info extras} %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_build %install %pyproject_install %check %pytest %files -n python3-%{pypi_name} %license LICENSE.md %doc README.md %{python3_sitelib}/backrefs %{python3_sitelib}/backrefs-*.dist-info/ %changelog * Wed May 14 2025 Dongxing Wang - 5.8-1 - Init package