1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
8 inherit python-single-r1
10 DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
11 HOMEPAGE="https://pagure.io/volume_key"
12 SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
16 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
18 RESTRICT="!test? ( test )"
20 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
34 test? ( dev-libs/nss[utils] )
38 python-single-r1_pkg_setup
42 # --without-python disables python2
43 econf --without-python --with-python3
48 find "${ED}" -name "*.la" -delete || die