# Template file for 'python-pgpdump'
pkgname=python-pgpdump
version=1.5
revision=3
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="pgpdump"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
short_desc="Python2 library for parsing PGP packets"
maintainer="Duncaen <mail@duncano.de>"
license="BSD"
homepage="https://github.com/toofishes/python-pgpdump"
distfiles="https://github.com/toofishes/python-pgpdump/archive/${version}.tar.gz"
checksum=05383f66e467e855299d1ed51161c6038ac338d9d10bd33476b574dc3bef64ff

python3.4-pgpdump_package() {
	noarch=yes
	depends="python3.4"
	pycompile_version="3.4"
	pycompile_module="pgpdump"
	short_desc="${short_desc/Python2/Python3.4}"
	pkg_install() {
		vmove usr/lib/python3.4
	}
}
