summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 12:16:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 12:16:33 +0000
commitfb7c315b8b19d82b03e9c4abdd9173f14024216d (patch)
tree22d14aa0e4be563fa4aa5fab961b9446b013f032
parent9e07c7fcb4fbd7060fce9c0157eb564ec1bff5f3 (diff)
automatic import of python-types-redis
-rw-r--r--.gitignore1
-rw-r--r--python-types-redis.spec116
-rw-r--r--sources1
3 files changed, 118 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1f11132 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/types-redis-4.5.4.1.tar.gz
diff --git a/python-types-redis.spec b/python-types-redis.spec
new file mode 100644
index 0000000..c863ce7
--- /dev/null
+++ b/python-types-redis.spec
@@ -0,0 +1,116 @@
+%global _empty_manifest_terminate_build 0
+Name: python-types-redis
+Version: 4.5.4.1
+Release: 1
+Summary: Typing stubs for redis
+License: Apache-2.0 license
+URL: https://github.com/python/typeshed
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a1/92/ea644c8b0f5896dac62d4f8aff0ce23fab0270d34e2957497c0890a70569/types-redis-4.5.4.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-types-pyOpenSSL
+Requires: python3-cryptography
+
+%description
+## Typing stubs for redis
+
+This is a PEP 561 type stub package for the `redis` package. It
+can be used by type-checking tools like
+[mypy](https://github.com/python/mypy/),
+[pyright](https://github.com/microsoft/pyright),
+[pytype](https://github.com/google/pytype/),
+PyCharm, etc. to check code that uses
+`redis`. The source for this package can be found at
+https://github.com/python/typeshed/tree/main/stubs/redis. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/main/README.md for more details.
+This package was generated from typeshed commit `ff3b558fb3c74d49c957a2a400d32d7319ba9dca`.
+
+
+%package -n python3-types-redis
+Summary: Typing stubs for redis
+Provides: python-types-redis
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-types-redis
+## Typing stubs for redis
+
+This is a PEP 561 type stub package for the `redis` package. It
+can be used by type-checking tools like
+[mypy](https://github.com/python/mypy/),
+[pyright](https://github.com/microsoft/pyright),
+[pytype](https://github.com/google/pytype/),
+PyCharm, etc. to check code that uses
+`redis`. The source for this package can be found at
+https://github.com/python/typeshed/tree/main/stubs/redis. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/main/README.md for more details.
+This package was generated from typeshed commit `ff3b558fb3c74d49c957a2a400d32d7319ba9dca`.
+
+
+%package help
+Summary: Development documents and examples for types-redis
+Provides: python3-types-redis-doc
+%description help
+## Typing stubs for redis
+
+This is a PEP 561 type stub package for the `redis` package. It
+can be used by type-checking tools like
+[mypy](https://github.com/python/mypy/),
+[pyright](https://github.com/microsoft/pyright),
+[pytype](https://github.com/google/pytype/),
+PyCharm, etc. to check code that uses
+`redis`. The source for this package can be found at
+https://github.com/python/typeshed/tree/main/stubs/redis. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/main/README.md for more details.
+This package was generated from typeshed commit `ff3b558fb3c74d49c957a2a400d32d7319ba9dca`.
+
+
+%prep
+%autosetup -n types-redis-4.5.4.1
+
+%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-types-redis -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 4.5.4.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..182e170
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0997f3001ff2b9982946a07952f58e64 types-redis-4.5.4.1.tar.gz