summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:23:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:23:03 +0000
commit71a07262f6f6dcd4d9654ce452a4c360a1a33d16 (patch)
treeca21a8f5f170fa7791fbdfe07eef36982d49341b
parentAdding upstream version 0.18.1. (diff)
downloadmyst-parser-71a07262f6f6dcd4d9654ce452a4c360a1a33d16.tar.xz
myst-parser-71a07262f6f6dcd4d9654ce452a4c360a1a33d16.zip
Adding debian version 0.18.1-2.debian/0.18.1-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog95
-rw-r--r--debian/control34
-rw-r--r--debian/copyright31
-rw-r--r--debian/gbp.conf3
-rwxr-xr-xdebian/rules35
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/tests/control11
-rw-r--r--debian/tests/unittests14
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch3
11 files changed, 232 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4136976
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,95 @@
+myst-parser (0.18.1-2) unstable; urgency=medium
+
+ * Source-only upload.
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Sun, 23 Oct 2022 21:10:33 +0000
+
+myst-parser (0.18.1-1) unstable; urgency=medium
+
+ * New upstream version.
+ * d/control: Bump Standards-Version to 4.6.1.1 (from 4.6.1; no further
+ changes).
+ * d/control: Remove python3-pytest-cov as B-Depends, it's not used.
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Mon, 03 Oct 2022 12:31:58 -0300
+
+myst-parser (0.18.0-2) unstable; urgency=medium
+
+ * Source-only upload.
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Wed, 13 Jul 2022 16:34:57 -0300
+
+myst-parser (0.18.0-1) unstable; urgency=medium
+
+ * New upstream version.
+ * d/rules: Ignore tests files that use sphinx-pytest, it is not in Debian
+ yet. The files are:
+ - tests/test_renderers/test_fixtures_sphinx.py
+ - tests/test_renderers/test_myst_refs.py
+ - tests/test_sphinx/test_sphinx_builds.py
+ - Add this changes to autopkgtest.
+ * d/python3-myst-parser.examples: Remove .examples file, upstream not longer
+ include examples.
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Wed, 15 Jun 2022 15:45:27 -0300
+
+myst-parser (0.17.2-1) unstable; urgency=medium
+
+ * New upstream version.
+ * d/patches: Remove patches, all of them are in the new upstream release.
+ * d/control: Bump Standards-Version to 4.6.1 (from 4.6.0.1; no further
+ changes).
+ * d/control: Use flit instead of python3-setuptools to build package.
+ * d/control: Add python3-typing-extensions as Build Depends.
+ * d/rules: Ignore tests that use pytest_param_files that is not in Debian
+ yet.
+ - d/tests/unittests: Also ignore them in autopkgtest run.
+ * d/tests/control: Write explicitly the packages that are need for run
+ autopkgtest instead of use @builddeps@.
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Sat, 28 May 2022 10:45:26 -0300
+
+myst-parser (0.16.1-4) unstable; urgency=medium
+
+ * Team upload.
+ * Add patches to adapt for changes in Sphinx 4.4 and 4.5.
+
+ -- Dmitry Shachnev <mitya57@debian.org> Sun, 03 Apr 2022 15:09:25 +0300
+
+myst-parser (0.16.1-3) unstable; urgency=medium
+
+ * Team upload.
+ * Fix a backporting mistake in the 32-bit-test-failure patch.
+ * Correct changelog entry for -2, it was a team upload.
+
+ -- Stefano Rivera <stefanor@debian.org> Sat, 19 Feb 2022 19:56:21 -0400
+
+myst-parser (0.16.1-2) unstable; urgency=medium
+
+ * Team upload.
+ * Patch: Fix test failure on 32-bit platforms. (Closes: #1005691)
+ * Patch: Support pygments 2.11 in tests.
+
+ -- Stefano Rivera <stefanor@debian.org> Sat, 19 Feb 2022 19:36:03 -0400
+
+myst-parser (0.16.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * d/control: Build with pybuild's pyproject plugin. Add
+ pybuild-plugin-pyproject as Build Depends.
+ * d/copyright: Update debian/* files copyright year.
+ * d/tests/unittests: Ignore test that use linkify. It is not in Debian yet.
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Tue, 11 Jan 2022 00:09:37 -0300
+
+myst-parser (0.15.2-2) unstable; urgency=medium
+
+ * source-only upload
+
+ -- Sandro Tosi <morph@debian.org> Sun, 02 Jan 2022 12:34:26 -0500
+
+myst-parser (0.15.2-1) unstable; urgency=low
+
+ * Initial release; Closes: #993553
+
+ -- Emmanuel Arias <eamanu@yaerobi.com> Thu, 21 Oct 2021 13:05:58 +0000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..90a21da
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: myst-parser
+Section: python
+Priority: optional
+Maintainer: Debian Python Team <team+python@tracker.debian.org>
+Uploaders: Emmanuel Arias <eamanu@yaerobi.com>,
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ flit,
+ pybuild-plugin-pyproject,
+ python3-all,
+ python3-bs4 <!nocheck>,
+ python3-markdown-it (>= 1.0.0),
+ python3-mdit-py-plugins (>= 0.2.8) <!nocheck>,
+ python3-pytest <!nocheck>,
+ python3-pytest-regressions <!nocheck>,
+ python3-sphinx (>= 3.1.0),
+ python3-typing-extensions,
+Standards-Version: 4.6.1.1
+Homepage: https://github.com/executablebooks/MyST-Parser
+Vcs-Git: https://salsa.debian.org/python-team/packages/myst-parser.git
+Vcs-Browser: https://salsa.debian.org/python-team/packages/myst-parser
+Rules-Requires-Root: no
+
+Package: python3-myst-parser
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends},
+Recommends: ${python3:Recommends},
+Suggests: ${python3:Suggests},
+Description: rich and extensible flavor of Markdown for technical docs
+ MyST is a flavor of markdown that is designed for simplicity, flexibility,
+ and extensibility. This package include a reference implementation of
+ MyST Markdown, as well as a collection of tools to support working with MyST
+ in Python and Sphinx.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..76c1ed0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: myst-parser
+Upstream-Contact: Chris Sewell <chrisj_sewell@hotmail.com>
+Source: https://github.com/executablebooks/MyST-Parser
+
+Files: *
+Copyright: 2020 ExecutableBookProject
+License: Expat
+
+Files: debian/*
+Copyright: 2021-2022 Emmanuel Arias <eamanu@yaerobi.com>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..47fe321
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+debian-branch = debian/master
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..105968c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=myst-parser
+
+# ignore linkify tests until linkify is package in Debian #997970
+# Tests that use pytest_param_files also are ingnored.
+# Tests that use sphinx_pytest are ignored
+export PYBUILD_TEST_ARGS=-k 'not test_extended_syntaxes \
+ and not test_html_to_nodes \
+ and not test_html_ast \
+ and not test_html_round_trip \
+ and not test_basic \
+ and not test_syntax_elements \
+ and not test_docutils_roles \
+ and not test_docutils_directives \
+ and not test_syntax_extensions \
+ and not test_syntax_elements \
+ and not test_tables \
+ and not test_directive_options \
+ and not test_sphinx_directives \
+ and not test_sphinx_roles \
+ and not test_dollarmath \
+ and not test_amsmath \
+ and not test_containers \
+ and not test_evalrst_elements \
+ and not test_definition_lists \
+ and not test_render \
+ and not test_errors \
+ and not test_cmdline' \
+ --ignore=tests/test_renderers/test_fixtures_sphinx.py \
+ --ignore=tests/test_renderers/test_myst_refs.py \
+ --ignore=tests/test_sphinx/test_sphinx_builds.py
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..d81db3f
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+.egg-info/"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..eb520e3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+Tests: unittests
+Depends: python3-all,
+ python3-bs4,
+ python3-markdown-it,
+ python3-mdit-py-plugins,
+ python3-pytest,
+ python3-pytest-cov,
+ python3-pytest-regressions,
+ python3-sphinx,
+ python3-typing-extensions,
+ @,
diff --git a/debian/tests/unittests b/debian/tests/unittests
new file mode 100644
index 0000000..a1b2b42
--- /dev/null
+++ b/debian/tests/unittests
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -efu
+
+pys="$(py3versions -s 2> /dev/null)"
+
+
+cp -a tests "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP"
+
+
+for py in $pys; do
+ echo "=== $py ==="
+ $py -m pytest -k 'not test_extended_syntaxes and not test_html_to_nodes and not test_html_ast and not test_html_round_trip and not test_basic and not test_syntax_elements and not test_docutils_roles and not test_docutils_directives and not test_syntax_extensions and not test_syntax_elements and not test_tables and not test_directive_options and not test_sphinx_directives and not test_sphinx_roles and not test_dollarmath and not test_amsmath and not test_containers and not test_evalrst_elements and not test_definition_lists and not test_render and not test_errors and not test_cmdline' --ignore=tests/test_renderers/test_fixtures_sphinx.py --ignore=tests/test_renderers/test_myst_refs.py --ignore=tests/test_sphinx/test_sphinx_builds.py 2>&1
+done
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..929affa
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/executablebooks/MyST-Parser/issues
+Bug-Submit: https://github.com/executablebooks/MyST-Parser/issues/new
+Repository: https://github.com/executablebooks/MyST-Parser.git
+Repository-Browse: https://github.com/executablebooks/MyST-Parser
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ee17681
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="pgpmode=none, filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@myst-parser@-$1.tar.gz%" \
+https://github.com/executablebooks/MyST-Parser/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz