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 7ABDD15864F for ; Mon, 27 Mar 2023 19:21:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38422E08AD; Mon, 27 Mar 2023 19:21:42 +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 1D98DE08AD for ; Mon, 27 Mar 2023 19:21:42 +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 2972F33FEB6 for ; Mon, 27 Mar 2023 19:21:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A6C898B for ; Mon, 27 Mar 2023 19:21:39 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1679944857.45db2f51bbf382c77a000f851af5ec22d46d5ade.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygraphviz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygraphviz/pygraphviz-1.10.ebuild X-VCS-Directories: dev-python/pygraphviz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 45db2f51bbf382c77a000f851af5ec22d46d5ade X-VCS-Branch: master Date: Mon, 27 Mar 2023 19:21:39 +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: 9028038a-0238-4865-b5a6-8d7e167efa04 X-Archives-Hash: d4325a8816e957d4b38acd40de653232 commit: 45db2f51bbf382c77a000f851af5ec22d46d5ade Author: Michał Górny gentoo org> AuthorDate: Mon Mar 27 19:09:09 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Mar 27 19:20:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45db2f51 dev-python/pygraphviz: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/pygraphviz/pygraphviz-1.10.ebuild | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/dev-python/pygraphviz/pygraphviz-1.10.ebuild b/dev-python/pygraphviz/pygraphviz-1.10.ebuild index 981ec349bbba..cd0178e7e904 100644 --- a/dev-python/pygraphviz/pygraphviz-1.10.ebuild +++ b/dev-python/pygraphviz/pygraphviz-1.10.ebuild @@ -6,23 +6,34 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" -HOMEPAGE="https://pygraphviz.github.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" +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. -RDEPEND="media-gfx/graphviz" -DEPEND="${RDEPEND}" +DEPEND=" + media-gfx/graphviz +" +RDEPEND=" + ${DEPEND} +" BDEPEND=" app-arch/unzip dev-lang/swig:0 - test? ( dev-python/doctest-ignore-unicode[${PYTHON_USEDEP}] )" + test? ( + dev-python/doctest-ignore-unicode[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest