Blame python-requre.spec

0b6d665
%global srcname requre
84b3cb9
0b6d665
Name:           python-%{srcname}
Packit Service 1c05ce7
Version:        0.8.1
cecb2a3
Release:        3%{?dist}
84b3cb9
Summary:        Python library what allows re/store output of various objects for testing
84b3cb9
84b3cb9
License:        MIT
0b6d665
URL:            https://github.com/packit/requre
84b3cb9
Source0:        %{pypi_source}
84b3cb9
BuildArch:      noarch
84b3cb9
84b3cb9
BuildRequires:  python3-devel
84b3cb9
BuildRequires:  python3dist(click)
84b3cb9
BuildRequires:  python3dist(pytest)
84b3cb9
BuildRequires:  python3dist(pyyaml)
84b3cb9
BuildRequires:  python3dist(requests)
84b3cb9
BuildRequires:  python3dist(setuptools)
84b3cb9
BuildRequires:  python3dist(setuptools-scm)
84b3cb9
BuildRequires:  python3dist(setuptools-scm-git-archive)
84b3cb9
BuildRequires:  python3dist(sphinx)
84b3cb9
84b3cb9
%description
84b3cb9
REQUest REcordingRequre [rekure] - Is Library for storing output of various
84b3cb9
function and methods to persistent storage and be able to replay the stored
84b3cb9
output to functions.
84b3cb9
0b6d665
%package -n     python3-%{srcname}
84b3cb9
Summary:        %{summary}
84b3cb9
0b6d665
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides
0b6d665
%if 0%{?fedora} < 33
0b6d665
%{?python_provide:%python_provide python3-%{srcname}}
0b6d665
%endif
0b6d665
0b6d665
%description -n python3-%{srcname}
84b3cb9
REQUest REcordingRequre [rekure] - Is Library for storing output of various
84b3cb9
function and methods to persistent storage and be able to replay the stored
84b3cb9
output to functions.
84b3cb9
84b3cb9
%prep
0b6d665
%autosetup -n %{srcname}-%{version}
0b6d665
# Remove bundled egg-info
0b6d665
rm -rf %{srcname}.egg-info
84b3cb9
84b3cb9
%build
84b3cb9
%py3_build
84b3cb9
84b3cb9
%install
84b3cb9
%py3_install
84b3cb9
0b6d665
%files -n python3-%{srcname}
84b3cb9
%license LICENSE
84b3cb9
%doc README.md
84b3cb9
%{_bindir}/requre-patch
0b6d665
%{python3_sitelib}/%{srcname}
0b6d665
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
84b3cb9
84b3cb9
%changelog
cecb2a3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
cecb2a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
cecb2a3
44d46b4
* Fri Jun 18 2021 Frantisek Lachman <flachman@redhat.com> - 0.8.1-2
44d46b4
- Fix the changelog formatting.
44d46b4
Packit Service 1c05ce7
* Fri Jun 18 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.8.1-1
Packit Service 1c05ce7
- Fix the problem with kwarg decorators that causes the function body not to be executed.
6d1c58f
44d46b4
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.8.0-2
44d46b4
- Rebuilt for Python 3.10
Packit Service 1c05ce7
44d46b4
* Fri May 07 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.8.0-1
44d46b4
- New decorators for handling temporary files (MkTemp) and directories (MkDTemp) in a more transparent way.
44d46b4
- The old implementation based on static paths and counter has been deprecated.
Packit Service 1ca1a34
9ac3440
* Fri Apr 30 2021 Hunor Csomortáni <csomh@redhat.com> - 0.7.1-1
44d46b4
- Fix a performance issue when detecting cassettes following the old naming format.
9ac3440
44d46b4
* Fri Mar 12 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.7.0-1
44d46b4
- New version of requre 0.7.0 (Jan Ščotka)
44d46b4
- Workflow for uploading release to PyPI (Jiri Popelka)
44d46b4
- fix the name of storage file for unittest, use just class.method.yaml (Jan Ščotka)
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 5af31f9
c304a13
* Mon Mar 01 2021 Jan Ščotka <jscotka@redhat.com> - 0.6.1-1
44d46b4
- version increased (Jan Ščotka)
44d46b4
- test Tuple type (Jan Ščotka)
44d46b4
- add tuple as base simple type (Jan Ščotka)
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
44d46b4
44d46b4
* Tue Feb 16 2021 Jan Ščotka <jscotka@redhat.com> - 0.6.0-1
44d46b4
- release new version 0.6.0 (Jan Ščotka)
44d46b4
- Cleanup import system (#152) (jscotka)
44d46b4
- improve failing test (Jan Ščotka)
44d46b4
- prepare code before next cleanup (Jan Ščotka)
44d46b4
- remove unused type of decoration and it was outtaded (Jan Ščotka)
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
44d46b4
- Don't recommend to use 'pip' with 'sudo' (Hunor Csomortáni)
44d46b4
- Change 'master' to 'main' (Hunor Csomortáni)
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
44d46b4
- small issue with setting up storage mode debug (Jan Ščotka)
44d46b4
- Bump Version in fedora/python-requre.spec (Jiri Popelka)
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
44d46b4
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
44d46b4
- add backward compatibility to files (Jan Ščotka)
44d46b4
- improve file operations with guess if not given (Jan Ščotka)
44d46b4
44d46b4
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
44d46b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
44d46b4
44d46b4
* Tue Dec 08 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.5.0-1
44d46b4
- apply PR suggestion (Jan Ščotka)
44d46b4
- add default decorator and test (Jan Ščotka)
44d46b4
- guess proper return object type based on  return value (Jan Ščotka)
44d46b4
- Link our common contribution guidelines (Matej Focko)
44d46b4
- Fix mypy remark (Matej Focko)
44d46b4
- Move rebase check from pre-commit to pre-push hook (Matej Focko)
44d46b4
- Update docs/filter_format.rst (jscotka)
44d46b4
- Update docs/filter_format.rst (jscotka)
44d46b4
- Update docs/filter_format.rst (jscotka)
44d46b4
- Update docs/filter_format.rst (jscotka)
44d46b4
- Update docs/filter_format.rst (jscotka)
44d46b4
- Update docs/filter_format.rst (jscotka)
44d46b4
- update documentation (Jan Ščotka)
44d46b4
- fix examples (Jan Ščotka)
44d46b4
- fix ip addr and DNS issue inside tests (Jan Ščotka)
44d46b4
- Do not skip bug and security issues by stalebot (Frantisek Lachman)
44d46b4
- Do not run tests for zuul gating (Frantisek Lachman)
44d46b4
- Add more specific type for __replace_module_match_with_multiple_decorators (Frantisek Lachman)
44d46b4
- fix mistake (Jan Ščotka)
44d46b4
- Update requre/modules_decorate_all_methods.py (jscotka)
44d46b4
- apply PR suggestions (Jan Ščotka)
44d46b4
- Allow to use list as parameter for decoratos and add common aliases for decorators. (Jan Ščotka)
44d46b4
- Update pre-commit configuration for prettier (Hunor Csomortáni)
44d46b4
- Copy modules when listing to avoid changes during execution (Frantisek Lachman)
44d46b4
- adapt PR review issues (Jan Ščotka)
44d46b4
- optimise files handling, avoid duplication of stored files in test_data files (Jan Ščotka)
44d46b4
- Document installation instructions in README (Frantisek Lachman)
44d46b4
- Enable all fedora targets for master/release copr builds (Frantisek Lachman)
44d46b4
- Use default packit COPR projects (Frantisek Lachman)
44d46b4
44d46b4
* Tue Sep 22 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.4.0-1
44d46b4
- new upstream release: 0.4.0
44d46b4
44d46b4
* Mon Sep 21 2020 Jan Ščotka <jscotka@redhat.com> - 0.3.0-1
44d46b4
- new upstream release: 0.3.0
0b6d665
84b3cb9
* Wed Jan 15 2020 Jan Ščotka <jscotka@redhat.com> - 0.2.0-1
84b3cb9
- Initial package.