forked from ports/contrib
23 lines
726 B
Plaintext
23 lines
726 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
|
|
#python3-pyproject2setuppy
|
|
|
|
name=python3-mistune
|
|
version=0.8.4
|
|
release=1
|
|
source=(https://github.com/lepture/mistune/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd mistune-$version
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --optimize=1 --root=$PKG
|
|
|
|
#echo 'build-backend = "setuptools.build_meta"' >> pyproject.toml
|
|
#/usr/bin/python3 -m pyproject2setuppy.main build
|
|
#/usr/bin/python3 -m pyproject2setuppy.main install --prefix=/usr \
|
|
# --root=$PKG \
|
|
# --skip-build
|
|
}
|