Date: Tuesday, May 16, 2023 @ 21:26:39 Author: felixonmars Revision: 1462789
archrelease: copy trunk to community-any Added: python-latex2mathml/repos/community-any/PKGBUILD (from rev 1462788, python-latex2mathml/trunk/PKGBUILD) Deleted: python-latex2mathml/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-16 21:26:31 UTC (rev 1462788) +++ PKGBUILD 2023-05-16 21:26:39 UTC (rev 1462789) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-latex2mathml -pkgver=3.75.2 -pkgrel=2 -pkgdesc="Pure Python library for LaTeX to MathML conversion" -url="https://github.com/roniemartinez/latex2mathml" -license=('MIT') -arch=('any') -depends=('python-setuptools') -makedepends=('python-build' 'python-installer' 'python-poetry-core') -checkdepends=('python-pytest' 'python-multidict' 'python-xmljson') -source=("https://github.com/roniemartinez/latex2mathml/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('a2f27f9ea678327ed4af3a5be3077aeb6426b220902f0859df33f453f8adaddd56dc3521fc052e27e00285f1d4b0397c81b8939e495f4cc3c616de4bb1511f74') - -prepare() { - cd latex2mathml-$pkgver - sed -i '/--cov/d' pyproject.toml -} - -build() { - cd latex2mathml-$pkgver - python -m build -nw -} - -check() { - cd latex2mathml-$pkgver - pytest -} - -package() { - cd latex2mathml-$pkgver - python -m installer -d "$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-latex2mathml/repos/community-any/PKGBUILD (from rev 1462788, python-latex2mathml/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-16 21:26:39 UTC (rev 1462789) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-latex2mathml +pkgver=3.75.3 +pkgrel=1 +pkgdesc="Pure Python library for LaTeX to MathML conversion" +url="https://github.com/roniemartinez/latex2mathml" +license=('MIT') +arch=('any') +depends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-poetry-core') +checkdepends=('python-pytest' 'python-multidict' 'python-xmljson') +source=("https://github.com/roniemartinez/latex2mathml/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('bf2d0e54f0d7640818cbfd27238a9fd9471ecbf591566b685d729d9596eca0574cbf43cc5c642947dc2f780e1990095ac7d814ccb31062a25b81b0ffea67c04e') + +prepare() { + cd latex2mathml-$pkgver + sed -i '/--cov/d' pyproject.toml +} + +build() { + cd latex2mathml-$pkgver + python -m build -nw +} + +check() { + cd latex2mathml-$pkgver + pytest +} + +package() { + cd latex2mathml-$pkgver + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}