void-packages/srcpkgs/python-gpg/template
maxice8 1dd11e7601 python-gpg: update to 1.10.0.
Closes: #11663 [via git-merge-pr]
2018-03-21 23:04:31 -07:00

23 lines
757 B
Bash

# Template file for 'python-gpg'
pkgname=python-gpg
version=1.10.0
revision=1
wrksrc="gpg-${version}"
build_style=python-module
hostmakedepends="swig gpgme-devel python-devel python3-devel"
makedepends="libgpg-error-devel libassuan-devel ${hostmakedepends}"
pycompile_module="gpg"
short_desc="Python2 bindings for GPGME GnuPG cryptography library"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
homepage="https://www.gnupg.org"
distfiles="${PYPI_SITE}/g/gpg/gpg-${version}.tar.gz"
checksum=349214a866c84aa548bc35ed14eccd2ec9085b3958d5753a63a19a71a1f523ca
python3-gpg_package() {
pycompile_module="gpg"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}