Compare commits

11 Commits

Author SHA256 Message Date
b6db5cb3da Accepting request 1274891 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markups?expand=0&rev=12
2025-05-06 14:43:53 +00:00
ff422351ea Accepting request 1274852 from home:glaubitz:branches:devel:languages:python
- Update to 4.1.1
  * Adapt the tests to Pygments 2.19 (contributed by Markéta Calábková in #20).
  * Add support for Debian ``node-mathjax-full`` package.
  * Use :PEP:`639` license expression (needs setuptools 77 or newer).
- Drop pygments.patch, merged upstream
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1274852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=26
2025-05-06 11:17:59 +00:00
08d3578c66 Accepting request 1269099 from devel:languages:python
- Support both lowercased and unnormalized metadata directory names.

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1269099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markups?expand=0&rev=11
2025-04-14 10:59:43 +00:00
6296eea789 - Support both lowercased and unnormalized metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=24
2025-04-14 06:06:26 +00:00
47f9ce84d6 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=23
2025-03-25 03:42:31 +00:00
1a48692d76 Accepting request 1239972 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markups?expand=0&rev=10
2025-01-24 12:40:09 +00:00
e274121fd6 Accepting request 1239543 from home:mcalabkova:branches:devel:languages:python
- Add pygments.patch to fix test failure with new pygments

- Update to 4.1.0
  * Incompatible change: Python 3.9 is no longer supported
  * Made the order of Markdown extensions deterministic
  * Adopted ruff for code quality checks and auto-formatting

OBS-URL: https://build.opensuse.org/request/show/1239543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=21
2025-01-23 17:49:03 +00:00
52f07b1fff Accepting request 1224417 from devel:languages:python
- Update to 4.0.0:
  Incompatible changes:
  - Python versions older than 3.9 are no longer supported.
  - Python-Markdown versions older than 3.0 are no longer supported.
  - Setuptools 61.2 or higher is required to build the project.
  - ``setup.py`` has been removed. Use ``pip``, ``build`` or other :PEP:`517`
    compatible tool.
  Other changes:
  - Added AsciiDocMarkup (contributed by Dave Kuhlman in #17).
  - Made the tests pass with Pygments ≥ 2.11.
  - Made the tests pass when PyYAML is not installed (#18).
  - Reformatted code in accordance with :PEP:`8` standard.
  - Fixed mypy errors and added a :PEP:`561` ``py.typed`` file.
- Update to 3.1.3:
  - Fixed logic to load extensions file when PyYAML module is not available
    (issue #16, thanks foxB612 for the bug report).
  - Made the tests pass with docutils 0.18.
- Update to 3.1.2:
  - Incompatible change: Python 3.6 is no longer supported.
  - Fixed replacing Markdown extensions in document.
  - Fixed crash when using TOC backrefs in reStructuredText (issue #14,
    thanks Hrissimir for the patch).
- Update to 3.1.1:
  - The reStructuredText markup now includes line numbers information in
    ``data-posmap`` attributes.
  - The reStructuredText markup now uses only ``minimal.css`` stylesheet
    (not ``plain.css`` anymore).
  - Added support for the upcoming docutils 0.17 release to the tests.
- Update to 3.1.0:
  Incompatible changes:

OBS-URL: https://build.opensuse.org/request/show/1224417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markups?expand=0&rev=9
2024-11-15 14:43:57 +00:00
43342082f9 typo2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=19
2024-11-15 10:20:08 +00:00
56b00ba676 typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=18
2024-11-15 09:53:10 +00:00
0bd2a3bd85 - Update to 4.0.0:
Incompatible changes:
  - Python versions older than 3.9 are no longer supported.
  - Python-Markdown versions older than 3.0 are no longer supported.
  - Setuptools 61.2 or higher is required to build the project.
  - ``setup.py`` has been removed. Use ``pip``, ``build`` or other :PEP:`517`
    compatible tool.
  Other changes:
  - Added AsciiDocMarkup (contributed by Dave Kuhlman in #17).
  - Made the tests pass with Pygments ≥ 2.11.
  - Made the tests pass when PyYAML is not installed (#18).
  - Reformatted code in accordance with :PEP:`8` standard.
  - Fixed mypy errors and added a :PEP:`561` ``py.typed`` file.
- Update to 3.1.3:
  - Fixed logic to load extensions file when PyYAML module is not available
    (issue #16, thanks foxB612 for the bug report).
  - Made the tests pass with docutils 0.18.
- Update to 3.1.2:
  - Incompatible change: Python 3.6 is no longer supported.
  - Fixed replacing Markdown extensions in document.
  - Fixed crash when using TOC backrefs in reStructuredText (issue #14,
    thanks Hrissimir for the patch).
- Update to 3.1.1:
  - The reStructuredText markup now includes line numbers information in
    ``data-posmap`` attributes.
  - The reStructuredText markup now uses only ``minimal.css`` stylesheet
    (not ``plain.css`` anymore).
  - Added support for the upcoming docutils 0.17 release to the tests.
- Update to 3.1.0:
  Incompatible changes:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=17
2024-11-12 15:22:30 +00:00
4 changed files with 101 additions and 15 deletions

View File

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

3
markups-4.1.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,81 @@
-------------------------------------------------------------------
Tue May 6 09:50:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.1.1
* Adapt the tests to Pygments 2.19 (contributed by Markéta Calábková in #20).
* Add support for Debian ``node-mathjax-full`` package.
* Use :PEP:`639` license expression (needs setuptools 77 or newer).
- Drop pygments.patch, merged upstream
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Mon Apr 14 06:06:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Support both lowercased and unnormalized metadata directory names.
-------------------------------------------------------------------
Tue Mar 25 03:42:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Wed Jan 22 14:08:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add pygments.patch to fix test failure with new pygments
-------------------------------------------------------------------
Wed Jan 22 12:50:00 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 4.1.0
* Incompatible change: Python 3.9 is no longer supported
* Made the order of Markdown extensions deterministic
* Adopted ruff for code quality checks and auto-formatting
-------------------------------------------------------------------
Tue Nov 12 14:39:14 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Update to 4.0.0:
Incompatible changes:
- Python versions older than 3.9 are no longer supported.
- Python-Markdown versions older than 3.0 are no longer supported.
- Setuptools 61.2 or higher is required to build the project.
- ``setup.py`` has been removed. Use ``pip``, ``build`` or other :PEP:`517`
compatible tool.
Other changes:
- Added AsciiDocMarkup (contributed by Dave Kuhlman in #17).
- Made the tests pass with Pygments ≥ 2.11.
- Made the tests pass when PyYAML is not installed (#18).
- Reformatted code in accordance with :PEP:`8` standard.
- Fixed mypy errors and added a :PEP:`561` ``py.typed`` file.
- Update to 3.1.3:
- Fixed logic to load extensions file when PyYAML module is not available
(issue #16, thanks foxB612 for the bug report).
- Made the tests pass with docutils 0.18.
- Update to 3.1.2:
- Incompatible change: Python 3.6 is no longer supported.
- Fixed replacing Markdown extensions in document.
- Fixed crash when using TOC backrefs in reStructuredText (issue #14,
thanks Hrissimir for the patch).
- Update to 3.1.1:
- The reStructuredText markup now includes line numbers information in
``data-posmap`` attributes.
- The reStructuredText markup now uses only ``minimal.css`` stylesheet
(not ``plain.css`` anymore).
- Added support for the upcoming docutils 0.17 release to the tests.
- Update to 3.1.0:
Incompatible changes:
- Python versions older than 3.6 are no longer supported.
Other changes:
- Instead of ``pkg_resources``, ``importlib.metadata`` is now used.
- For Markdown markup, ``markdown-extensions.yaml`` files are now supported
in addition to ``markdown-extensions.txt`` files.
- Type annotations were added for public API.
- The reStructuredText markup no longer raises exceptions for invalid markup.
- MathJax v3 is now supported in addition to v2. Also, the Arch Linux mathjax
packages are now supported (issue #4).
- Added Pygments CSS support for the ``pymdownx.highlight`` Markdown extension.
-------------------------------------------------------------------
Wed May 26 09:00:39 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Markups
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,29 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-Markups
Version: 3.0.0
Version: 4.1.1
Release: 0
Summary: A wrapper around various text markups
License: BSD-3-Clause
URL: https://github.com/mitya57/pymarkups
Source: https://files.pythonhosted.org/packages/source/M/Markups/Markups-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/m/markups/markups-%{version}.tar.gz
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}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module textile}
BuildRequires: %{python_module wheel}
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-markdown-math
Requires: python-python-markdown-math
BuildArch: noarch
# SECTION Required for %%check
BuildRequires: %{python_module markdown-math}
# /SECTION
%python_subpackages
%description
@@ -39,13 +46,13 @@ This module provides a wrapper around the various text markup languages,
such as Markdown and reStructuredText (these two are supported by default).
%prep
%setup -q -n Markups-%{version}
%autosetup -p1 -n markups-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -55,6 +62,7 @@ such as Markdown and reStructuredText (these two are supported by default).
%files %{python_files}
%license LICENSE
%doc README.rst changelog
%{python_sitelib}/*
%{python_sitelib}/markups
%{python_sitelib}/[Mm]arkups-%{version}.dist-info
%changelog