Import Debian changes 3.0.0-ok1
markdown-it-py (3.0.0-ok1) nile; urgency=medium * Build for openKylin.
This commit is contained in:
parent
a34a0e6514
commit
5551b24c2f
|
@ -0,0 +1,3 @@
|
|||
* Package myst-nb to build the python-markdown-it-py-doc package.
|
||||
* Package linkify and activate the tests that depends on linkify
|
||||
(see #997970).
|
|
@ -0,0 +1,5 @@
|
|||
markdown-it-py (3.0.0-ok1) nile; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.top> Tue, 07 May 2024 15:43:05 +0800
|
|
@ -0,0 +1,39 @@
|
|||
Source: markdown-it-py
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
|
||||
Uploaders: Emmanuel Arias <eamanu@yaerobi.com>,
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
flit (<< 4),
|
||||
flit (>= 3.2),
|
||||
pybuild-plugin-pyproject,
|
||||
python3-all,
|
||||
python3-attr,
|
||||
python3-commonmark <!nocheck>,
|
||||
python3-markdown <!nocheck>,
|
||||
python3-mdurl,
|
||||
python3-mistletoe <!nocheck>,
|
||||
python3-mistune <!nocheck>,
|
||||
python3-psutil <!nocheck>,
|
||||
python3-pytest <!nocheck>,
|
||||
python3-pytest-benchmark <!nocheck>,
|
||||
python3-pytest-regressions <!nocheck>,
|
||||
python3-sphinx,
|
||||
Standards-Version: 4.6.2
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://github.com/executablebooks/markdown-it-py
|
||||
Vcs-Git: https://salsa.debian.org/python-team/packages/markdown-it-py.git
|
||||
Vcs-Browser: https://salsa.debian.org/python-team/packages/markdown-it-py
|
||||
|
||||
Package: python3-markdown-it
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${python3:Depends},
|
||||
Breaks: python3-mdit-py-plugins (<< 0.4.0-1),
|
||||
Recommends: ${python3:Recommends},
|
||||
Suggests: ${python3:Suggests},
|
||||
Description: Python port of markdown-it and some its associated plugins
|
||||
High speed Python markdown parser based in markdown-it. markdown-it-py
|
||||
follows the CommonMark spec for baseline parsing. Also, new syntax
|
||||
rules can be added and even replace existing ones. New syntax extensions
|
||||
can be added to extend the parser.
|
|
@ -0,0 +1,38 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: markdown-it-py
|
||||
Upstream-Contact: Chris Sewell <chrisj_sewell@hotmail.com>
|
||||
Source: https://github.com/executablebooks/markdown-it-py
|
||||
|
||||
Files: *
|
||||
Copyright: 2020 Chris Sewell <chrisj_sewell@hotmail.com>
|
||||
2020 ExecutableBookProject
|
||||
2014 Vitaly Puzrin, Alex Kocharin
|
||||
License: expat
|
||||
|
||||
Files: markdown_it/_punycode.py
|
||||
Copyright: 2014 Mathias Bynens <https://mathiasbynens.be/>
|
||||
2021 Taneli Hukkinen
|
||||
License: expat
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2021-2023 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.
|
|
@ -0,0 +1,3 @@
|
|||
[DEFAULT]
|
||||
pristine-tar = True
|
||||
debian-branch = debian/master
|
|
@ -0,0 +1,23 @@
|
|||
#! /usr/bin/make -f
|
||||
|
||||
|
||||
# ignore linkify tests until linkify is package in Debian #997970
|
||||
export PYBUILD_TEST_ARGS=--ignore tests/test_linkify.py \
|
||||
--ignore tests/test_port/test_fixtures.py \
|
||||
-k 'not test_linkify'
|
||||
export PYBUILD_NAME=markdown-it-py
|
||||
|
||||
|
||||
PYTHON3S:=$(shell py3versions -vr)
|
||||
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
|
||||
dh_auto_test
|
||||
set -e ; for pyvers in $(PYTHON3S); do \
|
||||
PYTHONPATH=. python$$pyvers -m pytest benchmarking/bench_core.py benchmarking/bench_packages.py ;\
|
||||
done
|
||||
endif
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
include:
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1 @@
|
|||
extend-diff-ignore="^[^/]+.egg-info/"
|
|
@ -0,0 +1,11 @@
|
|||
Tests: unittests
|
||||
Depends: python3-all,
|
||||
python3-commonmark,
|
||||
python3-markdown,
|
||||
python3-mistletoe,
|
||||
python3-mistune,
|
||||
python3-psutil,
|
||||
python3-pytest,
|
||||
python3-pytest-benchmark,
|
||||
python3-pytest-regressions,
|
||||
@,
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
set -efu
|
||||
|
||||
pys="$(py3versions -s 2> /dev/null)"
|
||||
|
||||
|
||||
cp -a tests "$AUTOPKGTEST_TMP"
|
||||
cp -a benchmarking "$AUTOPKGTEST_TMP"
|
||||
|
||||
cd "$AUTOPKGTEST_TMP"
|
||||
|
||||
|
||||
for py in $pys; do
|
||||
echo "=== $py ==="
|
||||
# ignore linkify tests until linkify is package in Debian #997970
|
||||
$py -m pytest --ignore tests/test_linkify.py \
|
||||
--ignore tests/test_port/test_fixtures.py \
|
||||
-k 'not test_linkify' 2>&1
|
||||
$py -m pytest benchmarking/bench_core.py benchmarking/bench_packages.py 2>&1
|
||||
done
|
|
@ -0,0 +1,4 @@
|
|||
Bug-Database: https://github.com/executablebooks/markdown-it-py/issues
|
||||
Bug-Submit: https://github.com/executablebooks/markdown-it-py/issues/new
|
||||
Repository: https://github.com/executablebooks/markdown-it-py.git
|
||||
Repository-Browse: https://github.com/executablebooks/markdown-it-py
|
|
@ -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/markdown-it-py/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
|
Loading…
Reference in New Issue