Diff tensorflow-estimator-2.11.0 with a tensorflow-estimator-2.12.0
/usr/portage/sci-libs/tensorflow-estimator/tensorflow-estimator-2.12.0.ebuild 2023-10-09 14:52:35.100368492 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_10 ) |
|
6 |
PYTHON_COMPAT=( python3_10 python3_11 ) |
|
7 | 7 |
MY_PN="estimator" |
8 |
MY_PV=${PV}-rc0 |
|
8 |
MY_PV=${PV/_rc/-rc} |
|
9 | 9 |
MY_P=${MY_PN}-${MY_PV} |
10 | 10 | |
11 | 11 |
inherit bazel distutils-r1 |
... | ... | |
22 | 22 |
https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip -> bazelbuild-rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d.zip |
23 | 23 |
https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip -> bazelbuild-rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip" |
24 | 24 | |
25 |
SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}-rc0.tar.gz |
|
25 |
SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz |
|
26 | 26 |
${bazel_external_uris}" |
27 | 27 | |
28 | 28 |
RDEPEND=" |
... | ... | |
32 | 32 |
BDEPEND=" |
33 | 33 |
app-arch/unzip |
34 | 34 |
dev-java/java-config |
35 |
>=dev-util/bazel-5.1.1" |
|
35 |
>=dev-util/bazel-5.3.0" |
|
36 | 36 | |
37 | 37 |
S="${WORKDIR}/${MY_P}" |
38 | 38 | |
39 | 39 |
DOCS=( CONTRIBUTING.md README.md ) |
40 |
PATCHES=( |
|
41 |
# Tag is missing for v2.11.0, apply version update manually |
|
42 |
"${FILESDIR}/0001-Update-setup.py-for-2.11.0-final-release.patch" |
|
43 |
) |
|
44 | 40 | |
45 | 41 |
src_unpack() { |
46 |
unpack "${P}-rc0.tar.gz" |
|
42 |
unpack "${P}.tar.gz" |
|
47 | 43 |
bazel_load_distfiles "${bazel_external_uris}" |
48 | 44 |
} |
49 | 45 |