void-packages/srcpkgs/python-gnupg/template
Lon Willett e6c98c894e New package: python-gnupg-0.4.1
Python wrapper for the GNU Privacy Guard

Closes: #7586 [via git-merge-pr]
2017-10-15 17:43:34 -07:00

25 lines
703 B
Bash

# Template file for 'python-gnupg'
pkgname=python-gnupg
version=0.4.1
revision=1
noarch=yes
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"
homepage="https://bitbucket.org/vinay.sajip/python-gnupg"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=ef47b02eaf41dee3cf4b02ddf83130827318de9fe3eae89d01a3f05859e20e1a
python3-gnupg_package() {
depends="python3 gnupg"
short_desc="${short_desc/Python2/Python3}"
pycompile_module="gnupg.py"
noarch=yes
pkg_install() {
vmove usr/lib/python3*
}
}