%global _empty_manifest_terminate_build 0 Name: python-unimport Version: 0.16.0 Release: 1 Summary: The ultimate linter and formatter for removing unused import statements in your code. License: MIT URL: https://unimport.hakancelik.dev/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bf/8e/0ebeeb6a347063b75e94f0dd0aaa8eb933a74503f94cb94ca28d57e0c360/unimport-0.16.0.tar.gz BuildArch: noarch Requires: python3-toml Requires: python3-dataclasses Requires: python3-typing-extensions Requires: python3-libcst Requires: python3-pathspec Requires: python3-pathspec Requires: python3-libcst Requires: python3-mkdocs Requires: python3-mkdocs-material Requires: python3-mkdocs-markdownextradata-plugin Requires: python3-mkdocs-minify-plugin Requires: python3-mkdocs-git-revision-date-localized-plugin Requires: python3-mike Requires: python3-pytest-cov Requires: python3-semantic-version Requires: python3-pytest Requires: python3-pytest %description ![unimport](https://raw.githubusercontent.com/hakancelikdev/unimport/main/docs/assets/logo/unimport.png) **🚀 The ultimate linter and formatter for removing unused import statements in your code.** Looking for a way to eliminate those pesky unused import statements in your code? Look no further than Unimport! This powerful tool serves as both a linter and formatter, making it easy to detect and remove any imports that are no longer needed. Say goodbye to cluttered, inefficient code and hello to a cleaner, more streamlined development process with Unimport. [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/hakancelikdev/unimport/main.svg)](https://results.pre-commit.ci/latest/github/hakancelikdev/unimport/main) ![test](https://github.com/hakancelikdev/unimport/workflows/Test/badge.svg) [![Pypi](https://img.shields.io/pypi/v/unimport)](https://pypi.org/project/unimport/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/unimport) [![Downloads](https://static.pepy.tech/personalized-badge/unimport?period=total&units=international_system&left_color=grey&right_color=red&left_text=downloads)](https://pepy.tech/project/unimport) [![License](https://img.shields.io/github/license/hakancelikdev/unimport.svg)](https://github.com/hakancelikdev/unimport/blob/main/LICENSE) [![Forks](https://img.shields.io/github/forks/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/fork) [![Issues](https://img.shields.io/github/issues/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/issues) [![Stars](https://img.shields.io/github/stars/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/stargazers) [![Codecov](https://codecov.io/gh/hakancelikdev/unimport/branch/main/graph/badge.svg)](https://codecov.io/gh/hakancelikdev/unimport) [![Contributors](https://img.shields.io/github/contributors/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/graphs/contributors) [![Last Commit](https://img.shields.io/github/last-commit/hakancelikdev/unimport.svg)](https://github.com/hakancelikdev/unimport/commits/main) For more information see: https://unimport.hakancelik.dev/ Try it out now using the Unimport Playground, https://playground-unimport.hakancelik.dev/ %package -n python3-unimport Summary: The ultimate linter and formatter for removing unused import statements in your code. Provides: python-unimport BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-unimport ![unimport](https://raw.githubusercontent.com/hakancelikdev/unimport/main/docs/assets/logo/unimport.png) **🚀 The ultimate linter and formatter for removing unused import statements in your code.** Looking for a way to eliminate those pesky unused import statements in your code? Look no further than Unimport! This powerful tool serves as both a linter and formatter, making it easy to detect and remove any imports that are no longer needed. Say goodbye to cluttered, inefficient code and hello to a cleaner, more streamlined development process with Unimport. [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/hakancelikdev/unimport/main.svg)](https://results.pre-commit.ci/latest/github/hakancelikdev/unimport/main) ![test](https://github.com/hakancelikdev/unimport/workflows/Test/badge.svg) [![Pypi](https://img.shields.io/pypi/v/unimport)](https://pypi.org/project/unimport/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/unimport) [![Downloads](https://static.pepy.tech/personalized-badge/unimport?period=total&units=international_system&left_color=grey&right_color=red&left_text=downloads)](https://pepy.tech/project/unimport) [![License](https://img.shields.io/github/license/hakancelikdev/unimport.svg)](https://github.com/hakancelikdev/unimport/blob/main/LICENSE) [![Forks](https://img.shields.io/github/forks/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/fork) [![Issues](https://img.shields.io/github/issues/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/issues) [![Stars](https://img.shields.io/github/stars/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/stargazers) [![Codecov](https://codecov.io/gh/hakancelikdev/unimport/branch/main/graph/badge.svg)](https://codecov.io/gh/hakancelikdev/unimport) [![Contributors](https://img.shields.io/github/contributors/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/graphs/contributors) [![Last Commit](https://img.shields.io/github/last-commit/hakancelikdev/unimport.svg)](https://github.com/hakancelikdev/unimport/commits/main) For more information see: https://unimport.hakancelik.dev/ Try it out now using the Unimport Playground, https://playground-unimport.hakancelik.dev/ %package help Summary: Development documents and examples for unimport Provides: python3-unimport-doc %description help ![unimport](https://raw.githubusercontent.com/hakancelikdev/unimport/main/docs/assets/logo/unimport.png) **🚀 The ultimate linter and formatter for removing unused import statements in your code.** Looking for a way to eliminate those pesky unused import statements in your code? Look no further than Unimport! This powerful tool serves as both a linter and formatter, making it easy to detect and remove any imports that are no longer needed. Say goodbye to cluttered, inefficient code and hello to a cleaner, more streamlined development process with Unimport. [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/hakancelikdev/unimport/main.svg)](https://results.pre-commit.ci/latest/github/hakancelikdev/unimport/main) ![test](https://github.com/hakancelikdev/unimport/workflows/Test/badge.svg) [![Pypi](https://img.shields.io/pypi/v/unimport)](https://pypi.org/project/unimport/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/unimport) [![Downloads](https://static.pepy.tech/personalized-badge/unimport?period=total&units=international_system&left_color=grey&right_color=red&left_text=downloads)](https://pepy.tech/project/unimport) [![License](https://img.shields.io/github/license/hakancelikdev/unimport.svg)](https://github.com/hakancelikdev/unimport/blob/main/LICENSE) [![Forks](https://img.shields.io/github/forks/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/fork) [![Issues](https://img.shields.io/github/issues/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/issues) [![Stars](https://img.shields.io/github/stars/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/stargazers) [![Codecov](https://codecov.io/gh/hakancelikdev/unimport/branch/main/graph/badge.svg)](https://codecov.io/gh/hakancelikdev/unimport) [![Contributors](https://img.shields.io/github/contributors/hakancelikdev/unimport)](https://github.com/hakancelikdev/unimport/graphs/contributors) [![Last Commit](https://img.shields.io/github/last-commit/hakancelikdev/unimport.svg)](https://github.com/hakancelikdev/unimport/commits/main) For more information see: https://unimport.hakancelik.dev/ Try it out now using the Unimport Playground, https://playground-unimport.hakancelik.dev/ %prep %autosetup -n unimport-0.16.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-unimport -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed May 10 2023 Python_Bot - 0.16.0-1 - Package Spec generated