From 20c478edd8bb0542e567dae23442a7db847739b4 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 15:27:32 +0000 Subject: [PATCH] import UBI python-justbytes-0.15.2-7.el10 --- .gitignore | 2 +- .python-justbytes.metadata | 1 - SPECS/python-justbytes.spec | 124 -------------------------- python-justbytes.spec | 167 ++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 169 insertions(+), 126 deletions(-) delete mode 100644 .python-justbytes.metadata delete mode 100644 SPECS/python-justbytes.spec create mode 100644 python-justbytes.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e96acb1..8473f9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/justbytes-0.14.tar.gz +justbytes-0.15.2.tar.gz diff --git a/.python-justbytes.metadata b/.python-justbytes.metadata deleted file mode 100644 index 3c434e3..0000000 --- a/.python-justbytes.metadata +++ /dev/null @@ -1 +0,0 @@ -b006578ffc3878f48320e4bd02af0aff193b3a3b SOURCES/justbytes-0.14.tar.gz diff --git a/SPECS/python-justbytes.spec b/SPECS/python-justbytes.spec deleted file mode 100644 index d6319c3..0000000 --- a/SPECS/python-justbytes.spec +++ /dev/null @@ -1,124 +0,0 @@ -%global srcname justbytes - -%if 0%{?rhel} > 7 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - -Name: python-%{srcname} -Version: 0.14 -Release: 2%{?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} - -%if %{with python2} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-pytest -BuildRequires: python2-hypothesis -BuildRequires: python2-justbases -BuildRequires: python2-six -Requires: python2-justbases -Requires: python2-six - -%description -n python2-%{srcname} %{_description} - -Python 2 version. -%endif # with python2 - -%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 -BuildRequires: python3-six -Requires: python3-justbases -Requires: python3-six - -%description -n python3-%{srcname} %{_description} - -Python 3 version. - -%prep -%autosetup -n %{srcname}-%{version} -rm -rf justbytes.egg-info - -%build -%if %{with python2} -%py2_build -%endif # with python2 -%py3_build - -%install -%if %{with python2} -%py2_install -%endif # with python2 -%py3_install - -%check -%if %{with python2} -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v tests -%endif # with python2 -PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests - -%if %{with python2} -%files -n python2-%{srcname} -%license LICENSE -%doc README.rst -%{python2_sitelib}/justbytes/ -%{python2_sitelib}/justbytes-%{version}-*.egg-info/ -%endif # with python2 - -%files -n python3-%{srcname} -%license LICENSE -%doc README.rst -%{python3_sitelib}/justbytes/ -%{python3_sitelib}/justbytes-%{version}-*.egg-info/ - -%changelog -* Wed May 06 2020 Dennis Keefe - 0.14-2 -- Update to 0.14 -- Resolves: rhbz#1824225 - -* Fri Jun 08 2018 Charalampos Stratakis - 0.11-2 -- Conditionalize the python2 subpackage - -* 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/python-justbytes.spec b/python-justbytes.spec new file mode 100644 index 0000000..e3997f3 --- /dev/null +++ b/python-justbytes.spec @@ -0,0 +1,167 @@ +%global srcname justbytes + +Name: python-%{srcname} +Version: 0.15.2 +Release: 7%{?dist} +Summary: Library for handling computation with address ranges in bytes + +License: LGPL-2.1-or-later +URL: http://pypi.python.org/pypi/justbytes +Source0: https://pypi.io/packages/source/j/%{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 + +%description -n python3-%{srcname} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{srcname}-%{version} +rm -rf justbytes.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/justbytes/ +%{python3_sitelib}/justbytes-%{version}-*.egg-info/ + +%changelog +* Tue Oct 29 2024 Troy Dawson - 0.15.2-7 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Mon Jun 24 2024 Troy Dawson - 0.15.2-6 +- Bump release for June 2024 mass rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.15.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.15.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.15.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.15.2-2 +- Rebuilt for Python 3.12 + +* Mon May 15 2023 mulhern - 0.15.2-1 +- Update to 0.15.2 + +* Mon May 15 2023 mulhern - 0.15.1-2 +- Add .fmf/version file + +* Mon May 15 2023 mulhern - 0.15.1-1 +- Update to 0.15.1; use SPDX license + +* Fri Jan 20 2023 Fedora Release Engineering - 0.15-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.15-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.15-9 +- Rebuilt for Python 3.11 + +* Sun Feb 27 2022 mulhern - 0.15-8 +- Add gating tests + +* Tue Feb 15 2022 mulhern - 0.15-7 +- Drop redundant requires + +* Fri Jan 21 2022 Fedora Release Engineering - 0.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.15-4 +- Rebuilt for Python 3.10 + +* Mon Mar 22 2021 mulhern - 0.15-3 +- Use the correct tarball + +* Wed Jan 27 2021 Fedora Release Engineering - 0.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 17 2020 mulhern - 0.15-1 +- Update to 0.15 + +* 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..91825c0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (justbytes-0.15.2.tar.gz) = bf480bddb5d8267b6917b6d6c056a59691d875b8537fa16a2e17257fdb83e72977bcd7184aea08347535ee9dcafb4baa7d417cb4cbc850420c5affc40f742006