From cc46014a49cc3722cc88efbfe61b3338938ccc71 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 27 Nov 2018 16:32:40 +0800 Subject: volume-key: 0.3.11 -> 0.3.12 Add PACKAGECONFIG to build with python3 rather than python2. Signed-off-by: Hongxu Jia Signed-off-by: Khem Raj --- .../volume_key/volume-key_0.3.11.bb | 34 ------------------- .../volume_key/volume-key_0.3.12.bb | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb create mode 100644 meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb b/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb deleted file mode 100644 index c41b20c45b..0000000000 --- a/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb +++ /dev/null @@ -1,34 +0,0 @@ -DESCRIPTION = "The volume_key project provides a libvolume_key, a library for manipulating \ -storage volume encryption keys and storing them separately from volumes, and an \ -associated command-line tool, named volume_key." -LICENSE = "GPLv2" -SECTION = "devel/lib" - -HOMEPAGE = "https://pagure.io/volume_key" - -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \ -" -SRC_URI[md5sum] = "30df56c7743eb7c965293b3d61194232" -SRC_URI[sha256sum] = "e6b279c25ae477b555f938db2e41818f90c8cde942b0eec92f70b6c772095f6d" - -SRCNAME = "volume_key" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit autotools python3native gettext - -DEPENDS += " \ - util-linux \ - glib-2.0 \ - cryptsetup \ - nss \ - gpgme \ - swig-native \ -" - -RDEPENDS_python3-${PN} += "${PN}" - -PACKAGES += "python3-${PN}" -FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" - diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb new file mode 100644 index 0000000000..398ca5c21b --- /dev/null +++ b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "The volume_key project provides a libvolume_key, a library for manipulating \ +storage volume encryption keys and storing them separately from volumes, and an \ +associated command-line tool, named volume_key." +LICENSE = "GPLv2" +SECTION = "devel/lib" + +HOMEPAGE = "https://pagure.io/volume_key" + +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \ +" +SRC_URI[md5sum] = "200591290173c3ea71528411838f9080" +SRC_URI[sha256sum] = "6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b" + +SRCNAME = "volume_key" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit autotools python3native gettext + +DEPENDS += " \ + util-linux \ + glib-2.0 \ + cryptsetup \ + nss \ + gpgme \ + swig-native \ +" + +PACKAGECONFIG ??= "python3" +PACKAGECONFIG[python] = "--with-python,--without-python,python,python" +PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3" + +RDEPENDS_python3-${PN} += "${PN}" + +PACKAGES += "python3-${PN}" +FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" + -- cgit 1.2.3-korg