ayaports/backports/py3-gnupg/APKBUILD

32 lines
894 B
Text
Raw Normal View History

2021-11-30 21:44:44 +00:00
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-gnupg
2022-07-29 15:47:03 +00:00
pkgver=0.4.9
2021-11-30 21:44:44 +00:00
pkgrel=0
2022-07-29 15:47:03 +00:00
pkgdesc="Python3 wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
2021-11-30 21:44:44 +00:00
url="https://gnupg.readthedocs.io/en/latest/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 gnupg"
2022-07-29 15:47:03 +00:00
makedepends="py3-setuptools py3-wheel py3-build py3-installer"
2021-11-30 21:44:44 +00:00
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/p/python-gnupg/python-gnupg-$pkgver.tar.gz"
builddir="$srcdir/python-gnupg-$pkgver"
build() {
2022-07-29 15:47:03 +00:00
python3 -m build --no-isolation --wheel
2021-11-30 21:44:44 +00:00
}
check() {
NO_EXTERNAL_TESTS=no pytest -v
}
package() {
2022-07-29 15:47:03 +00:00
python3 -m installer -d "$pkgdir" \
dist/python_gnupg-$pkgver-py2.py3-none-any.whl
2021-11-30 21:44:44 +00:00
}
2022-07-29 15:47:03 +00:00
sha512sums="
e59685bea966addbfacfd5516601c518c9ccd7a828250584a00dca5c2062b30bd859ae73b467bd16db60abd800bd0b66f68177e56d3c48654416a294e72f3e8f python-gnupg-0.4.9.tar.gz
"