|
|
8aee761 |
%bcond_without check
|
|
|
8aee761 |
|
|
|
8aee761 |
%global modname pydenticon
|
|
|
8aee761 |
|
|
|
8aee761 |
Name: python-%{modname}
|
|
|
89d4895 |
Version: 0.3.1
|
|
|
c09eded |
Release: 6%{?dist}
|
|
|
8aee761 |
Summary: Library for generating identicons
|
|
|
8aee761 |
|
|
|
8aee761 |
License: BSD
|
|
|
8aee761 |
URL: https://github.com/azaghal/pydenticon
|
|
|
8aee761 |
Source0: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz
|
|
|
8aee761 |
|
|
|
8aee761 |
BuildArch: noarch
|
|
|
8aee761 |
|
|
|
8aee761 |
%global _description \
|
|
|
8aee761 |
Pydenticon is a small utility library that can be used for deterministically\
|
|
|
8aee761 |
enerating identicons based on the hash of provided data.
|
|
|
8aee761 |
|
|
|
8aee761 |
%description %{_description}
|
|
|
8aee761 |
|
|
|
8aee761 |
%package -n python3-%{modname}
|
|
|
8aee761 |
Summary: %{summary}
|
|
|
8aee761 |
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
8aee761 |
BuildRequires: python3-devel
|
|
|
8aee761 |
BuildRequires: python3-setuptools
|
|
|
8aee761 |
%if %{with check}
|
|
|
c54b1b7 |
BuildRequires: python3dist(mock)
|
|
|
c54b1b7 |
BuildRequires: python3dist(pillow)
|
|
|
8aee761 |
%endif
|
|
|
8aee761 |
|
|
|
8aee761 |
%description -n python3-%{modname} %{_description}
|
|
|
8aee761 |
|
|
|
8aee761 |
Python 3 version.
|
|
|
8aee761 |
|
|
|
8aee761 |
%prep
|
|
|
8aee761 |
%autosetup -n %{modname}-%{version}
|
|
|
8aee761 |
|
|
|
8aee761 |
%build
|
|
|
8aee761 |
%py3_build
|
|
|
8aee761 |
|
|
|
8aee761 |
%install
|
|
|
8aee761 |
%py3_install
|
|
|
8aee761 |
|
|
|
8aee761 |
%if %{with check}
|
|
|
8aee761 |
%check
|
|
|
8aee761 |
%{__python3} setup.py test
|
|
|
8aee761 |
%endif
|
|
|
8aee761 |
|
|
|
8aee761 |
%files -n python3-%{modname}
|
|
|
8aee761 |
%license LICENSE
|
|
|
8aee761 |
%doc README.rst
|
|
|
8aee761 |
%{python3_sitelib}/%{modname}-*.egg-info/
|
|
|
8aee761 |
%{python3_sitelib}/%{modname}/
|
|
|
8aee761 |
|
|
|
8aee761 |
%changelog
|
|
|
c09eded |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
|
|
|
c09eded |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c09eded |
|
|
|
c54b1b7 |
* Mon Dec 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-5
|
|
|
c54b1b7 |
- Drop python2 subpackage
|
|
|
c54b1b7 |
|
|
|
c1b4492 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
|
|
|
c1b4492 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c1b4492 |
|
|
|
cbaad2f |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-3
|
|
|
cbaad2f |
- Rebuilt for Python 3.7
|
|
|
cbaad2f |
|
|
|
8a9ea3c |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
|
|
8a9ea3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8a9ea3c |
|
|
|
89d4895 |
* Tue Sep 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-1
|
|
|
89d4895 |
- Update to 0.3.1
|
|
|
89d4895 |
|
|
|
4374412 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-4
|
|
|
4374412 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4374412 |
|
|
|
ae95631 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-3
|
|
|
ae95631 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ae95631 |
|
|
|
31886ef |
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3-2
|
|
|
31886ef |
- Rebuild for Python 3.6
|
|
|
31886ef |
|
|
|
8aee761 |
* Mon Dec 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-1
|
|
|
8aee761 |
- Initial package
|