blob: affa23a21bd5a68615f57c01834e1779df7da25e (
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
34
35
36
37
38
39
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://bitbucket.org/lalinsky/mbdata.git"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://bitbucket.org/lalinsky/${PN}/get/v${PV}.tar.gz"
KEYWORDS="~amd64"
fi
inherit distutils-r1
DESCRIPTION="MusicBrainz Database Tools"
HOMEPAGE="https://bitbucket.org/lalinsky/mbdata"
LICENSE="MIT"
SLOT="0"
IUSE="test"
RDEPEND=">=dev-python/sqlalchemy-0.9.8[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/pysolr[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
dev-python/python-sqlparse[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
nosetests || die
}
|