2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-11 00:10:15 +03:00
Files
gentoo/dev-python/multiprocess/multiprocess-0.70.19.ebuild
Michał Górny 9829ab841b dev-python/multiprocess: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2026-01-20 09:16:32 +01:00

50 lines
975 B
Bash

# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Better multiprocessing and multithreading in Python"
HOMEPAGE="
https://github.com/uqfoundation/multiprocess/
https://pypi.org/project/multiprocess/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/dill-0.4.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/test[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_prepare() {
local PATCHES=(
# https://github.com/uqfoundation/multiprocess/pull/197
"${FILESDIR}/${PN}-0.70.17-wheel-tag.patch"
)
distutils-r1_src_prepare
# https://github.com/uqfoundation/multiprocess/issues/196
sed -i -e '/python-tag/d' setup.cfg || die
}
python_test() {
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
eunittest
}