# SPDX-License-Identifier: AGPL-3.0 # # Maintainer: Kenneth Endfinger # Contributor: Christian Hesse # Contributor: Anatol Pomozov # Contributor: Pellegrino Prevete (dvorak) # Contributor: Truocolo # shellcheck disable=SC2034 pkgname="python-blivet" pkgver=3.10.1 _tag="${_pkg}-${pkgver}" pkgrel=1 slackdesc=(" blivet DBus service and python module" "this module is for management of the system storage configuration" ) pkgdesc="${_pkgdesc[*]}" license=( 'LGPL2.1' ) depends=( 'libblockdev' 'libselinux' 'lsof' 'multipath-tools' 'parted' "${_py}" "${_py}-six" "${_py}-pyparted" "${_py}-pyudev" "${_py}-gobject" 'systemd-libs' 'util-linux' ) checkdepends=( 'libselinux' "${_py}-mock" "${_py}-dbus" ) makedepends=( "${_py}-setuptools" 'make' ) url='https://fedoraproject.org/wiki/Blivet' _url="https://github.com/storaged-project/${_pkg}" source=("blivet-${pkgver}.tar.gz") options=("nosrcpack") # shellcheck disable=SC2154 build() { cd blivet-${pkgver} python3 setup.py install --root="$PKG" --optimize=1 } # vim:set sw=2 sts=-1 et: