summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-05 18:22:15 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-06 00:18:55 +0100
commit1a92efef72a342ac4eff966327b7cf8adc686e64 (patch)
tree16410e498dd9d0da29a251484ba650a225ce91b3 /dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild
parent3f0c3fc1d68ee2903e9ae163784b2448100e986a (diff)
downloadgentoo-1a92efef72a342ac4eff966327b7cf8adc686e64.tar.gz
gentoo-1a92efef72a342ac4eff966327b7cf8adc686e64.tar.bz2
gentoo-1a92efef72a342ac4eff966327b7cf8adc686e64.zip
dev-python/protobuf-python: Clean old up
Diffstat (limited to 'dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild')
-rw-r--r--dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild b/dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild
deleted file mode 100644
index a70b39fe2bc7..000000000000
--- a/dev-python/protobuf-python/protobuf-python-3.3.0-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-# pypy fails tests; pypy3 fails even running tests
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
-inherit distutils-r1
-
-MY_PV=${PV/_beta/-beta-}
-MY_PV=${MY_PV/_p/.}
-
-DESCRIPTION="Google's Protocol Buffers - official Python bindings"
-HOMEPAGE="https://github.com/google/protobuf/ https://developers.google.com/protocol-buffers/"
-SRC_URI="https://github.com/google/protobuf/archive/v${MY_PV}.tar.gz -> protobuf-${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/13"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE=""
-
-# Protobuf is only a build-time dep, but depends on the exact same version
-# (excluding revision), since we are using the same tarball.
-# In case of using the (linked) cpp implementation we should be fine with the same subslot.
-RDEPEND="${PYTHON_DEPS}
- dev-python/namespace-google[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- !<dev-libs/protobuf-3[python(-)]
- ~dev-libs/protobuf-${PV}"
-
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=( "${FILESDIR}/${PN}-3.0.0_beta3-link-against-installed-lib.patch" )
-
-S="${WORKDIR}/protobuf-${MY_PV}/python"
-
-python_test() {
- esetup.py test
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- find "${D}" -name '*.pth' -delete || die
-}