1af1edaeae
Closes #9283.
23 lines
736 B
Bash
23 lines
736 B
Bash
# 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*
|
|
}
|
|
}
|