import python-deprecated-1.2.15-1.el9

i9ce changed/i9ce/python-deprecated-1.2.15-1.el9
MSVSphere Packaging Team 2 months ago
parent bf122a6f18
commit 6dccd69763
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Deprecated-1.2.14.tar.gz SOURCES/deprecated-1.2.15.tar.gz

@ -1 +1 @@
6ec76bfd797dfd27365e61dbeefc6b6c0fa5a21b SOURCES/Deprecated-1.2.14.tar.gz d749cdd556a42cb7d16ed4401aeb4d10972e2925 SOURCES/deprecated-1.2.15.tar.gz

@ -1,47 +1,51 @@
%global srcname Deprecated Name: python-deprecated
%global pkgname deprecated Version: 1.2.15
Release: 1%{?dist}
Name: python-%{pkgname}
Version: 1.2.14
Release: 7%{?dist}
Summary: Python decorator to deprecate old python classes, functions or methods Summary: Python decorator to deprecate old python classes, functions or methods
License: MIT License: MIT
URL: https://github.com/tantale/%{pkgname} URL: https://github.com/laurent-laporte-pro/deprecated
Source0: %{pypi_source} Source: %{pypi_source deprecated}
BuildArch: noarch BuildArch: noarch
%description %global _description %{expand:
Python @deprecated decorator to deprecate old python classes, Python @deprecated decorator to deprecate old python classes,
functions or methods. functions or methods.}
%description %{_description}
%package -n python3-%{pkgname} %package -n python3-deprecated
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-pytest
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{pkgname} %description -n python3-deprecated %{_description}
Python @deprecated decorator to deprecate old python classes,
functions or methods.
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n deprecated-%{version}
rm -rf %{pkgname}.egg-info
%generate_buildrequires
%pyproject_buildrequires
%build %build
%py3_build %pyproject_wheel
%install %install
%py3_install %pyproject_install
%pyproject_save_files -l deprecated
%check
%pytest
%files -n python3-%{pkgname} %files -n python3-deprecated -f %{pyproject_files}
%license LICENSE.rst
%doc README.md %doc README.md
%{python3_sitelib}/%{pkgname}/
%{python3_sitelib}/%{srcname}-*.egg-info/
%changelog %changelog
* Sat Nov 23 2024 Carl George <carlwgeorge@fedoraproject.org> - 1.2.15-1
- Update to version 1.2.15
- Convert to pyproject macros
- Run test suite in %%check
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.14-7 * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

Loading…
Cancel
Save