diff options
author | Universebenzene | 2023-09-26 13:26:09 +0800 |
---|---|---|
committer | Universebenzene | 2023-09-26 13:26:09 +0800 |
commit | b1504996df1c58cde8014429f540eb82754b8c5a (patch) | |
tree | 043e8de3e09a1ec1f9c9182f250faa10c79f5785 /PKGBUILD | |
parent | 0c111ca93bd1e6117965701bcd1cd796259bcfa5 (diff) | |
download | aur-b1504996df1c58cde8014429f540eb82754b8c5a.tar.gz |
Update to version 0.4.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Astro Benzene <universebenzene at sina dot com> pkgname=python-pytest-remotedata _pyname=${pkgname#python-} -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=1 pkgdesc="Pytest plugin used for controlling access to data files hosted online" arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools-scm' 'python-build' 'python-installer') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('8e7cff311898c945510b42e424906c00') +md5sums=('30a44b25501b3cdfe72c58cb17338ea7') get_pyver() { python -c "import sys; print('$1'.join(map(str, sys.version_info[:2])))" @@ -28,9 +28,10 @@ build() { check() { cd ${srcdir}/${_pyname}-${pkgver} + # ValueError: Pytest terminal summary report not found ln -rs ${srcdir}/${_pyname}-${pkgver}/${_pyname/-/_}*egg-info \ build/lib/${_pyname/-/_}-${pkgver}-py$(get_pyver .).egg-info - PYTHONPATH="build/lib" pytest --remote-data || warning "Tests failed" # -vv --color=yes + PYTHONPATH="build/lib" pytest || warning "Tests failed" # -vv -l -ra --color=yes -o console_output_style=count --remote-data } package() { |