2020-09-10 04:36:48 +00:00
|
|
|
# Template file for 'python3-md2gemini'
|
|
|
|
pkgname=python3-md2gemini
|
|
|
|
version=1.8.1
|
2021-12-02 15:32:37 +00:00
|
|
|
revision=2
|
2020-09-10 04:36:48 +00:00
|
|
|
wrksrc="md2gemini-${version}"
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools python3-mistune2 python3-cjkwrap
|
|
|
|
python3-wcwidth"
|
|
|
|
depends="python3-mistune2 python3-cjkwrap python3-wcwidth"
|
|
|
|
checkdepends="$depends python3-pytest"
|
|
|
|
short_desc="Converter from Markdown to the Gemini text format"
|
|
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
|
|
license="LGPL-3.0-only"
|
|
|
|
homepage="https://github.com/makeworld-the-better-one/md2gemini"
|
|
|
|
distfiles="${PYPI_SITE}/m/md2gemini/md2gemini-${version}.tar.gz"
|
|
|
|
checksum=3ef2bd2d9e2b4968a844a2858f721348429f3a0b5976bd1c324198538103ca55
|
2021-12-02 15:32:37 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# remove tests directory polluting site-packages
|
|
|
|
rm -r $DESTDIR/usr/lib/python*/site-packages/tests
|
|
|
|
}
|