summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-14 19:54:17 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-14 20:55:40 +0200
commit72cd97ce4ae3adfe507d787c0120b43cf1cb5ade (patch)
tree5a5c5587bade1c32bdccb5eac4bb66cdeda58adf /dev-python/loky
parentdev-python/cloudpickle: Port to py3.8 (diff)
downloadgentoo-72cd97ce4ae3adfe507d787c0120b43cf1cb5ade.tar.gz
gentoo-72cd97ce4ae3adfe507d787c0120b43cf1cb5ade.tar.bz2
gentoo-72cd97ce4ae3adfe507d787c0120b43cf1cb5ade.zip
dev-python/loky: New package, to be unbundled from joblib
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/loky')
-rw-r--r--dev-python/loky/Manifest1
-rw-r--r--dev-python/loky/loky-2.8.0.ebuild34
-rw-r--r--dev-python/loky/metadata.xml7
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
new file mode 100644
index 000000000000..917f78219b66
--- /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 000000000000..dc991562d304
--- /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 000000000000..266e3f19ca59
--- /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>python@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>