summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-10 10:08:53 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-10 10:08:53 -0800
commitd93f46605f41e6d57d511faeed14b87a4f14b5a7 (patch)
tree7bc5fb8f1045d2264513a49f35c1a094f50f0a9f
parent368f8bb8978395d08ccd9fe82d2471f0edfc94e1 (diff)
downloadspecs-d93f46605f41e6d57d511faeed14b87a4f14b5a7.tar.gz
specs-d93f46605f41e6d57d511faeed14b87a4f14b5a7.tar.xz
specs-d93f46605f41e6d57d511faeed14b87a4f14b5a7.zip
- python-types-requests
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--python/python-types-requests.spec62
1 files changed, 0 insertions, 62 deletions
diff --git a/python/python-types-requests.spec b/python/python-types-requests.spec
deleted file mode 100644
index 340a170..0000000
--- a/python/python-types-requests.spec
+++ /dev/null
@@ -1,62 +0,0 @@
-%global srcname types-requests
-%global modname types_requests
-
-Name: python-%{srcname}
-Version: 2.26.1
-Release: %autorelease
-Summary: Typing stubs for requests
-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 requests package. It can be used by
-type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
-requests. The source for this package can be found at
-https://github.com/python/typeshed/tree/master/stubs/requests. 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 requests-stubs
-
-
-%files -n python%{python3_pkgversion}-%{srcname}
-%doc CHANGELOG.md
-%{python3_sitelib}/requests-stubs
-%{python3_sitelib}/%{modname}-%{version}.dist-info/
-
-
-%changelog
-%autochangelog