diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-17 09:18:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-17 09:46:15 +0200 |
commit | 0543503f11cad43782f1d3766a597e30636d6a97 (patch) | |
tree | 154f3777df5fdf18f0886eb1e4557fee7061242e | |
parent | net-libs/libmicrohttpd: Stabilize 0.9.77 sparc, #912380 (diff) | |
download | gentoo-0543503f11cad43782f1d3766a597e30636d6a97.tar.gz gentoo-0543503f11cad43782f1d3766a597e30636d6a97.tar.bz2 gentoo-0543503f11cad43782f1d3766a597e30636d6a97.zip |
dev-python/line_profiler: Bump to 4.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/line_profiler/Manifest | 1 | ||||
-rw-r--r-- | dev-python/line_profiler/line_profiler-4.1.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest index 200330e53f5f..6f5d26fab9b3 100644 --- a/dev-python/line_profiler/Manifest +++ b/dev-python/line_profiler/Manifest @@ -1 +1,2 @@ DIST line_profiler-4.0.3.gh.tar.gz 63873 BLAKE2B b34baa89d6625e0887823a44b89fc1b5c3a069ba5d160b959fd435080cfa64e68f693a03e3ed2741efc6d7ca71a60ac0b0e43bd8ba3101089a4e3d0d6c88303e SHA512 3f7734e3651588b1d40df0836d8c93384541b6a010e70becc419101377ac90374fc8f202b927b42ca4aec3e030d9ed52f4955f9fcae3c8d0396f96e21a29eeac +DIST line_profiler-4.1.0.gh.tar.gz 99250 BLAKE2B aa875dfb8cdbaaa701a03d10fd904504825d58e551dddabddbe0abca777a584bae5c37f4b3ab80d10dc869138106d70c3ff243a7d28e570983427520dd4ee569 SHA512 08e0395b80f8c111725227abea7e8b2d6864da840a0a6f4de5eb71a2df2ae78871c930897b49d75a184973c1ce21d61106817bd0b8d4556462f0505bbbc21fe1 diff --git a/dev-python/line_profiler/line_profiler-4.1.0.ebuild b/dev-python/line_profiler/line_profiler-4.1.0.ebuild new file mode 100644 index 000000000000..bb034b04c80c --- /dev/null +++ b/dev-python/line_profiler/line_profiler-4.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Line-by-line profiler" +HOMEPAGE=" + https://github.com/pyutils/line_profiler/ + https://pypi.org/project/line-profiler/ +" +SRC_URI=" + https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" +# <cython-3: https://bugs.gentoo.org/911735 +BDEPEND=" + <dev-python/cython-3[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/ubelt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export LINE_PROFILER_BUILD_METHOD=cython + +python_test() { + cd tests || die + epytest +} |