aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-gnupg/APKBUILD
blob: e324b1f765b9b99d615e108dff215526804a5ef1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                               
            
        





                                                                    
                         







                                                                                   
                                      





                                                               
                                                                                                                                                                        
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-gnupg
pkgver=0.4.7
pkgrel=0
pkgdesc="A Python3 wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
url="https://gnupg.readthedocs.io/en/latest/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 gnupg"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/p/python-gnupg/python-gnupg-$pkgver.tar.gz"
builddir="$srcdir/python-gnupg-$pkgver"

build() {
	python3 setup.py build
}

check() {
	NO_EXTERNAL_TESTS=no pytest -v
}

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

sha512sums="e590778affd3f864bac2221e1ce7c4a37ba257e7112e023d70617f3f3c7597dbeb2974db0ed611b2fc75a071678ae8856be4a3b3f48428a12b42c2f1125fdce5  python-gnupg-0.4.7.tar.gz"