summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-10 10:04:55 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-10 10:04:55 -0800
commit33678f9d94b621c284f442b5f02917db259dcfb0 (patch)
tree4ff5d29179e5897ef8c031a3a6647c998b325971 /python
parente4127ffbdb96ca55b2237b5f0b4a35f4364e643f (diff)
downloadspecs-33678f9d94b621c284f442b5f02917db259dcfb0.tar.gz
specs-33678f9d94b621c284f442b5f02917db259dcfb0.tar.xz
specs-33678f9d94b621c284f442b5f02917db259dcfb0.zip
- python-types-ipaddress
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-types-ipaddress.spec62
1 files changed, 0 insertions, 62 deletions
diff --git a/python/python-types-ipaddress.spec b/python/python-types-ipaddress.spec
deleted file mode 100644
index 58b997f..0000000
--- a/python/python-types-ipaddress.spec
+++ /dev/null
@@ -1,62 +0,0 @@
-%global srcname types-ipaddress
-%global modname types_ipaddress
-
-Name: python-%{srcname}
-Version: 1.0.1
-Release: %autorelease
-Summary: Typing stubs for ipaddress
-License: ASL 2.0
-URL: https://github.com/python/typeshed
-Source0: %{pypi_source %{srcname}}
-
-BuildArch: noarch
-
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-
-%global _description %{expand:
-This 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
-https://github.com/python/typeshed/tree/master/stubs/ipaddress. All fixes for
-types and metadata should be contributed there.
-
-See https://github.com/python/typeshed/blob/master/README.md for more details.}
-
-%description %{_description}
-
-
-%package -n python%{python3_pkgversion}-%{srcname}
-Summary: %{summary}
-
-%description -n python%{python3_pkgversion}-%{srcname} %{_description}
-
-
-%prep
-%autosetup -p1 -n %{srcname}-%{version}
-
-
-%generate_buildrequires
-%pyproject_buildrequires -r
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-
-
-%check
-%py3_check_import ipaddress-python2-stubs
-
-
-%files -n python%{python3_pkgversion}-%{srcname}
-%doc CHANGELOG.md
-%{python3_sitelib}/ipaddress-python2-stubs
-%{python3_sitelib}/%{modname}-%{version}.dist-info/
-
-
-%changelog
-%autochangelog