Date: Tuesday, November 1, 2022 @ 20:50:31
  Author: felixonmars
Revision: 1340324

upgpkg: python-latex2mathml 3.74.0-1

Modified:
  python-latex2mathml/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-01 20:49:01 UTC (rev 1340323)
+++ PKGBUILD    2022-11-01 20:50:31 UTC (rev 1340324)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-latex2mathml
-pkgver=3.73.1
+pkgver=3.74.0
 pkgrel=1
 pkgdesc="Pure Python library for LaTeX to MathML conversion"
 url="https://github.com/roniemartinez/latex2mathml";
@@ -8,9 +8,10 @@
 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=('4525e1cb8f3733c9adf875ed79e18eb862930458ad429989de48e7fba250d7cabd943aa58afd91ac543691d6837e442490cdc66e7ea44826c326dedf1e673054')
+sha512sums=('d233ea2aa6fe90542b9ce695a3ffb3f0fcffc97ed112b370665f7aebba3a710a87307241b24f3111bf6e055d0a827274d32c9649228110c74199969c12f53e15')
 
 prepare() {
   cd latex2mathml-$pkgver
@@ -19,7 +20,7 @@
 
 build() {
   cd latex2mathml-$pkgver
-  python setup.py build
+  python -m build -nw
 }
 
 check() {
@@ -29,7 +30,6 @@
 
 package() {
   cd latex2mathml-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
+  python -m installer -d "$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to