volume_key: remove -python (Python 2) subpackage
This commit is contained in:
parent
539971196b
commit
84354867b4
|
@ -362,6 +362,7 @@ replaces="
|
|||
uwsgi-python<=2.0.18_3
|
||||
v8<=3.24.35.33_4
|
||||
volnoti<=0.1_1
|
||||
volume_key-python<=0.3.12_5
|
||||
vte-devel<=0.28.2_16
|
||||
vte-python<=0.28.2_16
|
||||
vte290-devel<=0.36.5_5
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
volume_key
|
|
@ -3,36 +3,25 @@ pkgname=volume_key
|
|||
version=0.3.12
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
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"
|
||||
configure_args="--without-python"
|
||||
hostmakedepends="pkg-config python3"
|
||||
makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel python3-devel"
|
||||
short_desc="Library for manipulating storage volume encryption keys"
|
||||
maintainer="Andrew Benson <abenson@gmail.com>"
|
||||
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=6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b
|
||||
make_check=no # Error initializing NSS: security library: bad database.
|
||||
|
||||
volume_key-python3_package() {
|
||||
lib32disabled=yes
|
||||
pycompile_module="volume_key.py"
|
||||
short_desc+=" - Python3 bindings"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
}
|
||||
}
|
||||
|
||||
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}"
|
||||
|
|
Loading…
Reference in New Issue