summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:15:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:15:22 +0000
commita6500233096cbc91f9d94f1df856f8ca0d066557 (patch)
treeb274932bedc0975993dafc3237b55bb2f95f9a92
parentb40194491a71a5e81abaf5e34202f04e8b113d42 (diff)
automatic import of python-types-nmapopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-types-nmap.spec108
-rw-r--r--sources1
3 files changed, 110 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f41ad04 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/types-nmap-0.1.6.tar.gz
diff --git a/python-types-nmap.spec b/python-types-nmap.spec
new file mode 100644
index 0000000..ecd6ae6
--- /dev/null
+++ b/python-types-nmap.spec
@@ -0,0 +1,108 @@
+%global _empty_manifest_terminate_build 0
+Name: python-types-nmap
+Version: 0.1.6
+Release: 1
+Summary: Typing stubs for nmap
+License: Apache-2.0 license
+URL: https://github.com/python/typeshed
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/26/62/083210f59c4419af79a09a82d304dff590f380be7521339d677e51acbfce/types-nmap-0.1.6.tar.gz
+BuildArch: noarch
+
+
+%description
+## Typing stubs for nmap
+
+This is a PEP 561 type stub package for the `nmap` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
+that uses `nmap`. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/nmap. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.
+This package was generated from typeshed commit `8b9d771b67acf13a35905c7d4996382394f23181`.
+
+
+
+
+%package -n python3-types-nmap
+Summary: Typing stubs for nmap
+Provides: python-types-nmap
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-types-nmap
+## Typing stubs for nmap
+
+This is a PEP 561 type stub package for the `nmap` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
+that uses `nmap`. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/nmap. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.
+This package was generated from typeshed commit `8b9d771b67acf13a35905c7d4996382394f23181`.
+
+
+
+
+%package help
+Summary: Development documents and examples for types-nmap
+Provides: python3-types-nmap-doc
+%description help
+## Typing stubs for nmap
+
+This is a PEP 561 type stub package for the `nmap` package.
+It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
+that uses `nmap`. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/nmap. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.
+This package was generated from typeshed commit `8b9d771b67acf13a35905c7d4996382394f23181`.
+
+
+
+
+%prep
+%autosetup -n types-nmap-0.1.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-nmap -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..aaba233
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cc4179bf139d17da95c47f78d15e1eba types-nmap-0.1.6.tar.gz