15
0

Accepting request 1033870 from home:bnavigator:branches:devel:languages:python:numeric

required by python-python-lsp-server 1.6

OBS-URL: https://build.opensuse.org/request/show/1033870
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docstring-to-markdown?expand=0&rev=1
This commit is contained in:
2022-11-07 10:16:53 +00:00
committed by Git OBS Bridge
commit 149d612148
5 changed files with 96 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:895a20da8a11d1b7e6163ee57511e6de1ec14d737b1875b2b2e8286d379c1721
size 24732

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Nov 6 15:15:50 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v0.10
- Required by python-python-lsp-server

View File

@@ -0,0 +1,64 @@
#
# spec file for package python-docstring-to-markdown
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-docstring-to-markdown
Version: 0.10
Release: 0
Summary: On the fly conversion of Python docstrings to markdown
License: LGPL-2.1-only
URL: https://github.com/python-lsp/docstring-to-markdown
Source: https://github.com/python-lsp/docstring-to-markdown/archive/refs/tags/v%{version}.tar.gz#/docstring-to-markdown-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-docstring_to_markdown = %{version}-%{release}
BuildArch: noarch
%python_subpackages
%description
On the fly conversion of Python docstrings to markdown
- Python 3.6+
- currently can recognise reStructuredText and convert
multiple of its features to Markdown
- in the future will be able to convert Google docstrings too
%prep
%setup -q -n docstring-to-markdown-%{version}
sed -i -e '/--cov/d' -e '/-flake8/d' setup.cfg
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/docstring_to_markdown
%{python_sitelib}/docstring_to_markdown-%{version}*-info
%changelog