Commit b0765ad4 authored by Kevin Daudt's avatar Kevin Daudt

testing/py-jedi: run tests

parent 7561c6a9
......@@ -9,6 +9,7 @@ url="https://pypi.org/project/jedi"
arch="noarch"
license="MIT"
makedepends="py3-setuptools python3-dev"
checkdepends="pytest py-parso py-tox"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py3-jedi"
......@@ -17,6 +18,14 @@ build() {
python3 setup.py build
}
_getpythonver(){
echo $(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
}
check() {
tox -e py$(_getpythonver)
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment