Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/threadpoolctl/
Date: Wed, 01 Apr 2020 21:04:24
Message-Id: 1585775046.9cda95ce84a81dae1b5c631068f5a4925736cecb.chutzpah@gentoo
1 commit: 9cda95ce84a81dae1b5c631068f5a4925736cecb
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Wed Apr 1 20:03:41 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 21:04:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cda95ce
7
8 dev-python/threadpoolctl: New package
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.96, Repoman-2.3.22
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/threadpoolctl/Manifest | 1 +
15 dev-python/threadpoolctl/metadata.xml | 11 +++++++++++
16 .../threadpoolctl/threadpoolctl-2.0.0.ebuild | 23 ++++++++++++++++++++++
17 3 files changed, 35 insertions(+)
18
19 diff --git a/dev-python/threadpoolctl/Manifest b/dev-python/threadpoolctl/Manifest
20 new file mode 100644
21 index 00000000000..f6f9348b413
22 --- /dev/null
23 +++ b/dev-python/threadpoolctl/Manifest
24 @@ -0,0 +1 @@
25 +DIST threadpoolctl-2.0.0.tar.gz 23349 BLAKE2B d7752d862f8de5d61a95dd2e0db9a9cf5b3fde4c13cad9f654c0af4e2277b8bcc36b79028fbdf0e14af35daacee4b01a8778462364e070eaa194af65f4274739 SHA512 8ce823a6aef9f6d6af73e848c7a3bb1c7eee3f94bf480ca056ed5f435655756b9ad26cb71e392689cd8e6a34ee1ddfcf0d8510e424ac9c05bb1eda679d0f7a93
26
27 diff --git a/dev-python/threadpoolctl/metadata.xml b/dev-python/threadpoolctl/metadata.xml
28 new file mode 100644
29 index 00000000000..2541628cf9a
30 --- /dev/null
31 +++ b/dev-python/threadpoolctl/metadata.xml
32 @@ -0,0 +1,11 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="project">
37 + <email>python@g.o</email>
38 + </maintainer>
39 + <maintainer type="person">
40 + <email>chutzpah@g.o</email>
41 + <name>Patrick McLean</name>
42 + </maintainer>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/threadpoolctl/threadpoolctl-2.0.0.ebuild b/dev-python/threadpoolctl/threadpoolctl-2.0.0.ebuild
46 new file mode 100644
47 index 00000000000..ae4251fa550
48 --- /dev/null
49 +++ b/dev-python/threadpoolctl/threadpoolctl-2.0.0.ebuild
50 @@ -0,0 +1,23 @@
51 +# Copyright 2020 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=7
55 +
56 +PYTHON_COMPAT=( python3_{6,7,8} )
57 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="Limit the number of threads used in native libs that have their own threadpool"
61 +HOMEPAGE="https://github.com/joblib/threadpoolctl"
62 +SRC_URI="https://github.com/joblib/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
63 +
64 +LICENSE="BSD"
65 +SLOT="0"
66 +KEYWORDS="~amd64 ~x86"
67 +
68 +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
69 +
70 +# tests require openmp python bindings...
71 +RESTRICT=test
72 +
73 +distutils_enable_tests pytest