commit:     72cd97ce4ae3adfe507d787c0120b43cf1cb5ade
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 17:54:17 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 18:55:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72cd97ce

dev-python/loky: New package, to be unbundled from joblib

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/loky/Manifest          |  1 +
 dev-python/loky/loky-2.8.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 dev-python/loky/metadata.xml      |  7 +++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
new file mode 100644
index 00000000000..917f78219b6
--- /dev/null
+++ b/dev-python/loky/Manifest
@@ -0,0 +1 @@
+DIST loky-2.8.0.tar.gz 112383 BLAKE2B 
5561d96c0e0d23951dff303bdb1789f200b88e74ca44ef75119112491693c5876a9a70ad3688b3af9eaf12c0000d891067c936ca984404146890fb131f8c261e
 SHA512 
15fbdb56994e08f643b7bd5aa68d193f74ab61ef1230df9e2101fb4602a201a050e3ecf08229fc4ad61e478c893e0b34b81371ef9596733baa0e3d008125cd11

diff --git a/dev-python/loky/loky-2.8.0.ebuild 
b/dev-python/loky/loky-2.8.0.ebuild
new file mode 100644
index 00000000000..dc991562d30
--- /dev/null
+++ b/dev-python/loky/loky-2.8.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+inherit distutils-r1
+
+DESCRIPTION="Robust and reusable Executor for joblib"
+HOMEPAGE="https://github.com/joblib/loky";
+SRC_URI="
+       https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/cloudpickle[${PYTHON_USEDEP}]
+       dev-python/psutil[${PYTHON_USEDEP}]"
+BDEPEND="
+       test? (
+               dev-python/numpy[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # docker, seriously?
+       sed -e 's:test_cpu_count_cfs_limit:_&:' \
+               -i tests/test_loky_module.py || die
+
+       distutils-r1_src_prepare
+}

diff --git a/dev-python/loky/metadata.xml b/dev-python/loky/metadata.xml
new file mode 100644
index 00000000000..266e3f19ca5
--- /dev/null
+++ b/dev-python/loky/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>pyt...@gentoo.org</email>
+       </maintainer>
+</pkgmetadata>

Reply via email to