[arch-commits] Commit in python-latex2mathml/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Aug 4 21:07:35 UTC 2021


    Date: Wednesday, August 4, 2021 @ 21:07:34
  Author: felixonmars
Revision: 993772

archrelease: copy trunk to community-any

Added:
  python-latex2mathml/repos/community-any/
  python-latex2mathml/repos/community-any/PKGBUILD
    (from rev 993771, python-latex2mathml/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-latex2mathml/repos/community-any/PKGBUILD (from rev 993771, python-latex2mathml/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-08-04 21:07:34 UTC (rev 993772)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-latex2mathml
+pkgver=3.61.0
+pkgrel=1
+pkgdesc="Pure Python library for LaTeX to MathML conversion"
+url="https://github.com/roniemartinez/latex2mathml"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-cov' 'python-multidict' 'python-xmljson')
+source=("https://github.com/roniemartinez/latex2mathml/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a8ae799ff5d24ee92ab89e47dee53e29cd78022484666925c845b7ae1e68f520a779b8c5bd6c36396ecc499cf99319a5ca727d2568e2f1560200c645a7f0a349')
+
+build() {
+  cd latex2mathml-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd latex2mathml-$pkgver
+  pytest
+}
+
+package() {
+  cd latex2mathml-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list