summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 16:05:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 16:05:26 +0000
commitf31acafaae65450b8097a0f919f4c140ca498851 (patch)
treea9c1f4f7519bdf6734230c7f403c66346345a809
parent43dd817c89f99df10d15134a91b06a1c081e6900 (diff)
automatic import of python-flake8-tidy-imports
-rw-r--r--.gitignore1
-rw-r--r--python-flake8-tidy-imports.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e1e8b75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flake8-tidy-imports-4.8.0.tar.gz
diff --git a/python-flake8-tidy-imports.spec b/python-flake8-tidy-imports.spec
new file mode 100644
index 0000000..d57d6c5
--- /dev/null
+++ b/python-flake8-tidy-imports.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-flake8-tidy-imports
+Version: 4.8.0
+Release: 1
+Summary: A flake8 plugin that helps you write tidier imports.
+License: MIT
+URL: https://github.com/adamchainz/flake8-tidy-imports
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fb/87/56dd0d6a21cef400145894bc15f688b1893f152590a5f395d4971af637d2/flake8-tidy-imports-4.8.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-flake8
+Requires: python3-importlib-metadata
+
+%description
+
+
+%package -n python3-flake8-tidy-imports
+Summary: A flake8 plugin that helps you write tidier imports.
+Provides: python-flake8-tidy-imports
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-flake8-tidy-imports
+
+
+%package help
+Summary: Development documents and examples for flake8-tidy-imports
+Provides: python3-flake8-tidy-imports-doc
+%description help
+
+
+%prep
+%autosetup -n flake8-tidy-imports-4.8.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-flake8-tidy-imports -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 4.8.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fed65b5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+412631d917467477e42ebd528c6927d6 flake8-tidy-imports-4.8.0.tar.gz