Commit 77c51640 authored by Iskren Ivov Chernev's avatar Iskren Ivov Chernev Committed by Rasmus Thomsen

testing/py3-dt-schema: new aport

Signed-off-by: Iskren Ivov Chernev's avatarIskren Chernev <iskren.chernev@gmail.com>
parent 3bb75420
# Contributor: Iskren Chernev <iskren.chernev@gmail.com>
# Maintainer: Iskren Chernev <iskren.chernev@gmail.com>
pkgname=py3-dt-schema
pkgver=2020.05
pkgrel=0
pkgdesc="Devicetree schema tools"
url="https://github.com/devicetree-org/dt-schema"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-ruamel.yaml py3-jsonschema py3-rfc3987"
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
}
package() {
SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="85b2a614e5424da4b20002935c0973f66febc12dd96c1497d548cb7fca67a5f2a1b48d5ef297e0dab33a95682aa08626a8304f5ea6f18b875d689f7f964ae089 dt-schema-2020.05.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