[arch-commits] Commit in python-myst-parser/repos/community-any (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Thu Apr 7 10:57:09 UTC 2022


    Date: Thursday, April 7, 2022 @ 10:57:08
  Author: alerque
Revision: 1182789

archrelease: copy trunk to community-any

Added:
  python-myst-parser/repos/community-any/PKGBUILD
    (from rev 1182788, python-myst-parser/trunk/PKGBUILD)
Deleted:
  python-myst-parser/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-07 10:57:01 UTC (rev 1182788)
+++ PKGBUILD	2022-04-07 10:57:08 UTC (rev 1182789)
@@ -1,38 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=MyST-Parser
-pkgname=python-myst-parser
-pkgver=0.15.2
-pkgrel=3
-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')
-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')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python -m pytest -k 'not test_sphinx_builds and not test_fixtures'
-}
-
-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-myst-parser/repos/community-any/PKGBUILD (from rev 1182788, python-myst-parser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-07 10:57:08 UTC (rev 1182789)
@@ -0,0 +1,39 @@
+# 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.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-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-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 -m build -wn
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python -m pytest -k 'not test_sphinx_builds and not fixtures and not test_myst_config'
+}
+
+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