From 0e9f06476106f3085395ef79413e4004e7d82a44 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 18 Apr 2019 19:33:36 +0000 Subject: dev-python/protobuf-python: Add live ebuild. Signed-off-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Mike Gilbert --- .../protobuf-python/protobuf-python-9999.ebuild | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 dev-python/protobuf-python/protobuf-python-9999.ebuild (limited to 'dev-python/protobuf-python/protobuf-python-9999.ebuild') diff --git a/dev-python/protobuf-python/protobuf-python-9999.ebuild b/dev-python/protobuf-python/protobuf-python-9999.ebuild new file mode 100644 index 000000000000..5eed49d3f29a --- /dev/null +++ b/dev-python/protobuf-python/protobuf-python-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 2008-2019 Arfrever Frehtes Taifersar Arahesis and others +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=(python{2_7,3_5,3_6,3_7}) + +inherit distutils-r1 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" + EGIT_SUBMODULES=() +fi + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" +fi + +LICENSE="BSD" +SLOT="0/18" +KEYWORDS="" +IUSE="" + +BDEPEND="${PYTHON_DEPS} + ~dev-libs/protobuf-${PV} + dev-python/namespace-google[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${PYTHON_DEPS} + ~dev-libs/protobuf-${PV}" +RDEPEND="${BDEPEND} + !