dev-python/pure-protobuf - 3.1.5 (benzene-overlay)

Search

Package Information

Description:
Protocol Buffers using Python type annotations
Homepage:
https://eigenein.github.io/protobuf
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.1.5 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{11..13} )

inherit distutils-r1

DESCRIPTION="Protocol Buffers using Python type annotations"
HOMEPAGE="https://eigenein.github.io/protobuf"
SRC_URI="https://github.com/eigenein/protobuf/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]"
BDEPEND="dev-python/poetry-dynamic-versioning[${PYTHON_USEDEP}]
	test? ( dev-python/pydantic[${PYTHON_USEDEP}] )
"

S="${WORKDIR}/protobuf-${PV}"

EPYTEST_PLUGINS=( pytest-benchmark )
distutils_enable_tests pytest

python_prepare_all() {
	sed -i -e "s/0.0.0/${PV}/" -e "/enable/s/true/false/" -e '/--cov/d' pyproject.toml || die

	distutils-r1_python_prepare_all
}

Dependencies

RDEPEND

>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]

BDEPEND

dev-python/poetry-dynamic-versioning[${PYTHON_USEDEP}]
	test? ( dev-python/pydantic[${PYTHON_USEDEP}] )

Manifest for 3.1.5

Type File Size Source URLs
DIST pure-protobuf-3.1.5.gh.tar.gz 77298 bytes https://github.com/eigenein/protobuf/archive/refs/tags/3.1.5.tar.gz