void-packages/srcpkgs/python-gnupg/template

26 lines
714 B
Bash

# Template file for 'python-gnupg'
pkgname=python-gnupg
version=0.4.2
revision=1
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python gnupg"
pycompile_module="gnupg.py"
short_desc="Python2 wrapper for GnuPG"
maintainer="Lon Willett <xgit@lonw.net>"
license="GPL-3.0-or-later"
homepage="https://bitbucket.org/vinay.sajip/python-gnupg"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=5a54a6dd25bf78d3758dd7a1864f4efd122f9ca9402101d90e3ec4483ceafb73
noarch=yes
python3-gnupg_package() {
depends="python3 gnupg"
short_desc="${short_desc/Python2/Python3}"
pycompile_module="gnupg.py"
noarch=yes
pkg_install() {
vmove usr/lib/python3*
}
}