Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/
Date: Sat, 29 Jan 2022 15:02:20
Message-Id: 1643468482.6590907098f83b85ff97b3b8921b5a90e3d9d3a8.mgorny@gentoo
1 commit: 6590907098f83b85ff97b3b8921b5a90e3d9d3a8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 15:00:38 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 15:01:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65909070
7
8 dev-python/ipywidgets: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild | 32 ++++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild
16 new file mode 100644
17 index 000000000000..d5960928a26b
18 --- /dev/null
19 +++ b/dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +PYTHON_REQ_USE="threads(+)"
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="IPython HTML widgets for Jupyter"
33 +HOMEPAGE="https://ipywidgets.readthedocs.io/"
34 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35 +
36 +LICENSE="BSD"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
39 +
40 +RDEPEND="
41 + >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}]
42 + >=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}]
43 + >=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}]
44 + >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}]
45 + >=dev-python/widgetsnbextension-3.5.0[${PYTHON_USEDEP}]
46 +"
47 +
48 +distutils_enable_tests pytest
49 +
50 +PATCHES=(
51 + "${FILESDIR}/${PN}-7.6.3-py310.patch"
52 +)