39 lines
913 B
Bash
39 lines
913 B
Bash
|
# Copyright 1999-2023 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
DISTUTILS_USE_PEP517=setuptools
|
||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||
|
|
||
|
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=""
|