From 1af1edaeaefd3519ae6266788ea4b8da3262cbdd Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Fri, 17 Nov 2017 13:54:13 +0100 Subject: [PATCH] New package: python-gpg-1.8.0 Closes #9283. --- srcpkgs/python-gpg/template | 23 +++++++++++++++++++++++ srcpkgs/python3-gpg | 1 + 2 files changed, 24 insertions(+) create mode 100644 srcpkgs/python-gpg/template create mode 120000 srcpkgs/python3-gpg diff --git a/srcpkgs/python-gpg/template b/srcpkgs/python-gpg/template new file mode 100644 index 00000000000..2bc6008ad98 --- /dev/null +++ b/srcpkgs/python-gpg/template @@ -0,0 +1,23 @@ +# 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 " +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* + } +} diff --git a/srcpkgs/python3-gpg b/srcpkgs/python3-gpg new file mode 120000 index 00000000000..9484361517f --- /dev/null +++ b/srcpkgs/python3-gpg @@ -0,0 +1 @@ +python-gpg \ No newline at end of file