diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-09-04 12:06:11 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-09-04 12:07:22 +0200 |
commit | 19d95807d51291f64451c269d80dd2be3f68358d (patch) | |
tree | ceb7173a523282bd6551e790caf52fc38031126f /dev-libs/volume_key/volume_key-0.3.12-r1.ebuild | |
parent | sys-devel/crossdev: 20200801 stable for all (diff) | |
download | gentoo-19d95807d51291f64451c269d80dd2be3f68358d.tar.gz gentoo-19d95807d51291f64451c269d80dd2be3f68358d.tar.bz2 gentoo-19d95807d51291f64451c269d80dd2be3f68358d.zip |
dev-libs/volume_key: Revbump adding python3_8
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/volume_key/volume_key-0.3.12-r1.ebuild')
-rw-r--r-- | dev-libs/volume_key/volume_key-0.3.12-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/volume_key/volume_key-0.3.12-r1.ebuild b/dev-libs/volume_key/volume_key-0.3.12-r1.ebuild new file mode 100644 index 000000000000..2a6dd33d0884 --- /dev/null +++ b/dev-libs/volume_key/volume_key-0.3.12-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit python-single-r1 + +DESCRIPTION="Library for manipulating and storing storage volume encryption keys" +HOMEPAGE="https://pagure.io/volume_key" +SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + app-crypt/gpgme + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + sys-apps/util-linux + sys-fs/cryptsetup:= +" +DEPEND=" + ${RDEPEND} + sys-devel/gettext + test? ( dev-libs/nss[utils] ) + " + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_configure() { + # --without-python disables python2 + econf --without-python --with-python3 +} + +src_install() { + default + find "${ED}" -type f -name "*.la" -delete || die + + python_optimize +} |