27 lines
720 B
Bash
27 lines
720 B
Bash
# Template file for 'python3-markdown2'
|
|
pkgname=python3-markdown2
|
|
version=2.4.0
|
|
revision=3
|
|
wrksrc=python-markdown2-$version
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
short_desc="Fast and complete implementation of Markdown in Python3"
|
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
|
license="MIT"
|
|
homepage="https://github.com/trentm/python-markdown2"
|
|
distfiles="https://github.com/trentm/python-markdown2/archive/${version}.tar.gz"
|
|
checksum=372fc64b1a6f949fb6379cc0fdb47c832b875b575d50b9c641d09c4971ca9f30
|
|
|
|
do_check() {
|
|
PY3PATH="${PWD}/build/lib"
|
|
|
|
cd test
|
|
PYTHONPATH="${PY3PATH}" python3 test.py -- -knownfailure
|
|
}
|
|
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|