diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-18 06:49:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-18 06:49:50 +0000 |
commit | 529bbf6d047ac6b80c0d9310ec0f666c145ec5fe (patch) | |
tree | ae415fb3fee6b16f7371a5d3597dcf98cca19b62 /dev-python/graphviz | |
parent | ec33f4bcbd3944dc39c56a98cde12232684932cf (diff) |
gentoo auto-resync : 18:03:2024 - 06:49:50
Diffstat (limited to 'dev-python/graphviz')
-rw-r--r-- | dev-python/graphviz/Manifest | 2 | ||||
-rw-r--r-- | dev-python/graphviz/graphviz-0.20.2.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest index bac4bd9375ec..abe9ff8708f1 100644 --- a/dev-python/graphviz/Manifest +++ b/dev-python/graphviz/Manifest @@ -1,5 +1,7 @@ AUX graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch 997 BLAKE2B f78c3dfbee7325bb5d577e648f00712c4bb596a8f1e08baa6dda83089b35e6dfebb1487f828f61b8f689726167369c30cb5f37a557b6a3906f6bb8051e9ccf69 SHA512 ee24cb82038267c2dd6b49db12d5dfdca2c2d5eabbb2e357669c9535c009e5e69c13a116d424cb32f47123c5cdfce445b6e0664cf8a3fd9170df1096f214dc5d DIST graphviz-0.20.1.gh.tar.gz 188952 BLAKE2B 65d0b993e01492894b6d245c0869412b4956e5d55f9d8d490505c8f3477dc5ab98739cf0bf1aa1a15c4bacb2db4c2807659ce410ca65503c5876ffdc278e959f SHA512 34d340469856777f03b9c9e6d28f232908797bc1456a5b50104dd2f7dc8b7488afc7b29a564d57707ae96f3291f5ae90b8140ab64e378b82f271b5521763fb55 +DIST graphviz-0.20.2.gh.tar.gz 190548 BLAKE2B 786f43fa29e6a09c837c9d13f1a41ca385e4993c52dd1467964c1c8506175e9f1bae864a7ca2ad301d1cbdb1d639a1314f2a2af30e01c4a6ecd17f93b1416871 SHA512 bd07c0ed46f380df2ace4d8396f1406455ff1b117fdb431337ebcf54a112b1894275e2d3e84c9711a25118c880f64dcb82c952aa1d8b704c1cd4c6215e651a1a EBUILD graphviz-0.20.1-r1.ebuild 1122 BLAKE2B 14f8420c7504db9369c1218ac798c3407be6339b09539ef74ab1e3ce7bf8fe4d5ed5dbccbf7774442844d105d0cfb0770ad001cce58d0ec83f8ea261960688a7 SHA512 23d478fffb565c41185c7c53edd49e48746eee1ce9a3e14a86b8df16dbee775979c4c8ef7cad5db7e660e83a74e3c527acdb4fa069cd7a343e4d13ce8c12a069 EBUILD graphviz-0.20.1.ebuild 994 BLAKE2B b2f309ba44116afb4b112dfad14c8d3bb7f9ba98c18411fb0029d9e506c21bcf514bfa898e7043d6a2c73420b88e0da580a8dce16af9538b62b1f7a6dc0d8e77 SHA512 ef47cb2203eb12fabdf388ea3c780623ec1526140b22b807d49cbd55a6d5f12b9b743f5d5ae6eb5ebb914ed1f77c1423fcbbcfefeed6c01753dd7f5cd2d11267 +EBUILD graphviz-0.20.2.ebuild 1153 BLAKE2B 5f349413f3815f5ba8eaaac7b3fd5eff8cc4e94b605fe373aed5142bd17095f0bbdd06ab60613d2367607cdd7a354f4758b1fc6af35f9417f3fc0ad3203dbcfc SHA512 525194278b7deb37801747822ec78efb933d38279b2606b2287ef5bd31a4b7dc212052c32af6d576280f32289a707d1cf86fa03ef64466ab09880524b028b88e MISC metadata.xml 609 BLAKE2B 782098a112f4c30ee297b068678c457454843e8ab52fe0ac8e545197f3799a4da13a19b0b3658dd2896dedc2ae3ba7cefb4281185d27fc806afe0f38b3c206b0 SHA512 d67fa7026a4b9e03f208709ce9f7b63daa41eaa5432fd0ec70abd11cbf78fd166fe2ef2990ce051f3a296b37bd3cb6588a32505282da0bb2fd2d096718982dfb diff --git a/dev-python/graphviz/graphviz-0.20.2.ebuild b/dev-python/graphviz/graphviz-0.20.2.ebuild new file mode 100644 index 000000000000..920ddb5ef469 --- /dev/null +++ b/dev-python/graphviz/graphviz-0.20.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Simple Python interface for Graphviz" +HOMEPAGE=" + https://graphviz.readthedocs.io/ + https://github.com/xflr6/graphviz/ + https://pypi.org/project/graphviz/ +" +SRC_URI=" + https://github.com/xflr6/graphviz/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + media-gfx/graphviz +" +BDEPEND=" + test? ( + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] + media-gfx/graphviz[gts,pdf] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:license_file:license_files:' \ + -e 's:--cov --cov-report=term --cov-report=html::' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_IGNORE=( + # workaround https://github.com/pytest-dev/pytest/issues/12123 + tests/backend/conftest.py + tests/conftest.py + ) + epytest -p pytest_mock +} |