From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1C8C15ACFB for ; Wed, 26 Apr 2023 19:46:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADC2FE089A; Wed, 26 Apr 2023 19:46:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89DEEE089A for ; Wed, 26 Apr 2023 19:46:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 84952335DE9 for ; Wed, 26 Apr 2023 19:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4AA8A49 for ; Wed, 26 Apr 2023 19:46:33 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1682537946.33434b121b71f15fca3df45dbee898cb6c724e54.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/hunter/Manifest dev-python/hunter/hunter-3.6.0.ebuild X-VCS-Directories: dev-python/hunter/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 33434b121b71f15fca3df45dbee898cb6c724e54 X-VCS-Branch: dev Date: Wed, 26 Apr 2023 19:46:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4fc10881-5f39-40d0-a8dc-938005494eb5 X-Archives-Hash: 56972afe04bdd2510c7fbc99777b7058 commit: 33434b121b71f15fca3df45dbee898cb6c724e54 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Apr 26 19:38:47 2023 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Apr 26 19:39:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33434b12 dev-python/hunter: add 3.6.0 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/hunter/Manifest | 1 + dev-python/hunter/hunter-3.6.0.ebuild | 82 +++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest index 7812a3e93..0300942c0 100644 --- a/dev-python/hunter/Manifest +++ b/dev-python/hunter/Manifest @@ -1 +1,2 @@ DIST hunter-3.5.1.gh.tar.gz 543137 BLAKE2B a06966f78fd442231c08e2aafe57702f7cc16e5db6aa9a1da7288e4a3a05ff9db3dfc49352641610ade31cb967996c3add64f07ddf637f46e5d269e9d0363a9f SHA512 2c302fa8b88c07be5361f11d8c250c5673be9dc691df9e966959eed45eaf0a8499ae8a6381256d83ab7219c818ed981628fb3299ef5d17d7b1d95c43a2fc63a7 +DIST hunter-3.6.0.gh.tar.gz 626304 BLAKE2B 8cef43f6427863724b6a7f848ee938011b8de2100c12c4f7cd049156733da0076f3d04d74328aeff06edeab6e5d85a9dd564b6281644a1e6172741573f066127 SHA512 5b5a6e7e2f26f71ff151d40fe0b660141ff2d2637fa9a226e9a1a4ead5267cf1e851baa0a439a94aa4b537db3fbdc5cd660304f64ad08ee90a115516c3848547 diff --git a/dev-python/hunter/hunter-3.6.0.ebuild b/dev-python/hunter/hunter-3.6.0.ebuild new file mode 100644 index 000000000..1738be5b0 --- /dev/null +++ b/dev-python/hunter/hunter-3.6.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=standalone +DISTUTILS_EXT=1 +inherit distutils-r1 multiprocessing + +DESCRIPTION="Hunter is a flexible code tracing toolkit" +HOMEPAGE=" + https://github.com/ionelmc/python-hunter + https://pypi.org/project/hunter/ +" +SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${P}" +TEST_S="${S}_test" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/aspectlib[${PYTHON_USEDEP}] + dev-python/ipdb[${PYTHON_USEDEP}] + dev-python/manhole[${PYTHON_USEDEP}] + dev-python/process-tests[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + sys-devel/gdb + ) +" + +DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) + +EPYTEST_DESELECT=( + # broken + #tests/test_tracer.py::test_source_cython + tests/test_tracer.py::test_fullsource_cython + + # flaky + tests/test_remote.py +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2" + +src_unpack() { + default + + if use test; then + cp -a "${S}" "${TEST_S}" || die + mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die + fi +} + +src_prepare() { + default + find . -name '*.c' -delete || die "removing csources failed" +} + +python_compile() { + distutils-r1_python_compile + + if use test; then + einfo " Building tests" + cd "${TEST_S}" || die + esetup.py build_ext -j $(makeopts_jobs) --inplace + fi +} + +python_test() { + cd "${TEST_S}"/tests || die + epytest +}