From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1524636-garchives=archives.gentoo.org@lists.gentoo.org> 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 4C79415806E for <garchives@archives.gentoo.org>; Fri, 2 Jun 2023 08:28:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB0C2E08F5; Fri, 2 Jun 2023 08:28:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5698E08F6 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Jun 2023 08:28:16 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2844F341372 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Jun 2023 08:28:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F8A5A88 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Jun 2023 08:28:13 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1685694486.ed99dd7a80053cdb237ccf1fe92c4a8422f31a43.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygraphviz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygraphviz/Manifest dev-python/pygraphviz/pygraphviz-1.11.ebuild X-VCS-Directories: dev-python/pygraphviz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ed99dd7a80053cdb237ccf1fe92c4a8422f31a43 X-VCS-Branch: master Date: Fri, 2 Jun 2023 08:28:13 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c248b4ea-c4ad-408b-a5f3-db9374b0b258 X-Archives-Hash: 6bc72533ca82aa6bc02c84c71d8acff7 commit: ed99dd7a80053cdb237ccf1fe92c4a8422f31a43 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jun 2 07:53:47 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jun 2 08:28:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed99dd7a dev-python/pygraphviz: Bump to 1.11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pygraphviz/Manifest | 1 + dev-python/pygraphviz/pygraphviz-1.11.ebuild | 55 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest index ba6c58097117..c76ed9c9a6af 100644 --- a/dev-python/pygraphviz/Manifest +++ b/dev-python/pygraphviz/Manifest @@ -1 +1,2 @@ DIST pygraphviz-1.10.zip 120582 BLAKE2B 965b84ec6951c364084ddde4f0594ad7c14eb7e884062ad4f24042b6298b9caf10b3aa33eecfe8154c87c4bfd8d3651acc586129b019aef8b809130d69c03f82 SHA512 571c35f7a8013d5f128fcfbbd68372c8660560847afa0648737eae6d305a9283b69dce23a1b1aeb808bd4eac9c9cefa72b1d358fbc47b724a0b70997ea3f6d84 +DIST pygraphviz-1.11.zip 120803 BLAKE2B 004312750bcb9fab5c39af2c1de6c452489d9a2deea8211e6bb7cd722e9043070644b61c78047b01d649d41194441d82ffe2dde9fb17b6d9233bd0acee539c7e SHA512 3914d29fb214e1f7d59c7849e1e63e783902acd262912eccffbf6a67f8cbf6f540b9f2e84c9e7b4f0d90fae27f451a701a3b75a4dcb15b8a81bed463b34e2ef2 diff --git a/dev-python/pygraphviz/pygraphviz-1.11.ebuild b/dev-python/pygraphviz/pygraphviz-1.11.ebuild new file mode 100644 index 000000000000..0d46c2c812aa --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-1.11.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" +HOMEPAGE=" + https://pygraphviz.github.io/ + https://github.com/pygraphviz/pygraphviz/ + https://pypi.org/project/pygraphviz/ +" +SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x86-linux ~ppc-macos ~x64-macos" + +# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. +DEPEND=" + media-gfx/graphviz +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + app-arch/unzip + dev-lang/swig:0 + test? ( + dev-python/doctest-ignore-unicode[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + swig -python pygraphviz/graphviz.i || die +} + +python_test() { + cd "${BUILD_DIR}"/install || die + epytest +} + +python_install_all() { + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + + distutils-r1_python_install_all +}