Diff tensorboard-2.10.0 with a tensorboard-2.11.0
/usr/portage/sci-visualization/tensorboard/tensorboard-2.11.0.ebuild 2023-10-09 14:52:35.268368496 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
PYTHON_COMPAT=( python3_10 ) |
7 |
inherit python-r1 |
|
7 |
inherit python-r1 pypi |
|
8 | 8 | |
9 | 9 |
DESCRIPTION="TensorFlow's Visualization Toolkit" |
10 | 10 |
HOMEPAGE="https://www.tensorflow.org/" |
11 |
SRC_URI="https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl -> ${P}.zip" |
|
11 |
SRC_URI="$(pypi_wheel_url --unpack)" |
|
12 |
S=${WORKDIR} |
|
12 | 13 | |
13 | 14 |
LICENSE="Apache-2.0" |
14 | 15 |
SLOT="0" |
... | ... | |
30 | 31 |
>=dev-python/setuptools-41[${PYTHON_USEDEP}] |
31 | 32 |
dev-python/werkzeug[${PYTHON_USEDEP}] |
32 | 33 |
dev-python/wheel[${PYTHON_USEDEP}] |
33 |
>=dev-python/scipy-1.4.1[${PYTHON_USEDEP}]" |
|
34 |
BDEPEND="app-arch/unzip |
|
35 |
${PYTHON_DEPS}" |
|
36 |
PDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]" |
|
37 | ||
38 |
S="${WORKDIR}" |
|
34 |
>=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] |
|
35 |
" |
|
36 |
BDEPEND=" |
|
37 |
app-arch/unzip |
|
38 |
${PYTHON_DEPS} |
|
39 |
" |
|
40 |
PDEPEND=" |
|
41 |
sci-libs/tensorflow[python,${PYTHON_USEDEP}] |
|
42 |
" |
|
39 | 43 | |
40 | 44 |
src_prepare() { |
41 | 45 |
eapply_user |
... | ... | |
55 | 59 |
sed -i -e '/tensorboard-data-server/d' "${S}/${P}.dist-info/METADATA" || die "failed to remove data-server deps" |
56 | 60 |
sed -i -e 's/google-auth-oauthlib.*$/google-auth-oauthlib/' "${S}/${P}.dist-info/METADATA" \ |
57 | 61 |
|| die "failed to relax oauth deps" |
62 |
sed -i -e 's/protobuf.*$/protobuf/' "${S}/${P}.dist-info/METADATA" \ |
|
63 |
|| die "failed to relax protobuf deps" |
|
58 | 64 |
} |
59 | 65 | |
60 | 66 |
src_install() { |