[arch-commits] Commit in python-myst-parser/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Apr 7 10:57:01 UTC 2022
Date: Thursday, April 7, 2022 @ 10:57:01
Author: alerque
Revision: 1182788
upgpkg: python-myst-parser 0.17.0-1
Modified:
python-myst-parser/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-07 10:39:20 UTC (rev 1182787)
+++ PKGBUILD 2022-04-07 10:57:01 UTC (rev 1182788)
@@ -1,36 +1,37 @@
# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Caleb Maclennana <caleb at alerque.com>
_pkgname=MyST-Parser
pkgname=python-myst-parser
-pkgver=0.15.2
-pkgrel=3
+pkgver=0.17.0
+pkgrel=1
pkgdesc='An extended commonmark compliant parser, with bridges to docutils/sphinx'
arch=('any')
url='https://github.com/executablebooks/MyST-Parser'
license=('MIT')
-depends=('python-markdown-it-py' 'python-mdit_py_plugins' 'python-yaml' 'python-docutils' 'python-sphinx' 'python-jinja')
+depends=('python-docutils' 'python-jinja' 'python-markdown-it-py' 'python-mdit_py_plugins' 'python-typing_extensions' 'python-sphinx' 'python-yaml')
optdepends=('python-linkify-it-py: linkify support')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-regressions' 'python-beautifulsoup4' 'python-linkify-it-py')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('2426a36672bd7ab7c956199f191f3e3b6242efcb2897ebb5dc720f8a4e7ef7a97568ac8c671d32842b91aa4bf367c08c55e26b35f32a955d2f89b15d324920aa')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-beautifulsoup4' 'python-linkify-it-py' 'python-pytest' 'python-pytest-param-files' 'python-pytest-regressions')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e9f4ea05ab55b0979b26f0211603aee0835a30fb37a0ca23f23b96e0b47670b6b8e443ee9759df5011d009e20d817eaffd4066c4be4920f96786c283aa206239')
build() {
cd $_pkgname-$pkgver
- python setup.py build
+ python -m build -wn
}
check() {
cd $_pkgname-$pkgver
- python -m pytest -k 'not test_sphinx_builds and not test_fixtures'
+ python -m pytest -k 'not test_sphinx_builds and not fixtures and not test_myst_config'
}
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