diff options
author | Gerion Entrup <gerion.entrup@flump.de> | 2016-08-14 04:11:05 +0200 |
---|---|---|
committer | Gerion Entrup <gerion.entrup@flump.de> | 2016-08-16 00:23:02 +0200 |
commit | 2b4b9ea942784c39c1bcfdc0cf7506e3bb38dc7e (patch) | |
tree | b4b02a76c1c4b4c1276e8221d3ebc8061c99779c /dev-python/mbdata/mbdata-9999.ebuild | |
parent | firefox-kde-opensuse: update manifest (diff) | |
download | gerislay-2b4b9ea942784c39c1bcfdc0cf7506e3bb38dc7e.tar.gz gerislay-2b4b9ea942784c39c1bcfdc0cf7506e3bb38dc7e.tar.bz2 gerislay-2b4b9ea942784c39c1bcfdc0cf7506e3bb38dc7e.zip |
add mbdata: usable but not ready
improve it once a release is out
Diffstat (limited to 'dev-python/mbdata/mbdata-9999.ebuild')
-rw-r--r-- | dev-python/mbdata/mbdata-9999.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/mbdata/mbdata-9999.ebuild b/dev-python/mbdata/mbdata-9999.ebuild new file mode 100644 index 0000000..d72ee94 --- /dev/null +++ b/dev-python/mbdata/mbdata-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +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 +} |