blob: 0490d7a3842f0321d623d6e2b1915faf85857208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
COMMIT_HASH="f5b6d104140c2be93e4175c0c844aaf094eb43da"
DESCRIPTION="A developer-friendly Python library to interact with Apache HBase"
HOMEPAGE="https://github.com/python-happybase/happybase https://happybase.readthedocs.io/"
SRC_URI="https://github.com/python-happybase/happybase/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
LICENSE="MIT Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/thriftpy2[${PYTHON_USEDEP}]
"
# tests require a running thrift server
RESTRICT="test"
distutils_enable_tests pytest
python_prepare_all() {
rm pytest.ini || die
distutils-r1_python_prepare_all
}
|