diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 16:29:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 16:29:54 +0000 |
commit | 9f45fefd00931fde20470d5d2aad2f52390c083f (patch) | |
tree | 46247c5eeda5a96312ef0f895b1e454c1028f8ae | |
parent | 7e3dae6da15654eb879cca6316dffa699bb99edb (diff) |
automatic import of python-types-werkzeug
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-types-werkzeug.spec | 123 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 125 insertions, 0 deletions
@@ -0,0 +1 @@ +/types-Werkzeug-1.0.9.tar.gz diff --git a/python-types-werkzeug.spec b/python-types-werkzeug.spec new file mode 100644 index 0000000..23af87f --- /dev/null +++ b/python-types-werkzeug.spec @@ -0,0 +1,123 @@ +%global _empty_manifest_terminate_build 0 +Name: python-types-Werkzeug +Version: 1.0.9 +Release: 1 +Summary: Typing stubs for Werkzeug +License: Apache-2.0 license +URL: https://github.com/python/typeshed +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/eb/43/161261d2ac1fc20e944aa108e48a98ff0d994e19b498d6fb19d6637caf05/types-Werkzeug-1.0.9.tar.gz +BuildArch: noarch + + +%description +## Typing stubs for Werkzeug + +This is a PEP 561 type stub package for the `Werkzeug` package. +It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code +that uses `Werkzeug`. The source for this package can be found at +https://github.com/python/typeshed/tree/master/stubs/Werkzeug. All fixes for +types and metadata should be contributed there. + +*Note:* The `Werkzeug` package includes type annotations or type stubs +since version 2.0. Please uninstall the `types-Werkzeug` +package if you use this or a newer version. + + +See https://github.com/python/typeshed/blob/master/README.md for more details. +This package was generated from typeshed commit `a5bc1e037fa9fb541d81de92ad27fa8543c65be4`. + + + + +%package -n python3-types-Werkzeug +Summary: Typing stubs for Werkzeug +Provides: python-types-Werkzeug +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-types-Werkzeug +## Typing stubs for Werkzeug + +This is a PEP 561 type stub package for the `Werkzeug` package. +It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code +that uses `Werkzeug`. The source for this package can be found at +https://github.com/python/typeshed/tree/master/stubs/Werkzeug. All fixes for +types and metadata should be contributed there. + +*Note:* The `Werkzeug` package includes type annotations or type stubs +since version 2.0. Please uninstall the `types-Werkzeug` +package if you use this or a newer version. + + +See https://github.com/python/typeshed/blob/master/README.md for more details. +This package was generated from typeshed commit `a5bc1e037fa9fb541d81de92ad27fa8543c65be4`. + + + + +%package help +Summary: Development documents and examples for types-Werkzeug +Provides: python3-types-Werkzeug-doc +%description help +## Typing stubs for Werkzeug + +This is a PEP 561 type stub package for the `Werkzeug` package. +It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code +that uses `Werkzeug`. The source for this package can be found at +https://github.com/python/typeshed/tree/master/stubs/Werkzeug. All fixes for +types and metadata should be contributed there. + +*Note:* The `Werkzeug` package includes type annotations or type stubs +since version 2.0. Please uninstall the `types-Werkzeug` +package if you use this or a newer version. + + +See https://github.com/python/typeshed/blob/master/README.md for more details. +This package was generated from typeshed commit `a5bc1e037fa9fb541d81de92ad27fa8543c65be4`. + + + + +%prep +%autosetup -n types-Werkzeug-1.0.9 + +%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-Werkzeug -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.9-1 +- Package Spec generated @@ -0,0 +1 @@ +bd38fd68c25eff25d16818a88b2e708a types-Werkzeug-1.0.9.tar.gz |