summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 10:33:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 10:33:27 +0000
commitd1ac6849a44ed4e9c89c93676505c2c5a3b00a24 (patch)
tree937a8058861f4c485d6cf0663a721c3cecc9b856
parent37b7cadf8aeeca7ff451f527d7c1f5bbc8d6e91d (diff)
automatic import of python-types-dataclasses
-rw-r--r--.gitignore1
-rw-r--r--python-types-dataclasses.spec117
-rw-r--r--sources1
3 files changed, 119 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..38f71a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/types-dataclasses-0.6.6.tar.gz
diff --git a/python-types-dataclasses.spec b/python-types-dataclasses.spec
new file mode 100644
index 0000000..ba36844
--- /dev/null
+++ b/python-types-dataclasses.spec
@@ -0,0 +1,117 @@
+%global _empty_manifest_terminate_build 0
+Name: python-types-dataclasses
+Version: 0.6.6
+Release: 1
+Summary: Typing stubs for dataclasses
+License: Apache-2.0 license
+URL: https://github.com/python/typeshed
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/6a/dec8fbc818b1e716cb2d9424f1ea0f6f3b1443460eb6a70d00d9d8527360/types-dataclasses-0.6.6.tar.gz
+BuildArch: noarch
+
+
+%description
+## Typing stubs for dataclasses
+
+This is a PEP 561 type stub package for the `dataclasses` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
+that uses `dataclasses`. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/dataclasses. All fixes for
+types and metadata should be contributed there.
+
+*Note:* `types-dataclasses` is unmaintained and won't be updated.
+
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.
+This package was generated from typeshed commit `ec7ab6d4d6147adf01565d3b2bb2ae4d750f6b1e`.
+
+
+
+
+%package -n python3-types-dataclasses
+Summary: Typing stubs for dataclasses
+Provides: python-types-dataclasses
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-types-dataclasses
+## Typing stubs for dataclasses
+
+This is a PEP 561 type stub package for the `dataclasses` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
+that uses `dataclasses`. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/dataclasses. All fixes for
+types and metadata should be contributed there.
+
+*Note:* `types-dataclasses` is unmaintained and won't be updated.
+
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.
+This package was generated from typeshed commit `ec7ab6d4d6147adf01565d3b2bb2ae4d750f6b1e`.
+
+
+
+
+%package help
+Summary: Development documents and examples for types-dataclasses
+Provides: python3-types-dataclasses-doc
+%description help
+## Typing stubs for dataclasses
+
+This is a PEP 561 type stub package for the `dataclasses` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
+that uses `dataclasses`. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/dataclasses. All fixes for
+types and metadata should be contributed there.
+
+*Note:* `types-dataclasses` is unmaintained and won't be updated.
+
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.
+This package was generated from typeshed commit `ec7ab6d4d6147adf01565d3b2bb2ae4d750f6b1e`.
+
+
+
+
+%prep
+%autosetup -n types-dataclasses-0.6.6
+
+%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-dataclasses -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0dc37c4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f79e02223c060d621a611eafcc88892f types-dataclasses-0.6.6.tar.gz