New package: python-gpg-1.8.0

Closes #9283.
This commit is contained in:
Felix Van der Jeugt 2017-11-17 13:54:13 +01:00 committed by Enno Boland
parent 97708494fa
commit 1af1edaeae
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Template file for 'python-gpg'
pkgname=python-gpg
version=1.8.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, GPL-2"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
homepage="https://www.gnupg.org"
distfiles="${PYPI_SITE}/g/gpg/gpg-${version}.tar.gz"
checksum=cd26e8a77c907e0d9f14a627bf71729456fd26aa2d1f4d275b808d70b089e4f4
python3-gpg_package() {
pycompile_module="gpg"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

1
srcpkgs/python3-gpg Symbolic link
View File

@ -0,0 +1 @@
python-gpg