mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
4087f79df8
* 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>
(cherry picked from commit b02f48f9c7)
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
* Revert specs for packages Python is too old for
---------
Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
# NOT made with pyp2rpm because it had no freaking clue what to do with this project
|
|
# Looking at the sources the real name should be sphinxcontrib-moderncmakedomain but it builds as sphinxcontrib_moderncmakedomain????
|
|
%global pypi_name sphinxcontrib_moderncmakedomain
|
|
%global real_name sphinxcontrib-moderncmakedomain
|
|
|
|
Name: python-%{real_name}
|
|
Version: 3.29.0
|
|
Release: 2%{?dist}
|
|
Summary: Sphinx domain for modern CMake
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/scikit-build/moderncmakedomain
|
|
Source0: %{pypi_source}
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3dist(hatchling)
|
|
BuildRequires: python3dist(nox)
|
|
BuildRequires: python3dist(pip)
|
|
BuildRequires: python3dist(pytest)
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3dist(sphinx)
|
|
BuildArch: noarch
|
|
Packager: Gilver E. <rockgrub@disroot.org>
|
|
|
|
%description
|
|
Modern CMake domain entries, originally from Kitware.
|
|
|
|
%package -n python3-%{real_name}
|
|
Summary: %{summary}
|
|
Requires: python3dist(hatchling)
|
|
Requires: python3dist(sphinx)
|
|
Obsoletes: python3-%{pypi_name} < 3.29.0-2
|
|
%{?python_provide:%python_provide python3-%{real_name}}
|
|
|
|
%description -n python3-%{real_name}
|
|
Modern CMake domain entries, originally from Kitware.
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%check
|
|
nox -s tests
|
|
|
|
%files -n python3-%{real_name}
|
|
%doc PKG-INFO
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/sphinxcontrib/moderncmakedomain
|
|
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info
|
|
|
|
%changelog
|
|
* Sat May 10 2025 Gilver E. <rockgrub@disroot.org> - 3.29.0-1
|
|
- Initial package.
|