From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D9B3A158089 for ; Sun, 10 Sep 2023 03:27:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 121AB2BC014; Sun, 10 Sep 2023 03:27:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE5CF2BC014 for ; Sun, 10 Sep 2023 03:27:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30328335CB9 for ; Sun, 10 Sep 2023 03:27:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99D7910DC for ; Sun, 10 Sep 2023 03:27:27 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1694316443.abe4d358927e2be584ec2d9a4de795cacf32c071.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xdot/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/xdot/Manifest media-gfx/xdot/xdot-1.3.ebuild X-VCS-Directories: media-gfx/xdot/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: abe4d358927e2be584ec2d9a4de795cacf32c071 X-VCS-Branch: master Date: Sun, 10 Sep 2023 03:27:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3b3a7c8f-75e1-43b8-86c4-cd48e476c0a4 X-Archives-Hash: 5a838b7b8318497535af837205661e8a commit: abe4d358927e2be584ec2d9a4de795cacf32c071 Author: Matt Turner gentoo org> AuthorDate: Sun Sep 10 03:26:54 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Sep 10 03:27:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe4d358 media-gfx/xdot: Version bump to 1.3 Signed-off-by: Matt Turner gentoo.org> media-gfx/xdot/Manifest | 1 + media-gfx/xdot/xdot-1.3.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/media-gfx/xdot/Manifest b/media-gfx/xdot/Manifest index c263270f8988..c0ad442da31e 100644 --- a/media-gfx/xdot/Manifest +++ b/media-gfx/xdot/Manifest @@ -1 +1,2 @@ DIST xdot-1.2.tar.gz 136057 BLAKE2B 484a3513ec3d67dbc6e167f171e7f70977ba2472766f25aa7cc088235f99470bfac5fac67368ea53b633320752a928634840ff3dcccc6b96795d3b7c203db922 SHA512 b4d3b15114b982c7c38cc71c0602f6d1ba9874c7315c2b8c4a8a48bf7674e9b38bf19a0d4a2d319acc9a29cf8f177a651d4e213761e88b0b3cb26e95e8a92dda +DIST xdot-1.3.tar.gz 144187 BLAKE2B 38e89a8c47dd519a79221634ed3e451cc5ba9c0448545802561e92876c06af599b3327d2ab808d5f81842826baddc42d3921da9c6885a2b6485e39c79de80c9f SHA512 8d66a64182970b968adbb5031d17f0b2b3709d4daa0f6d32ba0e3616177be1e43bcaa62a3133a3a0d92f8468dbc12147918d04b5d543b94b5df6d39b7af31e17 diff --git a/media-gfx/xdot/xdot-1.3.ebuild b/media-gfx/xdot/xdot-1.3.ebuild new file mode 100644 index 000000000000..dc0e15d5f30b --- /dev/null +++ b/media-gfx/xdot/xdot-1.3.ebuild @@ -0,0 +1,45 @@ +# 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_{10..12} ) + +MY_PN=xdot.py +EGIT_REPO_URI="https://github.com/jrfonseca/${MY_PN}" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" + SRC_URI="" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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/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 +}