summaryrefslogtreecommitdiff
path: root/community/py3-secretstorage/APKBUILD
blob: 5900c090c009f6bef51fe1f192eef76fc6c00c64 (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
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-secretstorage
_pkgname=SecretStorage
pkgver=3.3.3
pkgrel=1
pkgdesc="Python bindings to Freedesktop.org Secret Service API"
url="https://github.com/mitya57/secretstorage"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-cryptography py3-jeepney"
makedepends="py3-setuptools"
source=" https://files.pythonhosted.org/packages/source/S/SecretStorage/SecretStorage-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	# can't run gnome keyring during build, so at least check importing
	PYTHONPATH=build/lib python3 -c "import secretstorage"
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
9a048c8245cfb01babebdd85dbbe84f9634b9b28188f7d11d3abad841109cfa307861de05e529199e409e595864ff3e097fcc961fcff210040d214a50f932f6e  SecretStorage-3.3.3.tar.gz
"