Commit 1358b7d8 authored by Iskren Chernev's avatar Iskren Chernev Committed by Leo
Browse files

testing/py3-dt-schema: upgrade to 2021.02.1

And run tests in check
parent eb7ac563
# Contributor: Iskren Chernev <iskren.chernev@gmail.com>
# Maintainer: Iskren Chernev <iskren.chernev@gmail.com>
pkgname=py3-dt-schema
pkgver=2020.12
pkgver=2021.02.1
pkgrel=0
pkgdesc="Devicetree schema tools"
url="https://github.com/devicetree-org/dt-schema"
......@@ -12,8 +12,6 @@ makedepends="py3-setuptools py3-pip"
source="dt-schema-$pkgver.tar.gz::https://github.com/devicetree-org/dt-schema/archive/v$pkgver.tar.gz"
builddir="$srcdir/dt-schema-$pkgver"
options="!check" # No tests
build() {
SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python3 setup.py build
}
......@@ -21,4 +19,9 @@ build() {
package() {
SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="45c32de66a208cdfff8ea9ca8601a01dbeebb4e0509d55c124da837ef99c7a7c911514b71dbbdca061b7e8e9012557648c7b32b156637be23e53e8ae4e671b35 dt-schema-2020.12.tar.gz"
check() {
PYTHONPATH=. python3 test/test-dt-validate.py
}
sha512sums="6239ba9a6ca66c0d720fc348099106895341a93a3c1d2f810602df232f50e83ac39a6691a6eb081d52a24dd37272ef72071c5bf2dfee1760acab2f37cd63febf dt-schema-2021.02.1.tar.gz"
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