2021-01-17 23:26:20 +01:00
|
|
|
# Copyright 2020-2021 Gentoo Authors
|
2020-12-24 21:45:54 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-06-30 20:15:52 +02:00
|
|
|
EAPI=8
|
2020-12-24 21:45:54 +01:00
|
|
|
|
2021-06-30 20:15:52 +02:00
|
|
|
PYTHON_COMPAT=(python3_{8..10})
|
2020-12-24 21:45:54 +01:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Read and write Advanced Authoring Format (AAF) files"
|
|
|
|
HOMEPAGE="http://pyaaf.readthedocs.io/"
|
2021-06-30 20:15:52 +02:00
|
|
|
SRC_URI="https://github.com/markreidvfx/pyaaf2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
2020-12-24 21:45:54 +01:00
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
2021-06-04 21:33:54 +02:00
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
test? (
|
|
|
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
|
|
dev-python/numpy[${PYTHON_USEDEP}]
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
2021-06-30 20:15:52 +02:00
|
|
|
distutils_enable_tests unittest
|
|
|
|
distutils_enable_sphinx docs/source
|
2021-06-04 21:33:54 +02:00
|
|
|
|
|
|
|
python_test() {
|
|
|
|
# Tests import from tests/common.py which is breaks unless the dir is added to PYTHONPATH
|
|
|
|
PYTHONPATH="${S}/tests"
|
2021-06-30 20:15:52 +02:00
|
|
|
eunittest
|
2021-06-04 21:33:54 +02:00
|
|
|
}
|