[arch-commits] Commit in python-mdit_py_plugins/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Thu Apr 7 10:39:13 UTC 2022


    Date: Thursday, April 7, 2022 @ 10:39:12
  Author: alerque
Revision: 1182786

upgpkg: python-mdit_py_plugins 0.3.0-1

Modified:
  python-mdit_py_plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-07 10:33:35 UTC (rev 1182785)
+++ PKGBUILD	2022-04-07 10:39:12 UTC (rev 1182786)
@@ -1,23 +1,24 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
 
 _pkgname=mdit-py-plugins
 pkgname=python-mdit_py_plugins
-pkgver=0.2.8
-pkgrel=3
+pkgver=0.3.0
+pkgrel=1
 pkgdesc='Collection of core plugins for markdown-it-py'
 arch=('any')
 url='https://github.com/executablebooks/mdit-py-plugins'
 license=('MIT')
 depends=('python-markdown-it-py')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
 checkdepends=('python-pytest' 'python-pytest-regressions')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('61a8f5f729e385faded47d88cef0745cb195f410a93382712a675a690f2fdf7518107370c09ee813756924acdd380b43b274fbb153c1600fabac46c2d0e3f426')
+sha512sums=('dd6aa738c6d93e45437326b1be52e0a9fc411aa3beacb61690919c272979c97ac1b38116b1ebb01c7d8fe724d4af9621c81ccd45131a690df8a2c0c325eef0e8')
 
 build() {
   cd $_pkgname-$pkgver
 
-  python setup.py build
+  python -m build -wn
 }
 
 check() {
@@ -29,7 +30,7 @@
 package() {
   cd $_pkgname-$pkgver
 
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer -d "$pkgdir" dist/*.whl
 
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list