[arch-commits] Commit in python-latex2mathml/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 10 12:56:10 UTC 2022
Date: Saturday, September 10, 2022 @ 12:56:10
Author: felixonmars
Revision: 1298878
archrelease: copy trunk to community-any
Added:
python-latex2mathml/repos/community-any/PKGBUILD
(from rev 1298877, python-latex2mathml/trunk/PKGBUILD)
Deleted:
python-latex2mathml/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 35 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-10 12:55:52 UTC (rev 1298877)
+++ PKGBUILD 2022-09-10 12:56:10 UTC (rev 1298878)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-latex2mathml
-pkgver=3.63.2
-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=('baba4fc38b7b8fe2184991119b6d36e00c3526846f6d06bf1f4c17ed3c5365bad1074eaa93195f667ec69136a0bd59a6334f2aaf649f773239032b6e289ee401')
-
-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/
-}
Copied: python-latex2mathml/repos/community-any/PKGBUILD (from rev 1298877, python-latex2mathml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-10 12:56:10 UTC (rev 1298878)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-latex2mathml
+pkgver=3.63.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')
+checkdepends=('python-pytest' 'python-multidict' 'python-xmljson')
+source=("https://github.com/roniemartinez/latex2mathml/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('83c0f356001fa7c6a1c4e63c0e2b82e4ab57606735cf73f375a62a796871f8829512affc5785255e3dcdc4e913400f46501ae0731ec1f0b27b8200874c71fdc3')
+
+prepare() {
+ cd latex2mathml-$pkgver
+ sed -i 's/--cov=latex2mathml --cov-report term-missing --cov-report=xml --cov-report=html//' pyproject.toml
+}
+
+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