From 61c0ce4b04893f4ed0cd120c302e7c41caceca98 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Feb 14 2022 10:42:07 +0000 Subject: Update python-smmap to 5.0.0 Related-to: https://review.rdoproject.org/r/q/I9a606043051c3d5683a1f6050d135df355a3ad92 --- diff --git a/.python-smmap.metadata b/.python-smmap.metadata new file mode 100644 index 0000000..8dbc4f8 --- /dev/null +++ b/.python-smmap.metadata @@ -0,0 +1 @@ +f030b48f7f0b32f03f3fab43f416199fb72ec943 SOURCES/smmap-5.0.0.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-smmap.spec b/SPECS/python-smmap.spec new file mode 100644 index 0000000..1113883 --- /dev/null +++ b/SPECS/python-smmap.spec @@ -0,0 +1,165 @@ +%global srcname smmap + +Name: python-%{srcname} +Version: 5.0.0 +Release: 1%{?dist} +Summary: Sliding window memory map manager + +License: BSD +URL: https://github.com/gitpython-developers/smmap +Source0: %pypi_source + +BuildArch: noarch + +%global _description %{expand: +Smmap wraps an interface around mmap and tracks the mapped files as well as +the amount of clients who use it. If the system runs out of resources, +or if a memory limit is reached, it will automatically unload unused maps +to allow continued operation.} + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-wheel +BuildRequires: %{py3_dist pytest} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{srcname} + +%check +%pytest + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.md + +%changelog +* Wed Feb 09 2022 Carl George - 5.0.0-1 +- Latest upstream rhbz#1806275 +- Convert to pyproject macros + +* Wed Feb 09 2022 Troy Dawson - 3.0.1-8 +- Switch from python3-nose to python3-pytest for testing + +* Fri Jan 21 2022 Fedora Release Engineering - 3.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 3.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 3.0.1-5 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 23 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + +* Mon Feb 24 2020 Lubomír Sedlář - 3.0.1-1 +- New upstream release 3.0.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 2.0.3-9 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Fri Aug 16 2019 Miro Hrončok - 2.0.3-8 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 03 2019 Miro Hrončok - 2.0.3-6 +- Subpackage python2-smmap has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 17 2018 Miro Hrončok - 2.0.3-3 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Aug 08 2017 Igor Gnatenko - 2.0.3-1 +- Update to 2.0.3 + +* Thu Jul 27 2017 Fedora Release Engineering - 2.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Dec 28 2016 Igor Gnatenko - 2.0.1-1 +- Update to 2.0.1 +- Modernize spec + +* Mon Dec 19 2016 Miro Hrončok - 0.9.0-7 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.9.0-6 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Apr 28 2016 Yaakov Selkowitz - 0.9.0-5 +- Remove non-portable test (#1285641) + +* Thu Feb 04 2016 Fedora Release Engineering - 0.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed May 27 2015 Dennis Gilmore - 0.9.0-1 +- update to 0.9.0 +- enable python3 support + +* Sat Jun 07 2014 Fedora Release Engineering - 0.8.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.8.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.8.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.8.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Sep 24 2011 Jesse Keating - 0.8.1-3 +- Don't package tests + +* Sat Sep 24 2011 Jesse Keating - 0.8.1-2 +- Updated summary, use specific files section, add a check section + +* Sat Sep 24 2011 Jesse Keating - 0.8.1-1 +- First package attempt +