From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../recipes-devtools/python/python-pygpgme_0.3.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 external/meta-python2/recipes-devtools/python/python-pygpgme_0.3.bb (limited to 'external/meta-python2/recipes-devtools/python/python-pygpgme_0.3.bb') diff --git a/external/meta-python2/recipes-devtools/python/python-pygpgme_0.3.bb b/external/meta-python2/recipes-devtools/python/python-pygpgme_0.3.bb new file mode 100644 index 00000000..14e967db --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python-pygpgme_0.3.bb @@ -0,0 +1,26 @@ +SUMMARY = "A Python module for working with OpenPGP messages" +DESCRIPTION = "PyGPGME is a Python module that lets you sign, verify, \ + encrypt and decrypt messages using the OpenPGP format." +HOMEPAGE = "https://launchpad.net/pygpgme" + +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=6517bdc8f2416f27ab725d4702f7aac3" + +SRC_URI = "file://run-ptest \ + file://0001-reflect-2.1-reporting-for-key-imports.patch \ + file://0002-passphrase_cb-is-deprecated.patch \ + file://0003-handle-generic-error-when-no-passphrase-callback-pre.patch \ +" + +SRC_URI[md5sum] = "d38355af73f0352cde3d410b25f34fd0" +SRC_URI[sha256sum] = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1" + +DEPENDS += "gpgme" +RDEPENDS_${PN} += "gnupg" + +inherit pypi setuptools ptest + +do_install_ptest(){ + install ${S}/test_all.py ${D}${PTEST_PATH} + cp -r ${S}/tests ${D}${PTEST_PATH} +} -- cgit 1.2.3-korg