[arch-commits] Commit in python-cmarkgfm/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Sep 5 09:28:02 UTC 2022
Date: Monday, September 5, 2022 @ 09:28:02
Author: alerque
Revision: 1292991
upgpkg: python-cmarkgfm 0.8.0-2; rebuild for cmark-gfm-0.29.0.gfm.5
Modified:
python-cmarkgfm/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-05 09:12:33 UTC (rev 1292990)
+++ PKGBUILD 2022-09-05 09:28:02 UTC (rev 1292991)
@@ -10,7 +10,7 @@
license=('MIT')
arch=('x86_64')
depends=('cmark-gfm' 'python-cffi')
-makedepends=('cmark-gfm' 'python-build' 'python-installer' 'python-setuptools' 'python-cffi' 'python-wheel')
+makedepends=('cmark-gfm' 'cython' 'python-build' 'python-installer' 'python-setuptools' 'python-cffi' 'python-wheel')
checkdepends=('python-pytest')
# Upstream did not tag the version on GitHub to match PyPi, see https://github.com/theacodes/cmarkgfm/issues/51
# source=("https://github.com/theacodes/cmarkgfm/archive/$pkgver/$pkgname-$pkgver.tar.gz")
@@ -30,7 +30,7 @@
check() {
cd cmarkgfm-$pkgver
- local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_pyver}" pytest
}
More information about the arch-commits
mailing list