diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-06 07:55:46 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-06 07:56:22 +0300 |
commit | 83bcc51c77a7ba4b394d55d6e149ff4b464e85a8 (patch) | |
tree | ab8ab1ee2aacd9dd3352b9fbc3e131939cec300b /dev-python/yappi | |
parent | dev-python/ipykernel: include RDEPEND in BDEPEND (diff) | |
download | gentoo-83bcc51c77a7ba4b394d55d6e149ff4b464e85a8.tar.gz gentoo-83bcc51c77a7ba4b394d55d6e149ff4b464e85a8.tar.bz2 gentoo-83bcc51c77a7ba4b394d55d6e149ff4b464e85a8.zip |
dev-python/yappi: add 1.3.3, enable py3.10
Closes: https://bugs.gentoo.org/813021
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/yappi')
-rw-r--r-- | dev-python/yappi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/yappi/yappi-1.3.3.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest index dae8e3e9f32d..5f30820a5e95 100644 --- a/dev-python/yappi/Manifest +++ b/dev-python/yappi/Manifest @@ -1 +1,2 @@ DIST yappi-1.3.2.tar.gz 936566 BLAKE2B 55f114b8ed8689944f8146cb283701b41f34e87f3e5104d7d8df239cd2afc24f1ca1bf86f99bf672735677005df6527c83c5306a7902ea45e335134a925d6e18 SHA512 7a555bf6db8d7b9d8b4e36ceda1a40319a3d0aa478c512fb0fbca678dd3966b1facffa7555dca1ffaf07461ed3ab81284bd643e331eb2e6d1ee9c99eab1acb55 +DIST yappi-1.3.3.gh.tar.gz 936700 BLAKE2B 45e974949dfeaf6487dd76ef13a1b7f4456e805e50d85d089a366c5dc4ac852ccc117224ce5f17affa1f1ba1950a86b6f666cbc8e76edf51bf21cf2f527b877f SHA512 5634b8af997a082031ad1ec12eb83498949f1a56be3a324137d118f55ee51758af8c129da30138fa54f165eafed1572fb2289476e6d0cd838a884ee9118fd8da diff --git a/dev-python/yappi/yappi-1.3.3.ebuild b/dev-python/yappi/yappi-1.3.3.ebuild new file mode 100644 index 000000000000..96b069349546 --- /dev/null +++ b/dev-python/yappi/yappi-1.3.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +# no tags on github, no tests on pypi +COMMIT_HASH="8bf7a650066f104f59c3cae4a189ec15e7d51c8c" + +DESCRIPTION="Yet Another Python Profiler" +HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi" +SRC_URI=" + https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT_HASH}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +PATCHES=( + "${FILESDIR}/yappi-1.2.5-warnings.patch" + "${FILESDIR}/yappi-1.3.0-tests.patch" +) + +python_prepare_all() { + cp tests/utils.py "${S}" || die + distutils-r1_python_prepare_all +} |