public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hunter/
Date: Wed, 26 Apr 2023 19:46:33 +0000 (UTC)	[thread overview]
Message-ID: <1682537946.33434b121b71f15fca3df45dbee898cb6c724e54.cybertailor@gentoo> (raw)

commit:     33434b121b71f15fca3df45dbee898cb6c724e54
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Apr 26 19:38:47 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> 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 <cyber+gentoo <AT> 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
+}


             reply	other threads:[~2023-04-26 19:46 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26 19:46 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 13:01 [gentoo-commits] repo/proj/guru:master commit in: dev-python/hunter/ Julien Roy
2024-05-25 12:41 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-15  9:26 Julien Roy
2023-05-02 16:54 Anna Vyalkova
2023-04-29  6:23 Anna Vyalkova
2023-04-28 18:20 Anna Vyalkova
2023-03-04 12:06 Anna Vyalkova
2022-11-26 16:41 Anna Vyalkova
2022-11-04 15:06 Anna Vyalkova
2022-11-03  7:37 Anna Vyalkova
2022-09-26 10:05 Andrew Ammerlaan
2022-06-05 10:19 Anna Vyalkova
2022-06-05  7:51 Anna Vyalkova
2022-06-04 13:13 Alessandro Barbieri
2022-03-18  9:49 Alessandro Barbieri
2021-08-14  2:00 Anna Vyalkova
2021-08-14  2:00 Anna Vyalkova
2021-06-28 13:34 Alessandro Barbieri
2021-06-27 23:25 Alessandro Barbieri
2021-06-17 16:01 Alessandro Barbieri
2021-06-14 23:09 Alessandro Barbieri
2021-06-14  2:27 Alessandro Barbieri
2021-05-25 10:37 Anna Vyalkova
2021-05-03 23:33 Anna Vyalkova
2020-12-04  5:54 Theo Anderson
2020-09-24 13:01 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-09-24 12:17 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-09 16:37 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 14:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-02 23:04 Alessandro Barbieri
2020-04-01 20:55 Alessandro Barbieri
2020-03-29 13:21 Andrew Ammerlaan
2020-03-29  9:29 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1682537946.33434b121b71f15fca3df45dbee898cb6c724e54.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox