1
0
flewkey-overlay/sci-visualization/plots/plots-0.6.1.ebuild
Ryan Fox bcf938d449
sci-visualization/plots: Bump to 0.6.2
Also handle rename of dev-python/lark-parser -> dev-python/lark

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2022-05-09 17:33:19 -07:00

44 lines
898 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{6..10} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/alexhuntley/Plots/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
MY_PN="Plots"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/alexhuntley/Plots.git"
fi
DESCRIPTION="Graph plotting app for GNOME"
HOMEPAGE="https://github.com/alexhuntley/Plots"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-python/freetype-py
dev-python/jinja
dev-python/lark
dev-python/numpy
dev-python/pyglm
dev-python/pygobject
dev-python/pyopengl
"
BDEPEND=""
src_prepare() {
default
sed -i "s/find_packages()/find_packages(exclude=['tests'])/" "${S}/setup.py"
}
distutils_enable_tests pytest