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

Filipe Laíns ffy00 at archlinux.org
Thu Apr 22 22:31:44 UTC 2021


    Date: Thursday, April 22, 2021 @ 22:31:44
  Author: ffy00
Revision: 921831

upgpkg: python-myst-parser 0.13.6-1

Modified:
  python-myst-parser/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-22 22:30:45 UTC (rev 921830)
+++ PKGBUILD	2021-04-22 22:31:44 UTC (rev 921831)
@@ -2,7 +2,7 @@
 
 _pkgname=MyST-Parser
 pkgname=python-myst-parser
-pkgver=0.13.5
+pkgver=0.13.6
 pkgrel=1
 pkgdesc='An extended commonmark compliant parser, with bridges to docutils/sphinx'
 arch=('any')
@@ -12,9 +12,17 @@
 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=('84c19654f818cb162d12c10b30e6c93652d523d37b3da07f3d61d366283c3b1f1d37a66a773a90b1af56b17e2963efb3cd062378ba8e3a4940c0f276151996ca')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+        "fix-tests.patch::$url/pull/320.patch")
+sha512sums=('c0f080e328c7c91fe110bc900dbbba560a61e1a8f6777d680d0a4ebd55c7d919cbf323a875967b614714ced45e1b45877bc01fbcb2dbd305006c6bd67530a138'
+            'f2af70ed802ccdc6605aed98d7acaf3ebba50dbc870daa84a56654ecf77775767fd778f09d40af6e067610b32906de5f19243decf177dc79324b6746c43ea0c1')
 
+prepare() {
+  cd $_pkgname-$pkgver
+
+  patch -p1 -i ../fix-tests.patch
+}
+
 build() {
   cd $_pkgname-$pkgver
 
@@ -24,7 +32,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  pytest -k 'not test_gettext'
+  python -m pytest -k 'not test_sphinx_builds'
 }
 
 package() {



More information about the arch-commits mailing list