aports/testing/py3-sstash/APKBUILD
2024-08-30 23:23:53 +02:00

31 lines
982 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sstash
_pkgname=sstash
pkgver=0.17
pkgrel=9
pkgdesc="A python based on-disk secure stash"
url="https://github.com/realcr/sstash"
arch="noarch"
license="MIT"
depends="python3 py3-pynacl py3-click py3-jsonschema"
makedepends="py3-setuptools py3-pytest py3-pytest-runner py3-gpep517"
options="!check" # PYPI tarball has no tests, GitHub has no releases
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
133b67875b002ac59c17fa8b21c3889108317083c32a6fb4858c3a6c970dc0c97ddfa1fa45d262bbc5d1f5c8210780083cbeb8c740c5f41b5862711eaf3867d5 sstash-0.17.tar.gz
"