blob: dff16563579107182923a27b9ff05c32823a13e4 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Maintainer: envolution
# Contributor: mdaniels5757 <arch at mdaniels dot me>
# Contributor: ejiek <ejiek@mail.ru>
# Contributor: jskier <jay @jskier.com>
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=keeper-commander
pkgver=17.0.13
pkgrel=1
epoch=1
pkgdesc="CLI, SDK and interactive shell for KeeperĀ® Password Manager."
arch=('any')
url="https://github.com/Keeper-Security/Commander"
license=('MIT')
depends=('python'
'python-asciitree'
'python-bcrypt'
'python-colorama'
'python-prompt_toolkit'
'python-pycryptodomex'
'python-pyperclip'
'python-pysocks'
'python-tabulate'
'python-websockets'
'python-fido2'
'python-requests'
'keeper-secrets-manager-core>=16.6.0'
'python-aiortc'
'python-protobuf'
'python-cryptography'
'python-pykeepass'
'python-pydantic'
'python-ldap3'
'python-botocore'
'python-paramiko'
'python-pexpect'
'python-google-auth'
'python-certifi'
'python-boto3'
'python-flask-limiter'
'python-pyngrok'
'python-dotenv'
'python-psutil'
'python-yaml'
'python-google-api-python-client'
)
makedepends=(
'python-installer'
'python-build'
'python-setuptools'
'python-setuptools-scm'
)
checkdepends=('python-ifaddr' 'python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('06f0aa62abd79ed3a04dce8f6e9543040cc265d75337278fbb5667f431890632fc3c777be226bc737baeb514b190453d0febafc8ab9e514d844d3478cddbd1dc')
build() {
cd "Commander-$pkgver"
python -m build --wheel --no-isolation
}
check() {
cd "Commander-$pkgver"
python -m pytest -s -v -k \
"not test_forward_data_to_tunnel_generic_exception and \
not test_add_enterprise_user and \
not test_commands and \
not test_report_commands and \
not test_quoting and \
not test_service_status_when_running and \
not test_vault_reports"
}
package() {
cd "Commander-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|