diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:45:44 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:45:44 +0000 |
| commit | d9ceeb717cd8caa36e60454f985c203e2e3c5f8f (patch) | |
| tree | 6388a19572c3678b28609d888f31bf83e996abc6 | |
| parent | 98a99e2ba33e22cdb03baff34c6104b51f10ee42 (diff) | |
automatic import of python-unimportopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-unimport.spec | 182 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 184 insertions, 0 deletions
@@ -0,0 +1 @@ +/unimport-0.16.0.tar.gz diff --git a/python-unimport.spec b/python-unimport.spec new file mode 100644 index 0000000..b02ff3d --- /dev/null +++ b/python-unimport.spec @@ -0,0 +1,182 @@ +%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 + + +**🚀 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. + +[](https://results.pre-commit.ci/latest/github/hakancelikdev/unimport/main) + + +[](https://pypi.org/project/unimport/) + +[](https://pepy.tech/project/unimport) +[](https://github.com/hakancelikdev/unimport/blob/main/LICENSE) + +[](https://github.com/hakancelikdev/unimport/fork) +[](https://github.com/hakancelikdev/unimport/issues) +[](https://github.com/hakancelikdev/unimport/stargazers) + +[](https://codecov.io/gh/hakancelikdev/unimport) +[](https://github.com/hakancelikdev/unimport/graphs/contributors) +[](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 + + +**🚀 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. + +[](https://results.pre-commit.ci/latest/github/hakancelikdev/unimport/main) + + +[](https://pypi.org/project/unimport/) + +[](https://pepy.tech/project/unimport) +[](https://github.com/hakancelikdev/unimport/blob/main/LICENSE) + +[](https://github.com/hakancelikdev/unimport/fork) +[](https://github.com/hakancelikdev/unimport/issues) +[](https://github.com/hakancelikdev/unimport/stargazers) + +[](https://codecov.io/gh/hakancelikdev/unimport) +[](https://github.com/hakancelikdev/unimport/graphs/contributors) +[](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 + + +**🚀 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. + +[](https://results.pre-commit.ci/latest/github/hakancelikdev/unimport/main) + + +[](https://pypi.org/project/unimport/) + +[](https://pepy.tech/project/unimport) +[](https://github.com/hakancelikdev/unimport/blob/main/LICENSE) + +[](https://github.com/hakancelikdev/unimport/fork) +[](https://github.com/hakancelikdev/unimport/issues) +[](https://github.com/hakancelikdev/unimport/stargazers) + +[](https://codecov.io/gh/hakancelikdev/unimport) +[](https://github.com/hakancelikdev/unimport/graphs/contributors) +[](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 <Python_Bot@openeuler.org> - 0.16.0-1 +- Package Spec generated @@ -0,0 +1 @@ +37f5ad62f2f1fd6106c809496299fac8 unimport-0.16.0.tar.gz |
