[arch-commits] Commit in python-mdit_py_plugins/repos/community-any (2 files)

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


    Date: Thursday, April 7, 2022 @ 10:39:20
  Author: alerque
Revision: 1182787

archrelease: copy trunk to community-any

Added:
  python-mdit_py_plugins/repos/community-any/PKGBUILD
    (from rev 1182786, python-mdit_py_plugins/trunk/PKGBUILD)
Deleted:
  python-mdit_py_plugins/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-07 10:39:12 UTC (rev 1182786)
+++ PKGBUILD	2022-04-07 10:39:20 UTC (rev 1182787)
@@ -1,37 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=mdit-py-plugins
-pkgname=python-mdit_py_plugins
-pkgver=0.2.8
-pkgrel=3
-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')
-checkdepends=('python-pytest' 'python-pytest-regressions')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('61a8f5f729e385faded47d88cef0745cb195f410a93382712a675a690f2fdf7518107370c09ee813756924acdd380b43b274fbb153c1600fabac46c2d0e3f426')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python -m pytest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-mdit_py_plugins/repos/community-any/PKGBUILD (from rev 1182786, python-mdit_py_plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-07 10:39:20 UTC (rev 1182787)
@@ -0,0 +1,38 @@
+# 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.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-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=('dd6aa738c6d93e45437326b1be52e0a9fc411aa3beacb61690919c272979c97ac1b38116b1ebb01c7d8fe724d4af9621c81ccd45131a690df8a2c0c325eef0e8')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build -wn
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python -m pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list