4b12305
%{?python_enable_dependency_generator}
352c045
%global srcname justbases
352c045
Name:       python-%{srcname}
204d746
Version:    0.15
6bc85d5
Release:    3%{?dist}
352c045
Summary:    A small library for precise conversion between arbitrary bases
352c045
a8ace55
License:    LGPLv2+
352c045
URL:        http://pypi.python.org/pypi/justbases
6cf142a
Source0:    https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
352c045
352c045
BuildArch:  noarch
352c045
352c045
%description
352c045
A small library for precise conversion between arbitrary bases and native
352c045
Python numbers.
352c045
352c045
%package -n python3-%{srcname}
352c045
Summary:    A small library for precise conversion between arbitrary bases
352c045
%{?python_provide:%python_provide python3-%{srcname}}
352c045
352c045
BuildRequires:  python3-devel
352c045
BuildRequires:  python3-setuptools
352c045
352c045
%description -n python3-%{srcname}
352c045
A small library for precise conversion between arbitrary bases and native
352c045
Python numbers.
352c045
352c045
%prep
352c045
%autosetup -n %{srcname}-%{version}
352c045
rm -rf justbases.egg-info
352c045
352c045
%build
352c045
%py3_build
352c045
352c045
%install
352c045
%py3_install
352c045
204d746
%check
204d746
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verbose tests/test_deterministic
204d746
352c045
%files -n python3-%{srcname}
dc7fed0
%license LICENSE
352c045
%doc README.rst
352c045
%{python3_sitelib}/justbases/
352c045
%{python3_sitelib}/justbases-%{version}-*.egg-info
352c045
352c045
%changelog
6bc85d5
* Mon Mar 22 2021 mulhern <amulhern@redhat.com> - 0.15-2
6bc85d5
- Use the correct tarball
6bc85d5
0f26c6e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-2
0f26c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0f26c6e
204d746
* Tue Dec 15 2020 mulhern <amulhern@redhat.com> - 0.15-1
204d746
- Update to 0.15
204d746
9d91160
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
9d91160
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9d91160
7a8b6ac
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14-2
7a8b6ac
- Rebuilt for Python 3.9
7a8b6ac
dc7fed0
* Thu Apr 23 2020 mulhern <amulhern@redhat.com> - 0.14-1
dc7fed0
- Update to new release
dc7fed0
0aee279
* Thu Apr 23 2020 mulhern <amulhern@redhat.com> - 0.13-2
dc7fed0
- Remove license macro; upstream is not currently packaging its license file
0aee279
a8ace55
* Thu Apr 23 2020 mulhern <amulhern@redhat.com> - 0.13-1
a8ace55
- Change license to LGPLv2+
a8ace55
d724cbe
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-14
d724cbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d724cbe
0272315
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-13
0272315
- Rebuilt for Python 3.8.0rc1 (#1748018)
0272315
c5ebc10
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-12
c5ebc10
- Rebuilt for Python 3.8
c5ebc10
33a2eaf
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-11
33a2eaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
33a2eaf
84ca2a0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-10
84ca2a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
84ca2a0
4b12305
* Wed Jan 02 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9-9
4b12305
- Enable python dependency generator
4b12305
4fab02d
* Wed Jan 02 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-8
4fab02d
- Subpackage python2-justbases has been removed
4fab02d
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
4fab02d
13c2f2a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-7
13c2f2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
13c2f2a
53a5a2b
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-6
53a5a2b
- Rebuilt for Python 3.7
53a5a2b
7b42c06
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
7b42c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7b42c06
a80809e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
a80809e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a80809e
e66eb4f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
e66eb4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e66eb4f
3745a6a
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9-2
3745a6a
- Rebuild for Python 3.6
3745a6a
6cf142a
* Tue Aug 2 2016 mulhern <amulhern@redhat.com> - 0.9
6cf142a
- New release
6cf142a
2611c23
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
2611c23
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2611c23
352c045
* Wed Mar 16 2016 mulhern <amulhern@redhat.com> - 0.6
352c045
- Initial release