Date: Monday, July 11, 2022 @ 00:16:37 Author: felixonmars Revision: 1249436
archrelease: copy trunk to community-any Added: python-ziamath/repos/community-any/PKGBUILD (from rev 1249435, python-ziamath/trunk/PKGBUILD) Deleted: python-ziamath/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-11 00:16:22 UTC (rev 1249435) +++ PKGBUILD 2022-07-11 00:16:37 UTC (rev 1249436) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-ziamath -pkgver=0.5 -pkgrel=1 -pkgdesc="Render MathML and LaTeX Math to SVG without Latex installation" -url="https://ziamath.readthedocs.io/" -license=('MIT') -arch=('any') -depends=('python-ziafont') -optdepends=('python-latex2mathml: for latex support') -makedepends=('python-setuptools') -checkdepends=('python-latex2mathml' 'python-nbval' 'python-pytest-runner') -source=("$pkgname-$pkgver.tar.gz::https://bitbucket.org/cdelker/ziamath/get/$pkgver.tar.bz2") -sha512sums=('1e23f8018758b0cd21585d2e37d43172a9c39e9c73151042166db9c11fe34a3a869870df0f1e2f591d38b2107e211af2ad4b593b3d53e0d9f647b7b123ddad4e') - -prepare() { - mv cdelker-ziamath-* ziamath-$pkgver -} - -build() { - cd ziamath-$pkgver - python setup.py build -} - -check() { - cd ziamath-$pkgver - python setup.py pytest --addopts --nbval || echo "Tests failed" -} - -package() { - cd ziamath-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-ziamath/repos/community-any/PKGBUILD (from rev 1249435, python-ziamath/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-11 00:16:37 UTC (rev 1249436) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-ziamath +pkgver=0.6 +pkgrel=1 +pkgdesc="Render MathML and LaTeX Math to SVG without Latex installation" +url="https://ziamath.readthedocs.io/" +license=('MIT') +arch=('any') +depends=('python-ziafont') +optdepends=('python-latex2mathml: for latex support') +makedepends=('python-setuptools') +checkdepends=('python-latex2mathml' 'python-nbval' 'python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://bitbucket.org/cdelker/ziamath/get/$pkgver.tar.bz2") +sha512sums=('0ef92988fec42e9bd3fe49cc16f1b4056a1c587cd54b58d744d6a6eb48ade68695637027fe2f9e9a9d43f3d2514bc7f879cba1eb1ddf9f92cbdde0100f9c11ad') + +prepare() { + mv cdelker-ziamath-* ziamath-$pkgver +} + +build() { + cd ziamath-$pkgver + python setup.py build +} + +check() { + cd ziamath-$pkgver + python setup.py pytest --addopts --nbval || echo "Tests failed" +} + +package() { + cd ziamath-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ +}