diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /dev-python/yappi/yappi-1.3.3.ebuild | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'dev-python/yappi/yappi-1.3.3.ebuild')
-rw-r--r-- | dev-python/yappi/yappi-1.3.3.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} |