From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F238158090 for ; Thu, 26 May 2022 10:45:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EEABE0886; Thu, 26 May 2022 10:45:48 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68A82E0886 for ; Thu, 26 May 2022 10:45:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 743BA3412D3 for ; Thu, 26 May 2022 10:45:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 883004D3 for ; Thu, 26 May 2022 10:45:44 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1653561936.b9b6f16246b21c0d4dbd5bc21b2ee4991c24fba4.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/joblib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/joblib/joblib-1.1.0-r1.ebuild X-VCS-Directories: dev-python/joblib/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b9b6f16246b21c0d4dbd5bc21b2ee4991c24fba4 X-VCS-Branch: master Date: Thu, 26 May 2022 10:45:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f0600c31-73f9-45e8-b5e5-ade09dd52aef X-Archives-Hash: 7816fed27c3635dc2214e7f31cc88bfc commit: b9b6f16246b21c0d4dbd5bc21b2ee4991c24fba4 Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu May 26 10:43:34 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu May 26 10:45:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b6f162 dev-python/joblib: pep517, enable py3.11 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/joblib/joblib-1.1.0-r1.ebuild | 47 ++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-python/joblib/joblib-1.1.0-r1.ebuild b/dev-python/joblib/joblib-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f627bd235c06 --- /dev/null +++ b/dev-python/joblib/joblib-1.1.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Tools to provide lightweight pipelining in Python" +HOMEPAGE="https://joblib.readthedocs.io/en/latest/ + https://github.com/joblib/joblib" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] +" +# joblib is imported by setup.py so we need ${RDEPEND} +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/threadpoolctl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unbundle + rm -r joblib/externals || die + sed -e "s:'joblib.externals[^']*',\?::g" -i setup.py || die + find -name '*.py' -exec \ + sed -e 's:\(joblib\)\?\.externals\.::' \ + -e 's:from \.externals ::' \ + -i {} + || die + + # https://github.com/joblib/joblib/issues/1115 + sed -e 's:test_parallel_call_cached_function_defined_in_jupyter:_&:' \ + -i joblib/test/test_memory.py || die + + distutils-r1_python_prepare_all +}