|
 |
33a0fe3 |
# Created by pyp2rpm-3.3.5
|
|
 |
33a0fe3 |
%global pypi_name backrefs
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
Name: python-%{pypi_name}
|
|
 |
4d38cad |
Version: 5.3
|
|
 |
e7c4e6d |
Release: 2%{?dist}
|
|
 |
33a0fe3 |
Summary: A wrapper around re and regex that adds additional back references
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
License: MIT
|
|
 |
33a0fe3 |
URL: https://github.com/facelessuser/backrefs
|
|
 |
33a0fe3 |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
 |
33a0fe3 |
BuildArch: noarch
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
BuildRequires: python3-devel
|
|
 |
33a0fe3 |
BuildRequires: python3dist(pytest)
|
|
 |
33a0fe3 |
BuildRequires: python3dist(regex)
|
|
 |
33a0fe3 |
BuildRequires: python3dist(setuptools)
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%description
|
|
 |
33a0fe3 |
Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex
|
|
 |
33a0fe3 |
library. Backrefs adds various additional back references (and a couple other
|
|
 |
33a0fe3 |
features) that are known to some regular expression engines, but not to
|
|
 |
33a0fe3 |
Python's Re and/or Regex. The supported back references actually vary depending
|
|
 |
33a0fe3 |
on the regular expression engine being used as the engine may already have
|
|
 |
33a0fe3 |
support for some.
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%package -n python3-%{pypi_name}
|
|
 |
33a0fe3 |
Summary: %{summary}
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%description -n python3-%{pypi_name}
|
|
 |
33a0fe3 |
Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex
|
|
 |
33a0fe3 |
library. Backrefs adds various additional back references (and a couple other
|
|
 |
33a0fe3 |
features) that are known to some regular expression engines, but not to
|
|
 |
33a0fe3 |
Python's Re and/or Regex. The supported back references actually vary depending
|
|
 |
33a0fe3 |
on the regular expression engine being used as the engine may already have
|
|
 |
33a0fe3 |
support for some.
|
|
 |
33a0fe3 |
|
|
 |
4d38cad |
%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/%{pypi_name}-%{version}.dist-info extras}
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%prep
|
|
 |
33a0fe3 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
33a0fe3 |
|
|
 |
4d38cad |
%generate_buildrequires
|
|
 |
4d38cad |
%pyproject_buildrequires -w
|
|
 |
4d38cad |
|
|
 |
4d38cad |
|
|
 |
33a0fe3 |
%build
|
|
 |
4d38cad |
%pyproject_wheel
|
|
 |
4d38cad |
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%install
|
|
 |
4d38cad |
%pyproject_install
|
|
 |
4d38cad |
%pyproject_save_files %{pypi_name}
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%check
|
|
 |
4d38cad |
%pyproject_check_import
|
|
 |
4d38cad |
py.test-3
|
|
 |
33a0fe3 |
|
|
 |
4d38cad |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
 |
33a0fe3 |
%license LICENSE.md
|
|
 |
33a0fe3 |
%doc README.md
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
%changelog
|
|
 |
e7c4e6d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.3-2
|
|
 |
e7c4e6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
e7c4e6d |
|
|
 |
4d38cad |
* Thu Jul 07 2022 Parag Nemade <pnemade AT redhat DOT com> - 5.3-1
|
|
 |
4d38cad |
- Update to 5.3.0
|
|
 |
4d38cad |
|
|
 |
3703a00 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.0.1-9
|
|
 |
3703a00 |
- Rebuilt for Python 3.11
|
|
 |
3703a00 |
|
|
 |
fc47a08 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-8
|
|
 |
fc47a08 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
fc47a08 |
|
|
 |
18c7d99 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-7
|
|
 |
18c7d99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
18c7d99 |
|
|
 |
885c151 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.0.1-6
|
|
 |
885c151 |
- Rebuilt for Python 3.10
|
|
 |
885c151 |
|
|
 |
33a0fe3 |
* Thu Mar 04 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0.1-5
|
|
 |
33a0fe3 |
- Drop some docs files which are not needed (rh#1929991)
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
* Wed Feb 24 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0.1-4
|
|
 |
33a0fe3 |
- Drop Requires: on (backrefs[extras])
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
* Wed Feb 24 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0.1-3
|
|
 |
33a0fe3 |
- Simplify URL: tag usage
|
|
 |
33a0fe3 |
- Drop unnecessary egg-info removal
|
|
 |
33a0fe3 |
- Use python-extras guidelines to provide python3.Xdist(backrefs[extras])
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
* Sat Feb 20 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0.1-2
|
|
 |
33a0fe3 |
- Change Source to github to use tests
|
|
 |
33a0fe3 |
|
|
 |
33a0fe3 |
* Thu Feb 18 2021 Parag Nemade <pnemade AT redhat DOT com> - 5.0.1-1
|
|
 |
33a0fe3 |
- Initial package.
|