2023-03-27 01:16:47 -04:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2022-09-28 03:23:16 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-03-27 01:16:47 -04:00
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
2022-09-28 03:23:16 -04:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/alexhuntley/Plots.git"
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/alexhuntley/Plots/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
MY_PN="Plots"
|
|
|
|
MY_P="${MY_PN}-${PV}"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Graph plotting app for GNOME"
|
|
|
|
HOMEPAGE="https://github.com/alexhuntley/Plots"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="
|
|
|
|
dev-python/freetype-py[${PYTHON_USEDEP}]
|
|
|
|
dev-python/jinja[${PYTHON_USEDEP}]
|
|
|
|
dev-python/lark[${PYTHON_USEDEP}]
|
|
|
|
dev-python/numpy[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pyglm[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pyopengl[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
BDEPEND=""
|