forked from pool/python-mistletoe
- Switch to Github for sources as they include all tests
- Run dos2unix for E: wrong-script-end-of-line-encoding OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistletoe?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:7d0c1ab3747047d169f9fc4b925d1cba3f5c13eaf0b90c365b72e47e59d00a02
|
oid sha256:c0e21859267347ca686d1aacccf690cd0e52ed3c33e4455336fa30dbe697eeb2
|
||||||
size 60017
|
size 118396
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 14 09:57:00 UTC 2023 - Elisei Roca <eroca@mailbox.org>
|
||||||
|
|
||||||
|
- Switch to Github for sources as they include all tests
|
||||||
|
|
||||||
|
- Run dos2unix for E: wrong-script-end-of-line-encoding
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 10 16:43:59 UTC 2023 - Elisei Roca <eroca@mailbox.org>
|
Sun Dec 10 16:43:59 UTC 2023 - Elisei Roca <eroca@mailbox.org>
|
||||||
|
|
||||||
|
@@ -23,17 +23,18 @@ Release: 0
|
|||||||
Summary: A Markdown parser in pure Python
|
Summary: A Markdown parser in pure Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/miyuchina/mistletoe
|
URL: https://github.com/miyuchina/mistletoe
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/mistletoe/mistletoe-%{version}.tar.gz
|
Source: https://github.com/miyuchina/mistletoe/archive/refs/tags/v%{version}.tar.gz#/mistletoe-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Pygments}
|
BuildRequires: %{python_module Pygments}
|
||||||
BuildRequires: %{python_module parameterized}
|
BuildRequires: %{python_module parameterized}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Recommends: python-Pygments
|
Recommends: python-Pygments
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -44,6 +45,7 @@ spec-compliant and fully customizable.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n mistletoe-%{version}
|
%autosetup -p1 -n mistletoe-%{version}
|
||||||
sed -i 's,/usr/bin/env python,,' mistletoe/contrib/md2jira.py
|
sed -i 's,/usr/bin/env python,,' mistletoe/contrib/md2jira.py
|
||||||
|
find . -type f -print0 | xargs -0 dos2unix --
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Reference in New Issue
Block a user