blob: 74e0c6eb06b47284aa0f9b6078cb04c1587a83f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skills-manager
pkgver=0.9.0
pkgrel=1
pkgdesc="Mycroft Skills Manager"
url="https://github.com/MycroftAI/mycroft-skills-manager"
arch="noarch"
license="Apache-2.0"
depends="
py3-fasteners
py3-gitpython
py3-lazy
py3-pako
py3-requests
py3-xdg
py3-yaml
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/MycroftAI/mycroft-skills-manager/archive/refs/tags/release/v$pkgver.tar.gz"
# net required for tests
options="net"
builddir="$srcdir/$pkgname-release-v$pkgver"
build() {
python3 setup.py build
}
check() {
# test_main is broken, https://github.com/MycroftAI/mycroft-skills-manager/issues/80
PYTHONPATH="$PWD/build/lib" pytest -k 'not test_main and not test_from_folder'
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
b7888f14c8ee0df01686311ef092bac5716a2fa192a12d271419b14096c67af43dfa93d41e1156fd6fe85a6575ec6953728eff742770f398d55599f53a77e712 mycroft-skills-manager-0.9.0.tar.gz
"
|