blob: 91c556d13cbb9762029b9d14dd1c6abdf80458de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Henry-ZHR <henry-zhr@qq.com>
pkgname=python-mdtex2html
pkgver=1.3.0
pkgrel=1
pkgdesc="python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML"
arch=('any')
url="https://github.com/polarwinkel/mdtex2html"
license=('LGPL-2.1-only')
depends=('python'
'python-markdown'
'python-latex2mathml')
makedepends=('git'
'python-build'
'python-setuptools'
'python-wheel'
'python-installer')
_tag='d2bac059c93971614c82430c202616bb02423f4a' # git rev-parse "v${pkgver}"
source=("${pkgname}::git+${url}.git#tag=${_tag}")
sha512sums=('SKIP')
build() {
cd "${pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|