21 lines
555 B
Plaintext
21 lines
555 B
Plaintext
# Description: A fast yet powerful Python Markdown parser with renderers and plugins
|
|
# URL: https://github.com/lepture/mistune
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-mistune0
|
|
version=0.8.4
|
|
release=2
|
|
source=(https://github.com/lepture/mistune/archive/v$version/$name-$version.tar.gz
|
|
patch-setup.py)
|
|
|
|
build() {
|
|
cd mistune-$version
|
|
|
|
patch -Np0 -i $SRC/patch-setup.py
|
|
mv mistune.py mistune0.py
|
|
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --optimize=1 --root=$PKG
|
|
}
|