summaryrefslogtreecommitdiff
path: root/dev-python/objgraph
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/objgraph
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/objgraph')
-rw-r--r--dev-python/objgraph/Manifest4
-rw-r--r--dev-python/objgraph/metadata.xml4
-rw-r--r--dev-python/objgraph/objgraph-3.5.0-r1.ebuild (renamed from dev-python/objgraph/objgraph-3.5.0.ebuild)30
3 files changed, 29 insertions, 9 deletions
diff --git a/dev-python/objgraph/Manifest b/dev-python/objgraph/Manifest
index 9f76f30445f1..5a047ad3d88b 100644
--- a/dev-python/objgraph/Manifest
+++ b/dev-python/objgraph/Manifest
@@ -1,4 +1,4 @@
AUX objgraph-3.4.1-tests.patch 2708 BLAKE2B 2b2c78340c1be1c60fe3b43a671b1fab07bcb58275d90f59fca9dcc8bebdd52f5d6ed69455f9135647b27ed64d3251cb7d7b5f3da4e7b394bf45a45791b73c73 SHA512 8d8a43bcb75141a5fa278871d7e4e3b2ba1dcb833967a347f334675d6fa1a510d7f9abbcae82419617fc593ca02e1708ff69d9b4babe1d23e08d24814f9b564b
DIST objgraph-3.5.0.tar.gz 638591 BLAKE2B 7a0ee6c9ee1d8417f7b322f19a397ea2452ed592ebbc07afc1378e86b5bad3895ed2e4a20d92a5f4b0215f68fc7440f85852303585a3161497a85d41d4c4e550 SHA512 da29202871bad06f2caa9cc297e7bf9a15af4c89e23baf9c271764e0ce93ff9557cd5c21d0bf39b425713460dbe2dbc8468d70c6bfcc1c3ff8b1b4d4a7923858
-EBUILD objgraph-3.5.0.ebuild 689 BLAKE2B a52a27d3885eea9fe3a3ca64dfbeabf22a79bb5b9ec0d76b7dbaa34e03520aff3cdc57ff70f8b5d3cebb89f32b2644f8424f96f6fca3e3a595aa1707e8cf975a SHA512 ccef8d0c87cc9ce63a0f0c505386445903fa5cf336d09b788ca656a0f04aee04c670f4a08559a88d3460fdb29bdc67aadab2599ebc0cec64fe52352220798789
-MISC metadata.xml 349 BLAKE2B 6027c339cb5596f31c245e4b29b04e32226fecd7959db0ef177701b3d0580e43f05e338a44c6b328ddd8d520bacc9c7b8251d642ee3c9ab7c97a926eb0b56bb9 SHA512 4348dc0ecb04ee53b4d2c15cefa3ec4077a9de4126a67789505f940eea83df865c5222b4a3436605ba24c900374be393d67746020cec2b747687d785f3c892d9
+EBUILD objgraph-3.5.0-r1.ebuild 911 BLAKE2B 558e7e7460c32ff8d0f00b000037dfe5ff3895c076020bbaec9b26843affa0d34e8f5e7f2e7c537a2c1363c1f6c7c6b18258fcb941794fcf33b090de4fc8fb3a SHA512 1013f9d4f021eaa7db67599afd0d1cf50f7c0b26e1bec11243e09ee6fa26b4ecd872b3e1f193b45cd7a9a7739ad352372f5a8b0f8cd1909d144aa40a2400faa4
+MISC metadata.xml 456 BLAKE2B 2896fef2d737793b6c981b8b5c7aac9e4b7ea8204bc99135499bbc28bf79822e280d8a05427146166e2b619ad8390b05d77de23fa7dca1a5928723ca98927ace SHA512 d02440f1b7773e04e9ea208ae7b7a9fec800815bbf1d9903a3ecce28b66afbd51e7cc534e0d92d41fcd02896d131d0d45161791807e97e2d25202685b746741a
diff --git a/dev-python/objgraph/metadata.xml b/dev-python/objgraph/metadata.xml
index 7a6162fdb1da..7c310a2ea977 100644
--- a/dev-python/objgraph/metadata.xml
+++ b/dev-python/objgraph/metadata.xml
@@ -5,6 +5,10 @@
<email>heroxbd@gentoo.org</email>
<name>Benda Xu</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">objgraph</remote-id>
diff --git a/dev-python/objgraph/objgraph-3.5.0.ebuild b/dev-python/objgraph/objgraph-3.5.0-r1.ebuild
index 14cb70486ce1..56d96fed6d22 100644
--- a/dev-python/objgraph/objgraph-3.5.0.ebuild
+++ b/dev-python/objgraph/objgraph-3.5.0-r1.ebuild
@@ -1,23 +1,33 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
DESCRIPTION="Draws Python object reference graphs with graphviz"
-HOMEPAGE="https://mg.pov.lt/objgraph/"
-SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz"
+HOMEPAGE="
+ https://github.com/mgedmin/objgraph/
+ https://pypi.org/project/objgraph/
+"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="doc"
-RDEPEND="media-gfx/graphviz"
-BDEPEND="test? ( media-gfx/xdot )"
+RDEPEND="
+ media-gfx/graphviz
+"
+BDEPEND="
+ test? (
+ media-gfx/xdot
+ )
+"
PATCHES=(
"${FILESDIR}/objgraph-3.4.1-tests.patch"
@@ -25,6 +35,12 @@ PATCHES=(
distutils_enable_tests unittest
+src_prepare() {
+ # the dependency is optional, actually
+ sed -i -e '/graphviz/d' setup.py || die
+ distutils-r1_src_prepare
+}
+
python_install_all() {
use doc && local HTML_DOCS=( docs/* )
distutils-r1_python_install_all