python3-md2gemini: update to 1.9.1.

This commit is contained in:
Bnyro 2023-08-08 11:10:05 +02:00 committed by Duncan Overbruck
parent 0166d25cdd
commit 9982de9ad3
2 changed files with 20 additions and 8 deletions

View File

@ -0,0 +1,17 @@
the test is broken on upstream
--
diff --git a/tests/test_links.py b/tests/test_links.py
index bae3ce3..93d9d5d 100644
--- a/tests/test_links.py
+++ b/tests/test_links.py
@@ -133,9 +133,8 @@ Text before
> quote with newline link in it
>
-> link[1]
-=> https://example.com 1: https://example.com
+=> https://example.com link
Text after
""".strip()

View File

@ -1,7 +1,7 @@
# Template file for 'python3-md2gemini' # Template file for 'python3-md2gemini'
pkgname=python3-md2gemini pkgname=python3-md2gemini
version=1.9.0 version=1.9.1
revision=2 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools python3-mistune2 python3-cjkwrap hostmakedepends="python3-setuptools python3-mistune2 python3-cjkwrap
python3-wcwidth" python3-wcwidth"
@ -12,9 +12,4 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
license="LGPL-3.0-only" license="LGPL-3.0-only"
homepage="https://github.com/makeworld-the-better-one/md2gemini" homepage="https://github.com/makeworld-the-better-one/md2gemini"
distfiles="${PYPI_SITE}/m/md2gemini/md2gemini-${version}.tar.gz" distfiles="${PYPI_SITE}/m/md2gemini/md2gemini-${version}.tar.gz"
checksum=775cee2be36aa0f4b7ea2861f2ac7d80e113f78b40a58f92192b6c73f6c84e75 checksum=5eb783aaacc7dd443e44804eaef1e96816fb3d770f3e9b63431e5c8e923e5734
post_install() {
# remove tests directory polluting site-packages
rm -r $DESTDIR/usr/lib/python*/site-packages/tests
}