void-packages/srcpkgs/python3-md2gemini/template
2021-12-03 00:04:09 +01:00

21 lines
797 B
Bash

# Template file for 'python3-md2gemini'
pkgname=python3-md2gemini
version=1.8.1
revision=2
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
post_install() {
# remove tests directory polluting site-packages
rm -r $DESTDIR/usr/lib/python*/site-packages/tests
}