1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
8 PYTHON_REQ_USE='xml(+)'
10 inherit distutils-r1 git-r3
12 DESCRIPTION="Python video metadata parser"
13 HOMEPAGE="https://github.com/Diaoul/enzyme https://pypi.python.org/pypi/enzyme"
14 EGIT_REPO_URI=( {https,git}://github.com/Diaoul/${PN}.git )
15 SRC_URI="test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip )"
22 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
26 dev-python/pyyaml[${PYTHON_USEDEP}]
27 dev-python/requests[${PYTHON_USEDEP}]
36 python_prepare_all() {
38 mkdir enzyme/tests/test_{mkv,parsers} || die
39 ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_mkv/ || die
40 ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_parsers/ || die
43 distutils-r1_python_prepare_all