From 839453200ea7b7616e420146b70e34fea07255a3 Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 15:26:31 +0300 Subject: [PATCH] import python-traitlets-5.14.3-1.el10 --- .gitignore | 1 + .python-traitlets.metadata | 1 + SPECS/python-traitlets.spec | 241 ++++++++++++++++++++++++++++++++++++ 3 files changed, 243 insertions(+) create mode 100644 .gitignore create mode 100644 .python-traitlets.metadata create mode 100644 SPECS/python-traitlets.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48c8188 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/traitlets-5.14.3.tar.gz diff --git a/.python-traitlets.metadata b/.python-traitlets.metadata new file mode 100644 index 0000000..0e7cb0e --- /dev/null +++ b/.python-traitlets.metadata @@ -0,0 +1 @@ +7b7b6651d7f2bd41714f8d7828c96f4b41f36fc4 SOURCES/traitlets-5.14.3.tar.gz diff --git a/SPECS/python-traitlets.spec b/SPECS/python-traitlets.spec new file mode 100644 index 0000000..be099c7 --- /dev/null +++ b/SPECS/python-traitlets.spec @@ -0,0 +1,241 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global srcname traitlets + +Name: python-%{srcname} +Version: 5.14.3 +Release: %autorelease +Summary: A lightweight derivative of Enthought Traits for configuring Python objects + +License: BSD-3-Clause +URL: https://github.com/ipython/traitlets +Source0: https://github.com/ipython/traitlets/archive/v%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch + +%description +A lightweight pure-Python derivative of Enthought Traits, used for +configuring Python objects. + +This package powers the config system of IPython and Jupyter. + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: A lightweight derivative of Enthought Traits for configuring Python objects +BuildRequires: python%{python3_pkgversion}-devel +# For tests +BuildRequires: python%{python3_pkgversion}-pytest + +%description -n python%{python3_pkgversion}-%{srcname} +A lightweight pure-Python derivative of Enthought Traits, used for +configuring Python objects. + +This package powers the config system of IPython and Jupyter. + + +%prep +%autosetup -p1 -n %{srcname}-%{version} + +# Remove tests of type annotations +rm tests/test_typing.py + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install + +%pyproject_save_files traitlets + + +%check +%pytest -v + + +%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} +%doc CHANGELOG.md README.md +%license LICENSE + + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 5.14.3-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Apr 28 2024 Orion Poplawski - 5.14.3-1 +- Update to 5.14.3 + +* Mon Feb 26 2024 Lumir Balhar - 5.14.1-1 +- Update to 5.14.1 (rhbz#2126139) + +* Fri Jan 26 2024 Fedora Release Engineering - 5.11.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 5.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Oct 05 2023 Orion Poplawski - 5.11.2-1 +- Update to 5.11.2 + +* Fri Jul 21 2023 Fedora Release Engineering - 5.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 5.9.0-2 +- Rebuilt for Python 3.12 + +* Wed Feb 01 2023 Orion Poplawski - 5.9.0-1 +- Update to 5.9.0 + +* Fri Jan 20 2023 Orion Poplawski - 5.8.1-1 +- Update to 5.8.1 + +* Sat Dec 10 2022 Orion Poplawski - 5.7.0-1 +- Update to 5.7.0 +- Use SPDX License + +* Sun Dec 04 2022 Orion Poplawski - 5.6.0-1 +- Update to 5.6.0 + +* Fri Sep 23 2022 Orion Poplawski - 5.4.0-1 +- Update to 5.4.0 + +* Mon Aug 22 2022 Lumír Balhar - 5.3.0-1 +- Update to 5.3.0 +Resolves: rhbz#2092219 + +* Fri Jul 22 2022 Fedora Release Engineering - 5.2.1.post0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 5.2.1.post0-2 +- Rebuilt for Python 3.11 + +* Mon May 16 2022 Miro Hrončok - 5.2.1.post0-1 +- Update to 5.2.1.post0 + +* Thu May 12 2022 Orion Poplawski - 5.2.0-1 +- Update to 5.2.0 + +* Sat Jan 29 2022 Orion Poplawski - 5.1.1-3 +- Drop requires on python-ipython_genutils, removed in 5.1.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 5.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Oct 27 2021 Orion Poplawski - 5.1.1-1 +- Update to 5.1.1 + +* Wed Sep 15 2021 Orion Poplawski - 5.1.0-1 +- Update to 5.1.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 5.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 5.0.5-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 5.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 2021 Charalampos Stratakis - 5.0.5-2 +- Drop dependency on python-nose + +* Fri Oct 16 2020 Orion Poplawski - 5.0.5-1 +- Update to 5.0.5 + +* Mon Sep 07 2020 Orion Poplawski - 5.0.4-1 +- Update to 5.0.4 + +* Sun Sep 06 2020 Orion Poplawski - 5.0.3-1 +- Update to 5.0.3 + +* Thu Sep 3 2020 Orion Poplawski - 5.0.2-1 +- Update to 5.0.2 + +* Wed Jul 29 2020 Fedora Release Engineering - 4.3.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 4.3.3-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 4.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Oct 5 2019 Orion Poplawski - 4.3.3-1 +- Update to 4.3.3 + +* Wed Sep 11 2019 Orion Poplawski - 4.3.2-12 +- Fix SyntaxWarnings with python 3.8 (bugz#1750843) + +* Sun Aug 18 2019 Miro Hrončok - 4.3.2-11 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 4.3.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 17 2019 Orion Poplawski - 4.3.2-9 +- Drop python2 (Bugz #1677957) + +* Sat Feb 02 2019 Fedora Release Engineering - 4.3.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 4.3.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 4.3.2-6 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Iryna Shcherbina - 4.3.2-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 4.3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 4.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 24 2017 Orion Poplawski - 4.3.2-2 +- Really build for python3 + +* Fri Feb 24 2017 Orion Poplawski - 4.3.2-1 +- Update to 4.3.2 +- Build for python3 on EPEL + +* Sat Feb 11 2017 Fedora Release Engineering - 4.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 4.3.1-3 +- Rebuild for Python 3.6 + +* Thu Oct 13 2016 Orion Poplawski - 4.3.1-2 +- Properly ship python2-traitlets + +* Thu Oct 13 2016 Orion Poplawski - 4.3.1-1 +- Update to 4.3.1 +- Modernize spec + +* Tue Jul 19 2016 Fedora Release Engineering - 4.0.0-4 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 4.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 4.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Fri Jul 10 2015 Orion Poplawski - 4.0.0-1 +- Initial package + +## END: Generated by rpmautospec