aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-keyring/APKBUILD
blob: e8ff060231d7002c652ae9f62235adc506f16517 (plain) (blame)
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
# Maintainer: opal hart <opal@wowana.me>
pkgname=py3-keyring
pkgver=21.8.0
pkgrel=0
pkgdesc="Access the system keyring service from Python"
url="https://github.com/jaraco/keyring"
arch="noarch"
license="GPL-3.0-only"
depends="python3 py3-setuptools py3-entrypoints py3-secretstorage py3-jeepney"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/k/keyring/keyring-$pkgver.tar.gz"
builddir="$srcdir"/keyring-$pkgver

build() {
	python3 setup.py build
}

check() {
	rm -f pytest.ini
	python3 -m pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="941b505a69fb4bb592576bfef7c071c045b1a72a1c44368517801cc5241dd6992174e3fdaf43f2f44ab7d9e6f4a464ab4347b49ae69405dda378b9e0f6766bc6  keyring-21.8.0.tar.gz"