diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-05 02:07:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-05 02:07:17 +0000 |
commit | a6764d56b1c85c8272783500983011c143c72d80 (patch) | |
tree | 4012d67c099814931c6188b22a6b5eb4e77f1d6a /dev-python/line-profiler | |
parent | 38ecaf88ae0891dd2d7f2bdd9a7acdcd45835724 (diff) |
gentoo auto-resync : 05:12:2024 - 02:07:17
Diffstat (limited to 'dev-python/line-profiler')
-rw-r--r-- | dev-python/line-profiler/Manifest | 2 | ||||
-rw-r--r-- | dev-python/line-profiler/line-profiler-4.2.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/line-profiler/Manifest b/dev-python/line-profiler/Manifest index 64f3935e601e..589f438adb81 100644 --- a/dev-python/line-profiler/Manifest +++ b/dev-python/line-profiler/Manifest @@ -1,3 +1,5 @@ DIST line_profiler-4.1.3.gh.tar.gz 103226 BLAKE2B 209fe81bfd29cad1fe5866af792294d956a8f5d4d20948335a418aa0c7c3c5ff23e271c49cfc6cf228287cb1031e00a0f540fc88f52ccc3a0c329443de17b188 SHA512 cc8367b40558647f097e33152bd1d8b241720a1ed79c1f1930a7958e333cecdf38bc7d1ab0a8ebfb11e3251fa076966076ec42a8b633dfcb9de0c598c02b8b93 +DIST line_profiler-4.2.0.gh.tar.gz 105578 BLAKE2B 5ccef934619986e225e338e6e8b99bc2182c571b8c5377df829d83365bafb0a23eefd5cdbe4bba92a728bc6ac3299084fb61177d342c9a0034c4fc1f9d69b45b SHA512 1ed1324445f3189d7a7b9528c96b0251e1a44faace43c9ca14ecafbead60134138803cabb7c355f7b943bed85720f53689fd40260f02c98dc8597128b945ce01 EBUILD line-profiler-4.1.3.ebuild 858 BLAKE2B 8ca0aca78c33a50f93ac500dddea107ee084b934c5869dbf64001b3bb71b7b9ae2c4fb3ffbc892f9a4d8951b7a917a68c9e49ef6c7deb72fe7d7f8dd853abb83 SHA512 e3df1c04fe1379dba20d2b5c961f9c320eccd35556eafc84e51b11997655836910c8cde81ad4e695ecec84138e573c2393a6db7f0881f8444a8ffe69fd38479c +EBUILD line-profiler-4.2.0.ebuild 858 BLAKE2B 8ca0aca78c33a50f93ac500dddea107ee084b934c5869dbf64001b3bb71b7b9ae2c4fb3ffbc892f9a4d8951b7a917a68c9e49ef6c7deb72fe7d7f8dd853abb83 SHA512 e3df1c04fe1379dba20d2b5c961f9c320eccd35556eafc84e51b11997655836910c8cde81ad4e695ecec84138e573c2393a6db7f0881f8444a8ffe69fd38479c MISC metadata.xml 775 BLAKE2B de65859e8267b3385a49550fa47ee33d0f428e5833a59d8224aa4eb2b0251841c58acc1ca446ef1b13d258c5b861045f042f7ca13e8a27db7253f4202753c607 SHA512 22a65b06d81651455ecd9690bc5c6d4c87858bf912eb491dde16650a3692408ca95a1d42d82204e67509f4e685651b5b2b2537b5db0891b7ca6933bddd616d16 diff --git a/dev-python/line-profiler/line-profiler-4.2.0.ebuild b/dev-python/line-profiler/line-profiler-4.2.0.ebuild new file mode 100644 index 000000000000..be13f5e4f4d7 --- /dev/null +++ b/dev-python/line-profiler/line-profiler-4.2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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..12} ) + +inherit distutils-r1 + +MY_P=line_profiler-${PV} +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 + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${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 +} |