chore: sync with Terra 39 (#877)

* chore: sync with Terra 39

* fix: update mock-configs path

* fix: use f38 specs for desktops

* chore: move more lomiri/unity specific packages (#880)

* Fix(ubuntu-sdk): update description & version (#878)

Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>

* fix: disable docs package (#887)

* sync more changes from f39

* add keyd fixes

---------

Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
Signed-off-by: lleyton <lleyton@fyralabs.com>
Co-authored-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
This commit is contained in:
lleyton
2024-01-13 17:40:35 -08:00
committed by GitHub
parent 21f54d01af
commit a16b7bce95
480 changed files with 5203 additions and 1360 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "python-mpv.spec"
}
}
+40
View File
@@ -0,0 +1,40 @@
%define debug_package %nil
Name: python3-mpv
Version: 1.0.5
Release: 1%{?dist}
Summary: Python interface to the awesome mpv media player
License: GPL-2.0+ OR LGPL-2.1+
URL: https://github.com/jaseg/python-mpv
Source0: https://github.com/jaseg/python-mpv/archive/refs/tags/v%version.tar.gz
Requires: mpv-devel
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
python-mpv is a ctypes-based python interface to the mpv media player.
It gives you more or less full control of all features of the player, just as the lua interface does.
%prep
%autosetup -n python-mpv-%version
cat<<EOL > setup.py
from setuptools import setup
setup()
EOL
%build
%py3_build
%install
%py3_install
%files
%doc README.rst
%license LICENSE.GPL LICENSE.LGPL
%ghost %python3_sitelib/__pycache__/mpv.cpython-*.pyc
%python3_sitelib/mpv-%version-py%python3_version.egg-info/
%python3_sitelib/mpv.py
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(gh_tag("jaseg/python-mpv"));
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "python3-protobuf.spec"
}
}
@@ -0,0 +1,49 @@
# Created by pyp2rpm-3.3.8
%global pypi_name protobuf
Name: python-%{pypi_name}
Version: 4.25.2
Release: 1%{?dist}
Summary: Protocol Buffers
License: BSD-3-Clause
URL: https://developers.google.com/protocol-buffers/
Source0: %{pypi_source}
BuildRequires: python3-devel gcc
BuildRequires: python3dist(setuptools)
%description
Protocol Buffers are Google's data interchange format
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Protocol Buffers are Google's data interchange format
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc README.md
%{python3_sitearch}/google
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}-nspkg.pth
%changelog
* Sun Feb 19 2023 windowsboy111 <wboy111@outlook.com> - 4.22.0-1
- Bump.
* Tue Jan 10 2023 windowsboy111 <wboy111@outlook.com> - 4.21.12-1
- Initial package.
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("protobuf"));
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "python3-ruff.spec"
}
}
+46
View File
@@ -0,0 +1,46 @@
%define debug_package %{nil}
Name: python3-ruff
Version: 0.1.13
Release: 1%{?dist}
Summary: An extremely fast Python linter, written in Rust
License: MIT
URL: https://beta.ruff.rs/
Source0: https://github.com/astral-sh/ruff/archive/refs/tags/v%{version}.tar.gz
BuildRequires: python3-installer python3-pip maturin cargo
Provides: python3.11dist(ruff) = %{version}
%description
Ruff aims to be orders of magnitude faster than alternative tools while
integrating more functionality behind a single, common interface.
%prep
%autosetup -n ruff-%{version}
%build
maturin build --release --strip --all-features # --locked
%install
pip3 install --root=%{buildroot} target/wheels/*.whl
rm -rf %{python3_sitelib}/ruff/__pycache__
%files
%doc README.md
%license LICENSE
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/METADATA
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/RECORD
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/WHEEL
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/INSTALLER
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/REQUESTED
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/direct_url.json
/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/license_files/LICENSE
/usr/lib64/python*/site-packages/ruff/__init__.py
/usr/lib64/python*/site-packages/ruff/__main__.py
/usr/lib64/python*/site-packages/ruff/__pycache__/*.cpython-*.opt-1.pyc
/usr/lib64/python*/site-packages/ruff/__pycache__/*.cpython-*.pyc
/usr/bin/ruff
%changelog
* Mon Jan 23 2023 windowsboy111 <wboy111@outlook.com> - 0.0.229
- Initial package.
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("ruff"));