diff --git a/.gitignore b/.gitignore index e69de29..d41f622 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,6 @@ +/justbytes-0.6.tar.gz +/justbytes-0.7.tar.gz +/justbytes-0.10.tar.gz +/justbytes-0.11.tar.gz +/justbytes-0.12.tar.gz +/justbytes-0.14.tar.gz diff --git a/python-justbytes.spec b/python-justbytes.spec new file mode 100644 index 0000000..baec1aa --- /dev/null +++ b/python-justbytes.spec @@ -0,0 +1,113 @@ +%global srcname justbytes + +Name: python-%{srcname} +Version: 0.14 +Release: 3%{?dist} +Summary: Library for handling computation with address ranges in bytes + +License: LGPLv2+ +URL: http://pypi.python.org/pypi/justbytes +Source0: https://pypi.io/packages/source/%(n=%{srcname}; echo ${n:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +A library for handling computations with address ranges. The library also offers\ +a configurable way to extract the representation of a value. + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-hypothesis +BuildRequires: python3-justbases +Requires: python3-justbases + +%description -n python3-%{srcname} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{srcname}-%{version} +rm -rf justbytes.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/justbytes/ +%{python3_sitelib}/justbytes-%{version}-*.egg-info/ + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.14-2 +- Rebuilt for Python 3.9 + +* Thu Apr 23 2020 mulhern - 0.14-1 +- Update to new release + +* Thu Apr 23 2020 mulhern - 0.12-1 +- Change license to LGPLv2+ + +* Thu Jan 30 2020 Fedora Release Engineering - 0.11-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.11-9 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.11-8 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.11-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.11-5 +- Subpackage python2-justbytes has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Jul 14 2018 Fedora Release Engineering - 0.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.11-3 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.11-1 +- Update to 0.11 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.10-2 +- Rebuild for Python 3.6 + +* Wed Aug 10 2016 mulhern - 0.10 +- New release + +* Tue Jul 19 2016 Fedora Release Engineering - 0.7-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Mar 23 2016 mulhern - 0.6 +- Initial release diff --git a/sources b/sources new file mode 100644 index 0000000..1008656 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (justbytes-0.14.tar.gz) = e9fa700e835b76d08536f0991664e22d38fcb4ba5909e37b67fba31575a7531803a0dce9d201fb97a72376c084fa2891ed58b7de1b1dd96a0ec874eb01ee4f9b