Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-myst-parser for 
openSUSE:Factory checked in at 2022-05-02 16:26:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-myst-parser (Old)
 and      /work/SRC/openSUSE:Factory/.python-myst-parser.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-myst-parser"

Mon May  2 16:26:11 2022 rev:2 rq:974413 version:0.17.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-myst-parser/python-myst-parser.changes    
2022-04-25 23:35:50.834443347 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-myst-parser.new.1538/python-myst-parser.changes
  2022-05-02 16:26:40.100911515 +0200
@@ -1,0 +2,6 @@
+Mon May  2 11:28:37 UTC 2022 - Sebastian Wagner <[email protected]>
+
+- activate tests
+- fix requires
+
+-------------------------------------------------------------------

Old:
----
  myst-parser-0.17.2.tar.gz

New:
----
  python-myst-parser-0.17.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-myst-parser.spec ++++++
--- /var/tmp/diff_new_pack.ydh7RQ/_old  2022-05-02 16:26:40.592912062 +0200
+++ /var/tmp/diff_new_pack.ydh7RQ/_new  2022-05-02 16:26:40.596912066 +0200
@@ -23,14 +23,35 @@
 Summary:        An extended commonmark compliant parser, with bridges to 
docutils & sphinx
 License:        MIT
 URL:            https://myst-parser.readthedocs.io/
-Source:         
https://files.pythonhosted.org/packages/source/m/myst-parser/myst-parser-%{version}.tar.gz
+Source:         
https://github.com/executablebooks/MyST-Parser/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PyPI tarball does not contain tests
+#Source:         
https://files.pythonhosted.org/packages/source/m/myst-parser/myst-parser-%%{version}.tar.gz
 BuildRequires:  %{python_module flit}
+BuildRequires:  %{python_module markdown-it-py}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+# SECTION docs
+#BuildRequires:  python3-Sphinx
+#BuildRequires:  python3-Jinja2
+#BuildRequires:  python3-PyYAML
+#BuildRequires:  python3-Sphinx >= 3.1
+#BuildRequires:  python3-docutils >= 0.15
+#BuildRequires:  python3-markdown-it-py >= 1
+#BuildRequires:  python3-mdit-py-plugins < 0.4
+# /SECTION
+Requires:       python-typing-extensions
+Requires:       python-Jinja2
+Requires:       python-PyYAML
+Requires:       python-Sphinx
+Requires:       python-Sphinx >= 3.1
+Requires:       python-docutils >= 0.15
+Requires:       python-markdown-it-py >= 1
+Requires:       python-mdit-py-plugins < 0.4
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -40,10 +61,17 @@
 It contains an extended CommonMark (https://commonmark.org)-compliant parser 
using markdown-it-py (https://markdown-it-py.readthedocs.io/), as well as a 
Sphinx (https://www.sphinx-doc.org) extension that allows to write MyST 
Markdown in Sphinx.
 
 %prep
-%setup -q -n myst-parser-%{version}
+%setup -q -n MyST-Parser-%{version}
+rm docs/.gitignore
+dos2unix docs/examples/references.bib
 
 %build
 %pyproject_wheel
+# docs require unavailable sphinxcontrib-bibtex
+#pushd docs
+#PYTHONPATH=.. make html
+#rm _build/html/.buildinfo
+#popd
 
 %install
 %pyproject_install
@@ -55,6 +83,9 @@
 %python_clone -a %{buildroot}%{_bindir}/myst-docutils-xml
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pyunittest -v
+
 %post
 %{python_install_alternative myst-anchors myst-docutils-html 
myst-docutils-html5 myst-docutils-latex myst-docutils-pseudoxml 
myst-docutils-xml}
 
@@ -72,5 +103,6 @@
 %python_alternative %{_bindir}/myst-docutils-latex
 %python_alternative %{_bindir}/myst-docutils-pseudoxml
 %python_alternative %{_bindir}/myst-docutils-xml
+%doc docs
 
 %changelog

Reply via email to