2013-02-06 09:36:31 +00:00
|
|
|
#
|
2013-02-06 09:40:45 +00:00
|
|
|
# spec file for package python-Markups
|
2013-02-06 09:36:31 +00:00
|
|
|
#
|
2025-01-23 17:49:03 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2013-02-06 09:36:31 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-10-14 13:44:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-05-12 21:28:28 +00:00
|
|
|
#
|
2013-02-06 09:36:31 +00:00
|
|
|
|
2013-02-06 09:40:45 +00:00
|
|
|
|
2025-05-06 11:17:59 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2013-02-06 09:40:45 +00:00
|
|
|
Name: python-Markups
|
2025-05-06 11:17:59 +00:00
|
|
|
Version: 4.1.1
|
2013-02-06 09:40:45 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A wrapper around various text markups
|
2015-05-12 21:28:28 +00:00
|
|
|
License: BSD-3-Clause
|
2018-12-04 17:16:41 +00:00
|
|
|
URL: https://github.com/mitya57/pymarkups
|
2025-01-23 17:49:03 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/m/markups/markups-%{version}.tar.gz
|
2024-11-12 15:22:30 +00:00
|
|
|
BuildRequires: %{python_module Markdown >= 3}
|
|
|
|
BuildRequires: %{python_module PyYAML}
|
|
|
|
BuildRequires: %{python_module Pygments}
|
|
|
|
BuildRequires: %{python_module docutils}
|
|
|
|
BuildRequires: %{python_module lxml}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module python-markdown-math}
|
2017-09-01 00:29:02 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-11-12 15:22:30 +00:00
|
|
|
BuildRequires: %{python_module textile}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: asciidoc
|
2019-01-02 14:03:27 +00:00
|
|
|
BuildRequires: fdupes
|
2017-09-01 00:29:02 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2024-11-15 09:53:10 +00:00
|
|
|
Requires: python-python-markdown-math
|
2019-11-07 14:57:31 +00:00
|
|
|
BuildArch: noarch
|
2017-09-01 00:29:02 +00:00
|
|
|
%python_subpackages
|
2013-02-06 09:36:31 +00:00
|
|
|
|
|
|
|
%description
|
2013-02-06 09:40:45 +00:00
|
|
|
This module provides a wrapper around the various text markup languages,
|
|
|
|
such as Markdown and reStructuredText (these two are supported by default).
|
2013-02-06 09:36:31 +00:00
|
|
|
|
|
|
|
%prep
|
2025-01-23 17:49:03 +00:00
|
|
|
%autosetup -p1 -n markups-%{version}
|
2013-02-06 09:36:31 +00:00
|
|
|
|
|
|
|
%build
|
2024-11-12 15:22:30 +00:00
|
|
|
%pyproject_wheel
|
2013-02-06 09:36:31 +00:00
|
|
|
|
|
|
|
%install
|
2024-11-12 15:22:30 +00:00
|
|
|
%pyproject_install
|
2013-02-06 09:36:31 +00:00
|
|
|
|
2019-01-02 14:03:27 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
2017-09-01 00:29:02 +00:00
|
|
|
%check
|
2021-05-27 10:05:46 +00:00
|
|
|
%pyunittest discover -v
|
2017-09-01 00:29:02 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
2018-12-04 17:16:41 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst changelog
|
2024-11-12 15:22:30 +00:00
|
|
|
%{python_sitelib}/markups
|
2025-04-14 06:06:26 +00:00
|
|
|
%{python_sitelib}/[Mm]arkups-%{version}.dist-info
|
2013-02-06 09:36:31 +00:00
|
|
|
|
|
|
|
%changelog
|