Files
guru/dev-python/moderngl-window/moderngl-window-2.4.3.ebuild
2023-04-25 19:30:23 +02:00

35 lines
865 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 virtualx
DESCRIPTION="A cross platform utility library for ModernGL"
HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
dev-python/moderngl[${PYTHON_USEDEP}]
dev-python/glcontext[${PYTHON_USEDEP}]
test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/trimesh[${PYTHON_USEDEP}]
dev-python/PyWavefront[${PYTHON_USEDEP}]
dev-python/pyrr[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest
src_test() {
virtx distutils-r1_src_test
}