diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 15:03:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 15:03:49 +0000 |
| commit | f364c11bf492506ee03b755221be289cb8804fc7 (patch) | |
| tree | bda657dd0f4f7ed14ceea38c0d3a1e5bf6bdc5ec | |
| parent | 5e9ff332f87f21412f31315233ba83b033e76622 (diff) | |
automatic import of python-types-atomicwrites
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-types-atomicwrites.spec | 111 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 113 insertions, 0 deletions
@@ -0,0 +1 @@ +/types-atomicwrites-1.4.5.1.tar.gz diff --git a/python-types-atomicwrites.spec b/python-types-atomicwrites.spec new file mode 100644 index 0000000..6ec166f --- /dev/null +++ b/python-types-atomicwrites.spec @@ -0,0 +1,111 @@ +%global _empty_manifest_terminate_build 0 +Name: python-types-atomicwrites +Version: 1.4.5.1 +Release: 1 +Summary: Typing stubs for atomicwrites +License: Apache-2.0 license +URL: https://github.com/python/typeshed +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/82/51da8f823b7d64c2b5ee5341a11a0cd02ad4278289b86b576d63e049c00b/types-atomicwrites-1.4.5.1.tar.gz +BuildArch: noarch + + +%description +## Typing stubs for atomicwrites + +This is a PEP 561 type stub package for the `atomicwrites` package. +It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code +that uses `atomicwrites`. The source for this package can be found at +https://github.com/python/typeshed/tree/master/stubs/atomicwrites. All fixes for +types and metadata should be contributed there. + +*Note:* `types-atomicwrites` 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 `03c38d91ae4ea2987f9853539534ce64959abf7a`. + + +%package -n python3-types-atomicwrites +Summary: Typing stubs for atomicwrites +Provides: python-types-atomicwrites +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-types-atomicwrites +## Typing stubs for atomicwrites + +This is a PEP 561 type stub package for the `atomicwrites` package. +It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code +that uses `atomicwrites`. The source for this package can be found at +https://github.com/python/typeshed/tree/master/stubs/atomicwrites. All fixes for +types and metadata should be contributed there. + +*Note:* `types-atomicwrites` 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 `03c38d91ae4ea2987f9853539534ce64959abf7a`. + + +%package help +Summary: Development documents and examples for types-atomicwrites +Provides: python3-types-atomicwrites-doc +%description help +## Typing stubs for atomicwrites + +This is a PEP 561 type stub package for the `atomicwrites` package. +It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code +that uses `atomicwrites`. The source for this package can be found at +https://github.com/python/typeshed/tree/master/stubs/atomicwrites. All fixes for +types and metadata should be contributed there. + +*Note:* `types-atomicwrites` 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 `03c38d91ae4ea2987f9853539534ce64959abf7a`. + + +%prep +%autosetup -n types-atomicwrites-1.4.5.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-atomicwrites -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.5.1-1 +- Package Spec generated @@ -0,0 +1 @@ +8b2553a58f6553f23bb50c29e1669da8 types-atomicwrites-1.4.5.1.tar.gz |
