Files
packages/anda/python/ruff/python3-ruff.spec
T
madomado 9bbe91be03 fix(lint): * (#577)
* fix(lint): prismlauncher* fluent-icon-theme

* fix(lint): fix lints for 6 packages (#578)

* fix(lint): fix rpmlint lints for youki package

* fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon

* fix(lint): fix rpmlint lints for wingpanel package

* fix(lint): fix rpmlint lints for wingpanel-indicator-sound package

* fix(lint): fix rpmlint lints for wingpanel-indicator-session package

* fix(lint): fix rpmlint lints for wingpanel-indicator-power package

* fix(lint): *

* fix random typos

* feat: revert anda/desktops

* fix: armcord-bin authy blahaj

* fix: ...

anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim

* fix: ...

qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home
kondo pop-launcher fuc graalvm vala-lint-nightly

* fix: armcord-bin authy blahaj groovy

* fix: ...

libappimage moby0buildx nim-nightly nim system76-scheduler subatomic

* fix blahaj

* fix: kondo

* fix: libappimage moby-buildx system76-scheduler nim-nightly

* fix: subatomic

* fix: subatomic

* fix: nim

* Update anki.spec

Signed-off-by: madomado <wboy111@outlook.com>

* fix: libappimage nim-nightly

* fix: moby-buildx subatomic

* fix: moby-buildx subatomic

---------

Signed-off-by: madomado <wboy111@outlook.com>
Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
2023-06-19 10:34:00 -03:00

45 lines
1.5 KiB
RPMSpec

%define debug_package %{nil}
Name: python3-ruff
Version: 0.0.272
Release: 1%{?dist}
Summary: An extremely fast Python linter, written in Rust
License: MIT
URL: https://github.com/charliermarsh/ruff
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: python3-installer python3.11 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 --locked --all-features
%install
python3.11 -m installer --destdir="%{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/__pycache__/__init__.cpython-*.pyc
/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__/__main__.cpython-*.opt-1.pyc
/usr/lib64/python*/site-packages/ruff/__pycache__/__main__.cpython-*.pyc
/usr/bin/ruff
%changelog
* Mon Jan 23 2023 windowsboy111 <wboy111@outlook.com> - 0.0.229
- Initial package.