20 lines
611 B
Plaintext
20 lines
611 B
Plaintext
# Description: Markdown to reStructuredText converter
|
|
# URL: https://github.com/miyakogi/m2r
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-build python3-docutils python3-installer python3-mistune0 python3-wheel
|
|
|
|
name=python3-m2r
|
|
version=0.3.1
|
|
release=1
|
|
source=(https://github.com/miyakogi/m2r/archive/v$version/$name-$version.tar.gz
|
|
2003_mistune0.patch)
|
|
|
|
build() {
|
|
cd m2r-$version
|
|
|
|
patch -Np1 -i $SRC/2003_mistune0.patch
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|