14
0

- 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:
2023-12-14 09:58:52 +00:00
committed by Git OBS Bridge
parent 50115117f0
commit 289952b90d
3 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d0c1ab3747047d169f9fc4b925d1cba3f5c13eaf0b90c365b72e47e59d00a02
size 60017
oid sha256:c0e21859267347ca686d1aacccf690cd0e52ed3c33e4455336fa30dbe697eeb2
size 118396

View File

@@ -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>

View File

@@ -23,17 +23,18 @@ Release: 0
Summary: A Markdown parser in pure Python
License: MIT
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 parameterized}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-Pygments
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -44,6 +45,7 @@ spec-compliant and fully customizable.
%prep
%autosetup -p1 -n mistletoe-%{version}
sed -i 's,/usr/bin/env python,,' mistletoe/contrib/md2jira.py
find . -type f -print0 | xargs -0 dos2unix --
%build
%pyproject_wheel