diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-27 21:09:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-27 21:20:57 +0200 |
commit | 45db2f51bbf382c77a000f851af5ec22d46d5ade (patch) | |
tree | 8f8ce31bcc5c18380608fdf1cd2fbb6edd9b0fc6 /dev-python | |
parent | dev-python/piexif: Use pypi.eclass (diff) | |
download | gentoo-45db2f51bbf382c77a000f851af5ec22d46d5ade.tar.gz gentoo-45db2f51bbf382c77a000f851af5ec22d46d5ade.tar.bz2 gentoo-45db2f51bbf382c77a000f851af5ec22d46d5ade.zip |
dev-python/pygraphviz: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygraphviz/pygraphviz-1.10.ebuild | 23 |
1 files 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 |