void-packages/srcpkgs/python-pgpdump/template
2021-05-09 17:35:16 -03:00

26 lines
686 B
Bash

# Template file for 'python-pgpdump'
pkgname=python-pgpdump
version=1.5
revision=9
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 library for parsing PGP packets"
maintainer="Duncaen <mail@duncano.de>"
license="BSD-3-Clause"
homepage="https://github.com/toofishes/python-pgpdump"
distfiles="https://github.com/toofishes/python-pgpdump/archive/${version}.tar.gz"
checksum=05383f66e467e855299d1ed51161c6038ac338d9d10bd33476b574dc3bef64ff
post_install() {
vlicense COPYRIGHT
}
python3-pgpdump_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}