From 30873e17d52856e77d08d1c112222daa81d2dd67 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 9 Oct 2018 00:27:49 -0300 Subject: [PATCH] volume_key: update to 0.3.12. --- srcpkgs/volume_key-python | 1 + srcpkgs/volume_key/template | 23 +++++++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) create mode 120000 srcpkgs/volume_key-python diff --git a/srcpkgs/volume_key-python b/srcpkgs/volume_key-python new file mode 120000 index 00000000000..649832a366f --- /dev/null +++ b/srcpkgs/volume_key-python @@ -0,0 +1 @@ +volume_key \ No newline at end of file diff --git a/srcpkgs/volume_key/template b/srcpkgs/volume_key/template index f14afed9bc3..11d7b16bed8 100644 --- a/srcpkgs/volume_key/template +++ b/srcpkgs/volume_key/template @@ -1,17 +1,19 @@ # Template file for 'volume_key' pkgname=volume_key -version=0.3.11 -revision=2 +version=0.3.12 +revision=1 build_style=gnu-configure -make_build_args="PYTHON3_CFLAGS=-I${XBPS_CROSS_BASE}/${py3_inc}" -hostmakedepends="pkg-config python3" -makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel python3-devel" +make_build_args="PYTHON3_CFLAGS=-I${XBPS_CROSS_BASE}/${py3_inc} + PYTHON_CFLAGS=-I${XBPS_CROSS_BASE}/${py2_inc}" +hostmakedepends="pkg-config python3 python" +makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel python3-devel + python-devel" short_desc="Library for manipulating storage volume encryption keys" maintainer="Andrew Benson " license="GPL-2.0-or-later" homepage="https://pagure.io/volume_key" distfiles="https://releases.pagure.org/volume_key/volume_key-${version}.tar.xz" -checksum=e6b279c25ae477b555f938db2e41818f90c8cde942b0eec92f70b6c772095f6d +checksum=6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b volume_key-python3_package() { lib32disabled=yes @@ -22,6 +24,15 @@ volume_key-python3_package() { } } +volume_key-python_package() { + lib32disabled=yes + pycompile_module="volume_key.py" + short_desc+=" - Python bindings" + pkg_install() { + vmove "usr/lib/python2*" + } +} + volume_key-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"