mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user