0b6d665
%global srcname requre
84b3cb9
0b6d665
Name:           python-%{srcname}
Packit Service 1f7c2ff
Version:        0.7.0
963c4ad
Release:        1%{?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
Packit Service 1f7c2ff
* Fri Mar 12 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.7.0-1
Packit Service 1f7c2ff
- New version of requre 0.7.0 (Jan Ščotka)
Packit Service 1f7c2ff
- Workflow for uploading release to PyPI (Jiri Popelka)
Packit Service 1f7c2ff
- fix the name of storage file for unittest, use just class.method.yaml (Jan Ščotka)
Packit Service 1f7c2ff
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 1f7c2ff
Packit Service fa574f1
* Mon Mar 01 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.6.1-1
Packit Service fa574f1
- version increased (Jan Ščotka)
Packit Service fa574f1
- test Tuple type (Jan Ščotka)
Packit Service fa574f1
- add tuple as base simple type (Jan Ščotka)
Packit Service fa574f1
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service fa574f1
963c4ad
* Tue Feb 16 2021 Jan Ščotka <jscotka@redhat.com> - 0.6.0-1
963c4ad
- release new version 0.6.0 (Jan Ščotka)
963c4ad
- Cleanup import system (#152) (jscotka)
963c4ad
- improve failing test (Jan Ščotka)
963c4ad
- prepare code before next cleanup (Jan Ščotka)
963c4ad
- remove unused type of decoration and it was outtaded (Jan Ščotka)
963c4ad
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
963c4ad
- Don't recommend to use 'pip' with 'sudo' (Hunor Csomortáni)
963c4ad
- Change 'master' to 'main' (Hunor Csomortáni)
963c4ad
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
963c4ad
- small issue with setting up storage mode debug (Jan Ščotka)
963c4ad
- Bump Version in fedora/python-requre.spec (Jiri Popelka)
963c4ad
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
963c4ad
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
963c4ad
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
963c4ad
- add backward compatibility to files (Jan Ščotka)
963c4ad
- improve file operations with guess if not given (Jan Ščotka)
963c4ad
723e22c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
723e22c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
723e22c
Packit Service 17e6e4e
* Tue Dec 08 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.5.0-1
Packit Service 17e6e4e
- apply PR suggestion (Jan Ščotka)
Packit Service 17e6e4e
- add default decorator and test (Jan Ščotka)
Packit Service 17e6e4e
- guess proper return object type based on  return value (Jan Ščotka)
Packit Service 17e6e4e
- Link our common contribution guidelines (Matej Focko)
Packit Service 17e6e4e
- Fix mypy remark (Matej Focko)
Packit Service 17e6e4e
- Move rebase check from pre-commit to pre-push hook (Matej Focko)
Packit Service 17e6e4e
- Update docs/filter_format.rst (jscotka)
Packit Service 17e6e4e
- Update docs/filter_format.rst (jscotka)
Packit Service 17e6e4e
- Update docs/filter_format.rst (jscotka)
Packit Service 17e6e4e
- Update docs/filter_format.rst (jscotka)
Packit Service 17e6e4e
- Update docs/filter_format.rst (jscotka)
Packit Service 17e6e4e
- Update docs/filter_format.rst (jscotka)
Packit Service 17e6e4e
- update documentation (Jan Ščotka)
Packit Service 17e6e4e
- fix examples (Jan Ščotka)
Packit Service 17e6e4e
- fix ip addr and DNS issue inside tests (Jan Ščotka)
Packit Service 17e6e4e
- Do not skip bug and security issues by stalebot (Frantisek Lachman)
Packit Service 17e6e4e
- Do not run tests for zuul gating (Frantisek Lachman)
Packit Service 17e6e4e
- Add more specific type for __replace_module_match_with_multiple_decorators (Frantisek Lachman)
Packit Service 17e6e4e
- fix mistake (Jan Ščotka)
Packit Service 17e6e4e
- Update requre/modules_decorate_all_methods.py (jscotka)
Packit Service 17e6e4e
- apply PR suggestions (Jan Ščotka)
Packit Service 17e6e4e
- Allow to use list as parameter for decoratos and add common aliases for decorators. (Jan Ščotka)
Packit Service 17e6e4e
- Update pre-commit configuration for prettier (Hunor Csomortáni)
Packit Service 17e6e4e
- Copy modules when listing to avoid changes during execution (Frantisek Lachman)
Packit Service 17e6e4e
- adapt PR review issues (Jan Ščotka)
Packit Service 17e6e4e
- optimise files handling, avoid duplication of stored files in test_data files (Jan Ščotka)
Packit Service 17e6e4e
- Document installation instructions in README (Frantisek Lachman)
Packit Service 17e6e4e
- Enable all fedora targets for master/release copr builds (Frantisek Lachman)
Packit Service 17e6e4e
- Use default packit COPR projects (Frantisek Lachman)
Packit Service 17e6e4e
Packit Service 6b27ffa
* Tue Sep 22 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.4.0-1
Packit Service 6b27ffa
- new upstream release: 0.4.0
Packit Service 6b27ffa
0b6d665
* Mon Sep 21 2020 Jan Ščotka <jscotka@redhat.com> - 0.3.0-1
0b6d665
- new upstream release: 0.3.0
0b6d665
84b3cb9
* Wed Jan 15 2020 Jan Ščotka <jscotka@redhat.com> - 0.2.0-1
84b3cb9
- Initial package.