# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{8,9,10} )

inherit distutils-r1

DESCRIPTION="Command-line tool for interacting with the Stratis daemon"
HOMEPAGE="https://stratis-storage.github.io"
SRC_URI="https://github.com/stratis-storage/${PN}/archive/v${PV}.tar.gz"

SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"

DEPEND="
	dev-python/setuptools[${PYTHON_USEDEP}]
	dev-python/dbus-python
	dev-python/psutil
	dev-python/python-dateutil
	dev-python/justbytes
	dev-python/dbus-client-gen
	dev-python/dbus-python-client-gen
	dev-python/semantic_version"
RDEPEND="${DEPEND}
	>=sys-fs/stratisd-3.0.0
	<sys-fs/stratisd-3.1"

distutils_enable_tests pytest
