diff --git a/srcpkgs/python-gnupg/template b/srcpkgs/python-gnupg/template new file mode 100644 index 00000000000..efa6b44b329 --- /dev/null +++ b/srcpkgs/python-gnupg/template @@ -0,0 +1,25 @@ +# Template file for 'python-gnupg' +pkgname=python-gnupg +version=0.4.1 +revision=1 +noarch=yes +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +depends="python gnupg" +pycompile_module="gnupg.py" +short_desc="Python2 wrapper for GnuPG" +maintainer="Lon Willett " +license="GPL-3" +homepage="https://bitbucket.org/vinay.sajip/python-gnupg" +distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=ef47b02eaf41dee3cf4b02ddf83130827318de9fe3eae89d01a3f05859e20e1a + +python3-gnupg_package() { + depends="python3 gnupg" + short_desc="${short_desc/Python2/Python3}" + pycompile_module="gnupg.py" + noarch=yes + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python-gnupg/update b/srcpkgs/python-gnupg/update new file mode 100644 index 00000000000..1ddb53a8912 --- /dev/null +++ b/srcpkgs/python-gnupg/update @@ -0,0 +1,3 @@ +package="python-gnupg" +site="https://pypi.python.org/pypi/python-gnupg" +pattern='python-gnupg \K[\d.]+' diff --git a/srcpkgs/python3-gnupg b/srcpkgs/python3-gnupg new file mode 120000 index 00000000000..03e85363c37 --- /dev/null +++ b/srcpkgs/python3-gnupg @@ -0,0 +1 @@ +python-gnupg \ No newline at end of file