aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIskren Chernev <iskren.chernev@gmail.com>2020-05-08 22:46:40 +0300
committerRasmus Thomsen <oss@cogitri.dev>2020-05-14 16:22:10 +0000
commit77c516404cf4b62d776cc28163c195c2334ac3d4 (patch)
tree550db862e76e507ad636c76e079e6ae6a1e52c56
parent3bb75420671fba40c14d3de0f67f9af8be8d16e3 (diff)
downloadaports-77c516404cf4b62d776cc28163c195c2334ac3d4.tar.gz
aports-77c516404cf4b62d776cc28163c195c2334ac3d4.tar.bz2
aports-77c516404cf4b62d776cc28163c195c2334ac3d4.tar.xz
testing/py3-dt-schema: new aport
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
-rw-r--r--testing/py3-dt-schema/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/py3-dt-schema/APKBUILD b/testing/py3-dt-schema/APKBUILD
new file mode 100644
index 0000000000..deeff43c5c
--- /dev/null
+++ b/testing/py3-dt-schema/APKBUILD
@@ -0,0 +1,24 @@
+# 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"