mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/yappi: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST yappi-1.4.0.gh.tar.gz 938290 BLAKE2B 98a9c82d101e64f70f589b51ee461e1967c0fada75ab98e0de8f0446254e7ad73e25b842c85464953b9f81fc54d2007151dfc91e4176068a7cb320176c8828d2 SHA512 c557c67cfce29db1a526a2d385af28cd241eae46a653e9b4f7308a6f52ff1ede49b9211af09889c63eae3eeb38d55813a8026161b1184fccf4db4add8a022541
|
||||
DIST yappi-1.5.1.gh.tar.gz 938445 BLAKE2B 38b3a4be577ff9390e71b17abda382d59c22d19a3bc36d913c67e5fe2707a2059dbcd479f217672115ab739b0a2d71d9b9700645ed6edc13c67429d4243f6c3f SHA512 ff60a6b1c1273c8e04fe9a762314ccd3a2bb66a0271e887ba2017f6df7c988bda01ee0eb6b1b68952f2244f3ebb5fe9c0f560d7823875fbea7a8e0257bb1c7c8
|
||||
DIST yappi-1.6.0.gh.tar.gz 938098 BLAKE2B 7d5ad3066647419502ce43a2577509dbfc2ba898a8a68187a0e2efa2868764139c5a0bde873eb270f4acbb98749ee770e0cd00d24079318ab291dd5becc7a00e SHA512 d6b9e30129d83ab24ac80732e6a31e7dcc9e7e0f8bedc39cd578b73b12007c38db6c5b101e4364d3d129ba24bb0adaae71bc48827ac577c8ef96c9a557a9d80f
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# 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..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Yet Another Python Profiler"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/yappi/
|
||||
https://github.com/sumerc/yappi/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sumerc/yappi/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/yappi-1.2.5-warnings.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# using new API makes sense for versions newer than 3.11 too, sigh...
|
||||
# https://github.com/sumerc/yappi/pull/148
|
||||
sed -i -e 's:== 11:>= 11:' yappi/_yappi.c || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=tests
|
||||
eunittest
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
# 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..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Yet Another Python Profiler"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/yappi/
|
||||
https://github.com/sumerc/yappi/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sumerc/yappi/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/yappi-1.2.5-warnings.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=tests
|
||||
eunittest
|
||||
}
|
||||
Reference in New Issue
Block a user