Blame SPECS/python-factory-boy.spec

72e63e
%global srcname factory_boy
72e63e
%global desc factory_boy is a fixtures replacement based on thoughtbot's factory_girl\
72e63e
<http://github.com/thoughtbot/factory_girl>.\
72e63e
\
72e63e
Its features include:\
72e63e
\
72e63e
- Straightforward syntax\
72e63e
- Support for multiple build strategies (saved/unsaved instances, attribute\
72e63e
  dicts, stubbed objects)\
72e63e
- Powerful helpers for common cases (sequences, sub-factories, reverse\
72e63e
  dependencies, circular factories, ...)\
72e63e
- Multiple factories per class support, including inheritance\
72e63e
- Support for various ORMs (currently Django, Mogo, SQLAlchemy)\
72e63e
72e63e
Name:           python-factory-boy
72e63e
Version:        3.2.0
72e63e
Release:        2%{?dist}
72e63e
Summary:        A versatile test fixtures replacement based on thoughtbot's factory_girl
72e63e
72e63e
License:        MIT
72e63e
URL:            https://github.com/rbarrois/factory_boy
72e63e
Source0:        https://github.com/rbarrois/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
72e63e
BuildArch:      noarch
72e63e
BuildRequires:  python3-devel
72e63e
BuildRequires:  python3-setuptools
72e63e
72e63e
%description
72e63e
%desc
72e63e
72e63e
%package -n python3-factory-boy
72e63e
Summary:        A versatile test fixtures replacement based on thoughtbot's factory_girl
72e63e
Requires:       python3-faker
72e63e
%{?python_provide:%python_provide python3-factory-boy}
72e63e
Suggests:       %{name}-doc = %{version}-%{release}
72e63e
72e63e
%description -n python3-factory-boy
72e63e
%desc
72e63e
72e63e
%package doc
72e63e
Summary: API documentation for %{name}
72e63e
72e63e
%description doc
72e63e
Documentation for the %{name} API
72e63e
72e63e
%prep
72e63e
%autosetup -n %{srcname}-%{version}
72e63e
72e63e
%build
72e63e
%py3_build
72e63e
# Clean the doc dir
72e63e
rm -f docs/Makefile
72e63e
rm -rf docs/_static
72e63e
find examples -type f -print0 | xargs -0 chmod 0644
72e63e
72e63e
%install
72e63e
%py3_install
72e63e
72e63e
%check
72e63e
# Checks disabled because they download packages from the Internet
72e63e
#%%make_build testall
72e63e
72e63e
%files -n python3-factory-boy
72e63e
%license LICENSE
72e63e
%{python3_sitelib}/factory
72e63e
%{python3_sitelib}/%{srcname}-%{version}-py*.egg-info
72e63e
72e63e
%files doc
72e63e
%doc README.rst CODE_OF_CONDUCT.md CONTRIBUTING.rst CREDITS docs examples
72e63e
%license LICENSE
72e63e
72e63e
%changelog
72e63e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
72e63e
72e63e
* Fri Jan 01 2021 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.0-1
72e63e
- Version 3.2.0 (#1911225)
72e63e
72e63e
* Thu Oct 08 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.1.0-1
72e63e
- Version 3.1.0 (RHBZ#1884820)
72e63e
- BR: python3-setuptools
72e63e
72e63e
* Fri Aug 14 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.0.1-1
72e63e
- Version 3.0.1 (RHBZ#1868502)
72e63e
72e63e
* Thu Aug 13 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.0.0-1
72e63e
- Version 3.0.0
72e63e
- Include documentation in text format as sphinx fails to build
72e63e
72e63e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-4
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
72e63e
72e63e
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.12.0-3
72e63e
- Rebuilt for Python 3.9
72e63e
72e63e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-2
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
72e63e
72e63e
* Sun Jan 05 2020 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-1
72e63e
- Version 2.12.0
72e63e
72e63e
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.11.1-8
72e63e
- Rebuilt for Python 3.8.0rc1 (#1748018)
72e63e
72e63e
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.11.1-7
72e63e
- Rebuilt for Python 3.8
72e63e
72e63e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-6
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
72e63e
72e63e
* Wed Mar 13 2019 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.1-5
72e63e
- Drop python2 subpackage
72e63e
72e63e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-4
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
72e63e
72e63e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-3
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
72e63e
72e63e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.11.1-2
72e63e
- Rebuilt for Python 3.7
72e63e
72e63e
* Wed May 16 2018 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.1-1
72e63e
- Version 2.11.1
72e63e
72e63e
* Tue Mar 13 2018 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.0-1
72e63e
- Version 2.10.0
72e63e
72e63e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-3
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
72e63e
72e63e
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.2-2
72e63e
- Update Python 2 dependency declarations to new packaging standards
72e63e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
72e63e
72e63e
* Fri Aug 25 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.2-1
72e63e
- Version 2.9.2
72e63e
72e63e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-3
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
72e63e
72e63e
* Sat Jul 01 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.8.1-2
72e63e
- Python3 changes
72e63e
72e63e
* Sun Feb 26 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.8.1-1
72e63e
- Version 2.8.1
72e63e
72e63e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-5
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
72e63e
72e63e
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-4
72e63e
- Rebuild for Python 3.6
72e63e
72e63e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.0-3
72e63e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
72e63e
72e63e
* Wed Jul 06 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.7.0-2
72e63e
- Add BuildRequires: python-sphinx_rtd_theme
72e63e
72e63e
* Thu Jun 23 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.7.0-1
72e63e
- Version 2.7.0
72e63e
72e63e
* Wed Feb 24 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.6.1-1
72e63e
- Version 2.6.1
72e63e
72e63e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-4
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
72e63e
72e63e
* Sat Nov 14 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.6.0-3
72e63e
- Add python-faker dependency
72e63e
- Use python_provide macro
72e63e
72e63e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
72e63e
72e63e
* Wed Oct 21 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.6.0-1
72e63e
- New version 2.6.0
72e63e
72e63e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-2
72e63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
72e63e
72e63e
* Tue Dec 23 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.5.2-1
72e63e
- New version 2.5.2
72e63e
72e63e
* Tue Dec 23 2014 Juan Orti <jorti@fedoraproject.org> - 2.4.1-4
72e63e
- Use parallel make
72e63e
72e63e
* Mon Dec 15 2014 Juan Orti <jorti@fedoraproject.org> - 2.4.1-3
72e63e
- Update to commit 392db861e585f12038f18f41e467ecfcab9d39b0
72e63e
- Drop patch factory_boy-2.4.1-disable_broken_tests.patch
72e63e
72e63e
* Wed Dec 10 2014 Juan Orti <jorti@fedoraproject.org> - 2.4.1-2
72e63e
- Rename python3 subpackage to python3-factory-boy
72e63e
- Move manpage to doc subpackage and to section 3
72e63e
- Fit summary and description in 80 characters width lines
72e63e
- Remove .buildinfo files
72e63e
- Run tests
72e63e
- Add patch to disable broken tests
72e63e
- Change Source0 to GitHub
72e63e
- Add documentation in plain text format
72e63e
72e63e
* Wed Dec 03 2014 Juan Orti <jorti@fedoraproject.org> - 2.4.1-1
72e63e
- Update to version 2.4.1
72e63e
- Spec file cleanup
72e63e
72e63e
* Sat May 24 2014 Didier Fabert <didier.fabert@gmail.com> 2.3.1-1
72e63e
- Initial RPM release