%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 - 0.6.6-1 - Package Spec generated