Skip to content
Snippets Groups Projects
Verified Commit a908f88a authored by Carl Smedstad's avatar Carl Smedstad
Browse files

upgpkg: 7.0.0-5: Drop unneeded checkdep python-pytest-cov

https://archlinux.org/todo/drop-python-pytest-cov-dependency-if-unneeded/:

Making the judgement call that deselecting two tests in order to drop the
dependency python-pytest-cov is worth it. Feel free to revert if you disagree.
parent 1c6a5b8a
No related branches found
Tags 0.2.0-5
No related merge requests found
pkgbase = python-rdflib
pkgdesc = A Python library for working with RDF, a simple yet powerful language for representing information
pkgver = 7.0.0
pkgrel = 4
pkgrel = 5
url = https://github.com/RDFLib/rdflib
arch = any
license = BSD-3-Clause
checkdepends = python-pytest-cov
checkdepends = python-pytest
checkdepends = python-html5lib
checkdepends = python-networkx
checkdepends = python-pip
......
......@@ -4,7 +4,7 @@
pkgname=python-rdflib
pkgver=7.0.0
pkgrel=4
pkgrel=5
pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
arch=('any')
url="https://github.com/RDFLib/rdflib"
......@@ -12,8 +12,7 @@ license=('BSD-3-Clause')
depends=('python-isodate' 'python-pyparsing' 'python-setuptools')
makedepends=('python-build' 'python-installer' 'python-poetry-core')
optdepends=('python-html5lib: for html support')
checkdepends=('python-pytest-cov' 'python-html5lib' 'python-networkx'
'python-pip')
checkdepends=('python-pytest' 'python-html5lib' 'python-networkx' 'python-pip')
source=(https://github.com/RDFLib/rdflib/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha512sums=('176192bd2ce8a400e661ced2e21e3dd35783fa1c6c8390f6dee4ac61ca63da5d3a50df3d287f47783631da12452ca3ec92ad06050417029396fe8b3ab0182041')
......@@ -26,8 +25,15 @@ check() {
cd rdflib-$pkgver
python -m venv --system-site-packages test-env
test-env/bin/python -m installer dist/*.whl
test-env/bin/python -m pytest -v \
--deselect test/test_misc/test_parse_file_guess_format.py::TestFileParserGuessFormat::test_warning # https://github.com/RDFLib/rdflib/issues/2748
local pytest_args=(
-v
# https://github.com/RDFLib/rdflib/issues/2748
--deselect=test/test_misc/test_parse_file_guess_format.py::TestFileParserGuessFormat::test_warning
# Requires python-pytest-cov.
--deselect=test/test_misc/test_plugins.py::test_parser
--deselect=test/test_misc/test_plugins.py::test_sparqleval
)
test-env/bin/python -m pytest "${pytest_args[@]}"
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment