mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-08 04:42:22 +00:00
chore: Update Python packages to the modern RPM Python build system (#4816)
* chore(shibuya): Update to modern Python macros, prep stuff for docs? Signed-off-by: Gilver <rockgrub@disroot.org> * chore(lomiri-ui-toolkit): Update to modern Python macros Signed-off-by: Gilver <rockgrub@disroot.org> * chore(spinxcontrib-moderncmakedomain): Follow guidelines for "canonical" name Signed-off-by: Gilver <rockgrub@disroot.org> * Oops Signed-off-by: Gilver <rockgrub@disroot.org> * fix(lomiri-ui-toolkit) More modern Python changes * Aaaa * chore(pillow-heif): Update to modern Python build systems * chore(protobuf): Update to modern Python build systems * refactor(sphinx-moderncmakedomain): Run tests with Nox instead * fix(shibuya): Oops Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 6.30.2
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Protocol Buffers
|
||||
|
||||
License: BSD-3-Clause
|
||||
@@ -11,6 +11,7 @@ URL: https://developers.google.com/protocol-buffers/
|
||||
Source0: %{pypi_source}
|
||||
|
||||
BuildRequires: python3-devel gcc
|
||||
BuildRequires: python3dist(pip)
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
||||
%description
|
||||
@@ -30,15 +31,15 @@ Protocol Buffers are Google's data interchange format
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.md
|
||||
%{python3_sitearch}/google
|
||||
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||
%{python3_sitearch}/google/
|
||||
%{python3_sitearch}/protobuf-%{version}.dist-info/
|
||||
|
||||
%changelog
|
||||
* Sun Feb 19 2023 windowsboy111 <wboy111@outlook.com> - 4.22.0-1
|
||||
|
||||
Reference in New Issue
Block a user