media-gfx/xdot: Version bump to 1.6

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2025-12-11 21:50:07 -05:00
parent 3ef996593e
commit dd60abdc05
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST xdot-1.4.tar.gz 144405 BLAKE2B bcca54099ad88ebbf82dc168d837f7343f527d8aff63d27e315e60267b4edecca97c2f69e47a6bd5889e9da7bd801ba38950f5f01ff1f0e40389551c6ded2890 SHA512 36065ca840ea0f3ffeca3d7bb16aa3f68b79ef3c7d43f0ba80d100d198f89edee1ca9cb3baff378a63c53a527c37dcccbd7262fd1aa26b7c61bc9e2c55c6e3ed
DIST xdot-1.6.tar.gz 140380 BLAKE2B bfeea6b430b37a80b2028fad76dc6ee4066e01561ee7b515b21def471ece54f3498f691649e2df770fa2a113c1d4d4859c8de16de49592b540dca2448745990c SHA512 121e1c36730e14898917d2711a5429856f5ac9bfdecce08e9e4e22ebc4c360e458420622afdcbe71500ba1d9b79994a46a719e89b1432c102999ba50b1ddd3a1

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
MY_PN=xdot.py
EGIT_REPO_URI="https://github.com/jrfonseca/${MY_PN}"
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/jrfonseca/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
inherit ${GIT_ECLASS} distutils-r1 virtualx
DESCRIPTION="Interactive viewer for Graphviz dot files"
HOMEPAGE="https://github.com/jrfonseca/xdot.py"
LICENSE="LGPL-2+"
SLOT="0"
DEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
media-gfx/graphviz
test? ( x11-libs/gtk+:3[X] )
"
RDEPEND="${DEPEND}"
run_test() {
cd tests && "${EPYTHON}" ../test.py *.dot graphs/*.gv
return "${?}"
}
python_test() {
virtx run_test
}