diff --git a/python-traitlets.spec b/python-traitlets.spec index 2e9e980..ca2b3a9 100644 --- a/python-traitlets.spec +++ b/python-traitlets.spec @@ -1,12 +1,11 @@ Name: python-traitlets -Version: 5.3.0 +Version: 5.9.0 Release: 1 Summary: A lightweight Traits like module. License: BSD-3-Clause URL: https://github.com/ipython/traitlets -Source0: https://files.pythonhosted.org/packages/b2/ed/3c842dbe5a8f0f1ebf3f5b74fc1a46601ed2dfe0a2d256c8488d387b14dd/traitlets-5.3.0.tar.gz -Patch0: 0001-add-setup.py.patch +Source0: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz BuildArch: noarch %description @@ -19,6 +18,7 @@ Summary: A lightweight Traits like module. BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-ipython_genutils python%{python3_pkgversion}-six +BuildRequires: python3-pip python3-hatchling Requires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-ipython_genutils python%{python3_pkgversion}-six %python_provide python%{python3_pkgversion}-traitlets @@ -28,26 +28,24 @@ and ‘on change’ callbacks. %prep %autosetup -n traitlets-%{version} -p1 -%patch0 %build -%py3_build - +%pyproject_build %install -%py3_install - +%pyproject_install traitlets==%{version} %check py.test-%{python3_version} -v traitlets/tests/ - %files -n python%{python3_pkgversion}-traitlets %doc README.md COPYING.md %{python3_sitelib}/* - %changelog +* Tue Apr 25 2023 yaoxin - 5.9.0-1 +- Update to 5.9.0 + * Thu Aug 04 2022 liqiuyu - 5.3.0-1 - Update to 5.3.0 diff --git a/traitlets-5.3.0.tar.gz b/traitlets-5.3.0.tar.gz deleted file mode 100644 index f8c0496..0000000 Binary files a/traitlets-5.3.0.tar.gz and /dev/null differ diff --git a/traitlets-5.9.0.tar.gz b/traitlets-5.9.0.tar.gz new file mode 100644 index 0000000..3e5990d Binary files /dev/null and b/traitlets-5.9.0.tar.gz differ