From bb81f21e19a064934aa10f43b1dd821b0c5bd668 Mon Sep 17 00:00:00 2001 From: zhangy1317 Date: Fri, 1 Jul 2022 10:30:27 +0800 Subject: [PATCH] init packages --- python-types-ipaddress.spec | 93 +++++++++++++++++++++++++++++++++++ types-ipaddress-1.0.8.tar.gz | Bin 0 -> 3009 bytes 2 files changed, 93 insertions(+) create mode 100644 python-types-ipaddress.spec create mode 100644 types-ipaddress-1.0.8.tar.gz diff --git a/python-types-ipaddress.spec b/python-types-ipaddress.spec new file mode 100644 index 0000000..210751b --- /dev/null +++ b/python-types-ipaddress.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-types-ipaddress +Version: 1.0.8 +Release: 1 +Summary: Typing stubs for ipaddress +License: Apache-2.0 +URL: https://github.com/python/typeshed +Source0: https://files.pythonhosted.org/packages/f1/4e/1b814342e5586fd4da2e483150b98d86d566922debf10fc4ff815864a729/types-ipaddress-1.0.8.tar.gz +BuildArch: noarch +%description + Typing stubs for ipaddressThis is a PEP 561 type stub package for the ipaddress +package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. +to check code that uses ipaddress. The source for this package can be found at +All fixes for types and metadata should be contributed there.See for more +details. This package was generated from typeshed commit +45a2dad83cc372cd066a91fc04ab44297b714e69. + +%package -n python3-types-ipaddress +Summary: Typing stubs for ipaddress +Provides: python-types-ipaddress +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +%description -n python3-types-ipaddress + Typing stubs for ipaddressThis is a PEP 561 type stub package for the ipaddress +package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. +to check code that uses ipaddress. The source for this package can be found at +All fixes for types and metadata should be contributed there.See for more +details. This package was generated from typeshed commit +45a2dad83cc372cd066a91fc04ab44297b714e69. + +%package help +Summary: Typing stubs for ipaddress +Provides: python3-types-ipaddress-doc +%description help + Typing stubs for ipaddressThis is a PEP 561 type stub package for the ipaddress +package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. +to check code that uses ipaddress. The source for this package can be found at +All fixes for types and metadata should be contributed there.See for more +details. This package was generated from typeshed commit +45a2dad83cc372cd066a91fc04ab44297b714e69. + +%prep +%autosetup -n types-ipaddress-%{version} + +%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 . + +%check +%{__python3} setup.py test + +%files -n python3-types-ipaddress -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Jun 23 2022 OpenStack_SIG - 1.0.8-1 +- Init package python3-types-ipaddress of version 1.0.8 + diff --git a/types-ipaddress-1.0.8.tar.gz b/types-ipaddress-1.0.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..08ae5ad61ee444844653e5cc7c41eca2861f4b6c GIT binary patch literal 3009 zcmV;y3qJH8iwFoFKC<29+Xqy{J)QVJM@8bUZk<`PIU$N7y+r4m5 z)RxTQ42SdLGkQ~RzPW_c_Xv6@e)X4tk;1x9!)UeV-^F{=uuSU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