From a6611f9bc959724ec73dbaa6f1c608698c387a8c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Nov 2023 16:37:59 +0000 Subject: gentoo auto-resync : 10:11:2023 - 16:37:59 --- dev-python/pydot/Manifest | 2 ++ dev-python/pydot/pydot-1.4.2-r4.ebuild | 38 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/pydot/pydot-1.4.2-r4.ebuild (limited to 'dev-python/pydot') diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest index a3b9f2f858d4..95596e0c3547 100644 --- a/dev-python/pydot/Manifest +++ b/dev-python/pydot/Manifest @@ -1,4 +1,6 @@ AUX pydot-1.4.2-pyparsing-3.patch 738 BLAKE2B eb89ff2dabde77e8fcf9fdcad29cb9080d0c290457140b67eb697ebba50cbcb48c0cc66058defcf110d3aa414f9e98d6af136a862e2dcda1f27a2bf0d3a0df5a SHA512 c917ad4943fc0cca00f13eeb0722f476b2c57ffaecdab9c54714e32dc1fddce3006d9a10d4f7947dd0f1272133901fbf46271f4524b1d7758f43c6ef352794c0 +DIST pydot-1.4.2.gh.tar.gz 272678 BLAKE2B 966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9 SHA512 caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632 DIST pydot-1.4.2.tar.gz 272678 BLAKE2B 966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9 SHA512 caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632 EBUILD pydot-1.4.2-r3.ebuild 911 BLAKE2B 169fb4c4a4f2a4ebc923f0a2e320814700088e8235f40aafac1dfc0320d3bf842b59ec91d3fb59d12651df74eda9b5843be31ed72cfec8495969bc6e04de4949 SHA512 26107783e8dde1a1280ed9fe5330945d48400381c848de3428561a77175b1a3b280c816ecd0255a104f8fb66717769c1cfa6f15274873792b6dd0977722d2335 +EBUILD pydot-1.4.2-r4.ebuild 1037 BLAKE2B 90b75d73fc4e89a1b300e610902c19212b86f7a733a39ace753d8008e8b39be7f1858e443d9ab59d4d2fab87f87eaabe70bbf3971de773235a9c9768930bedc4 SHA512 6fb0ee7166e5f3002975f8fa81b85f746be6632827a85334bb013b572b3c6c63fd35c2c585e78f5ab14ea88bcbf1671aee437855000c8c1b76e25c98f55a25b6 MISC metadata.xml 372 BLAKE2B faad24394ef27dedc8b563e505444b414fe95cb6097bd2bebe01232e68c975b77d415c2a05ec1ad19f0ce1218d1c3f057beea6deecef01b940962a287ad8ce46 SHA512 281a6e2097fcf978f7e691640e257a5f60b242570f8a5715e078363c5658b96b50d3c29ccaad448c0b2ac3dd7b898dcae457bafdb08952163de8d1af81954d75 diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild b/dev-python/pydot/pydot-1.4.2-r4.ebuild new file mode 100644 index 000000000000..4a612a3dc5e4 --- /dev/null +++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Python interface to Graphviz's Dot language" +HOMEPAGE="https://github.com/pydot/pydot https://pypi.org/project/pydot/" +# pypi releases don't include tests +SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] + media-gfx/graphviz" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/chardet[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch +) + +python_test() { + cd test || die + PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages \ + "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}" +} -- cgit v1.2.3