diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-10 10:06:29 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-10 10:06:29 -0800 |
commit | 368f8bb8978395d08ccd9fe82d2471f0edfc94e1 (patch) | |
tree | 1c22556bc64efecdfa4387524605ddcb139ab925 | |
parent | 9a1319224d7a474f81f61c10d8f4f9538a393a25 (diff) | |
download | specs-368f8bb8978395d08ccd9fe82d2471f0edfc94e1.tar.gz specs-368f8bb8978395d08ccd9fe82d2471f0edfc94e1.tar.xz specs-368f8bb8978395d08ccd9fe82d2471f0edfc94e1.zip |
- python-types-pyyaml
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r-- | python/python-types-pyyaml.spec | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/python/python-types-pyyaml.spec b/python/python-types-pyyaml.spec deleted file mode 100644 index 567a6fe..0000000 --- a/python/python-types-pyyaml.spec +++ /dev/null @@ -1,63 +0,0 @@ -%global srcname types-pyyaml -%global modname types_PyYAML -%global pypi_name types-PyYAML - -Name: python-%{srcname} -Version: 6.0.1 -Release: %autorelease -Summary: Typing stubs for PyYAML -License: ASL 2.0 -URL: https://github.com/python/typeshed -Source0: %{pypi_source %{pypi_name}} - -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 PyYAML package. It can be used by -type-checking tools like mypy, PyCharm, pytype etc. to check code that uses -PyYAML. The source for this package can be found at -https://github.com/python/typeshed/tree/master/stubs/PyYAML. 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 %{pypi_name}-%{version} - - -%generate_buildrequires -%pyproject_buildrequires -r - - -%build -%pyproject_wheel - - -%install -%pyproject_install - - -%check -%py3_check_import yaml-stubs - - -%files -n python%{python3_pkgversion}-%{srcname} -%doc CHANGELOG.md -%{python3_sitelib}/yaml-stubs -%{python3_sitelib}/%{modname}-%{version}.dist-info/ - - -%changelog -%autochangelog |