31 lines
779 B
Bash
31 lines
779 B
Bash
# Template file for 'python-gnupg'
|
|
pkgname=python-gnupg
|
|
version=0.4.5
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python-module
|
|
pycompile_module="gnupg.py"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python gnupg"
|
|
short_desc="Python2 wrapper for GnuPG"
|
|
maintainer="Lon Willett <xgit@lonw.net>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://bitbucket.org/vinay.sajip/python-gnupg"
|
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=3353e59949cd2c15efbf1fca45e347d8a22f4bed0d93e9b89b2657bda19cec05
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-gnupg_package() {
|
|
depends="python3 gnupg"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pycompile_module="gnupg.py"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|