diff options
author | Marcin Deranek <marcin.deranek@booking.com> | 2023-01-04 08:33:27 +0100 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@booking.com> | 2023-01-04 08:33:27 +0100 |
commit | 97d2ae4811d08ef4091e947e326938c03e2c9cca (patch) | |
tree | 9aed203d5d0d44f7f5e2b849df12fa82a60ce019 /dev-python/billiard/billiard-3.6.4.0.ebuild | |
parent | bd7db493564018ba4fc50e0cd843543517dc15d6 (diff) | |
download | portage-97d2ae4811d08ef4091e947e326938c03e2c9cca.tar.gz portage-97d2ae4811d08ef4091e947e326938c03e2c9cca.tar.bz2 portage-97d2ae4811d08ef4091e947e326938c03e2c9cca.zip |
Initial ebuild for dev-python/billiard
Diffstat (limited to 'dev-python/billiard/billiard-3.6.4.0.ebuild')
-rw-r--r-- | dev-python/billiard/billiard-3.6.4.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/billiard/billiard-3.6.4.0.ebuild b/dev-python/billiard/billiard-3.6.4.0.ebuild new file mode 100644 index 0000000..8d82d33 --- /dev/null +++ b/dev-python/billiard/billiard-3.6.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python multiprocessing fork" +HOMEPAGE="https://github.com/celery/billiard" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +BDEPEND=" + test? ( + >=dev-python/psutil-5.9.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove Win32 test + rm t/unit/test_win32.py || die + + # Get rid of dev-python/case dependency + sed \ + -e 's/^from case \(.*\), skip$/from unittest.mock \1/' \ + -e '/^@skip/d' \ + -i t/unit/test_common.py + + distutils-r1_python_prepare_all +} + |