Diff protobuf-7.34.1 with a protobuf-7.35.1
| /usr/portage/dev-python/protobuf/protobuf-7.35.1.ebuild 2026-10-13 20:03:06.521923249 +0300 | ||
|---|---|---|
| 8 | 8 | |
| 9 | 9 |
DISTUTILS_EXT=1 |
| 10 | 10 |
DISTUTILS_USE_PEP517=setuptools |
| 11 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 11 |
PYTHON_COMPAT=( python3_{12..15} )
|
|
| 12 | 12 | |
| 13 |
inherit distutils-r1 pypi |
|
| 13 |
inherit distutils-r1 pypi toolchain-funcs |
|
| 14 | 14 | |
| 15 | 15 |
GH_PV=$(ver_cut 2-3) |
| 16 | 16 |
GH_P=${PN}-${GH_PV}
|
| ... | ... | |
| 31 | 31 | |
| 32 | 32 |
LICENSE="BSD" |
| 33 | 33 |
SLOT="0/$(ver_cut 1-3)" |
| 34 |
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc ~x86" |
|
| 34 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" |
|
| 35 | 35 | |
| 36 | 36 |
# need protobuf compiler |
| 37 | 37 |
BDEPEND=" |
| ... | ... | |
| 88 | 88 |
;; |
| 89 | 89 |
esac |
| 90 | 90 | |
| 91 |
if [[ $(tc-get-ptr-size) == 4 ]]; then |
|
| 92 |
EPYTEST_DESELECT+=( |
|
| 93 |
# overflows 32-bit time_t in the test's own precondition check (not in protobuf code) |
|
| 94 |
# https://github.com/protocolbuffers/protobuf/issues/17003 |
|
| 95 |
google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testTimezoneAwareDatetimeConversionWhereTimestampLosesPrecision |
|
| 96 |
google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testTimezoneNaiveDatetimeConversionWhereTimestampLosesPrecision |
|
| 97 |
) |
|
| 98 |
fi |
|
| 99 | ||
| 91 | 100 |
cp -r "${BUILD_DIR}"/{install,test} || die
|
| 92 | 101 |
local -x PATH="${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH}"
|
| 93 | 102 |
cd "${BUILD_DIR}/test$(python_get_sitedir)" || die
|