diff --git a/python-ruff.spec b/python-ruff.spec new file mode 100644 index 0000000000000000000000000000000000000000..c80439cd8cfe6612a061b87393e60e3697eac0dd --- /dev/null +++ b/python-ruff.spec @@ -0,0 +1,48 @@ +%global srcname ruff + +Name: python-%{srcname} +Version: 0.0.275 +Release: 1 +Summary: Parse Python docstrings +License: MIT +URL: https://pypi.org/project/ruff +Source0: %{pypi_source %{srcname}} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-editables +BuildRequires: python3-hatch-vcs +BuildRequires: python3-hatchling +BuildRequires: python3dist(maturin) + +%global _description %{expand: +Ruff is an IOT Operating System on which developers can use JavaScript to develop IOT applications. } + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{srcname} +%defattr(-,root,root) +%license LICENSE.md +%{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/%{srcname}*.dist-info/ +%doc README.md CHANGELOG.md + +%changelog +* Mon Jun 26 2023 chaozhangm - 0.0.275-1 +- Initial package. diff --git a/ruff-0.0.275.tar.gz b/ruff-0.0.275.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a3d8f3ebbb736e8289ef738ed3bb03a794e68db9 Binary files /dev/null and b/ruff-0.0.275.tar.gz differ