bump protobuf-python-3.10.0

This commit is contained in:
Andreas Billmeier 2019-10-24 23:38:45 +02:00
parent 6b415048b6
commit b69827ab18
2 changed files with 51 additions and 0 deletions

View File

@ -1,3 +1,5 @@
DIST protobuf-3.10.0.tar.gz 4908907 BLAKE2B 53a702a2cbfe7e642989eec010541fda434b7b8bbd267e3b65fc569a0ab33b08438c1a81d478426ebfbec6e330b90428e3da4fd345b8b64f890a6b3f4e360883 SHA512 0dcba6d21486fdc162f57119754b47b4a2fb605af878d5b96a32df55895321535cffb5b804566fd90ee7c36e20106d0cd4f5d9f3c652dc9c4dfca96be41a1977
DIST protobuf-3.7.0.tar.gz 4784675 BLAKE2B cb65f3384c7b0f015ab48081764ee9e01ad4bcffdb4903025774d95626f804fb9f72532371cc090de2b2e86c4bb0eb8f618d1cf8ff4d9c54d281c45a43b1cd8b SHA512 c570ece1d42706982dd87f601af6b3dd1d788d1b150b543190d10d2f070c67f0d006726ec4eafd3b9234a679e7ef77ac9d97749414f53f619287a1f23a0b739c
EBUILD protobuf-python-3.10.0.ebuild 1255 BLAKE2B 4a258f7a8e674a56572525d8bbc3df360318c5b347cc0a8cfc7e192751f9ce2cbfe541060a956a02d48657e59eb8f65360bbdb2184ac673f67bf2c56c61562f5 SHA512 6de00197cc7e097365958d54e2a3775083fc931a5d2a32346e600e78fa178f6e7755dafb00c376d5f5dd3dc9bd559de97b39817b82368b87b719380ac2ebbd61
EBUILD protobuf-python-3.7.0.ebuild 1255 BLAKE2B 4a258f7a8e674a56572525d8bbc3df360318c5b347cc0a8cfc7e192751f9ce2cbfe541060a956a02d48657e59eb8f65360bbdb2184ac673f67bf2c56c61562f5 SHA512 6de00197cc7e097365958d54e2a3775083fc931a5d2a32346e600e78fa178f6e7755dafb00c376d5f5dd3dc9bd559de97b39817b82368b87b719380ac2ebbd61
MISC metadata.xml 656 BLAKE2B e63db63e247b105b51b506a404d8edc821cc0ccc276a3f813df3b06951184218e736e57b577ad2f64880250c55ef09c50a9fe04428f7cec02fb04293c337175a SHA512 5d747585e025672d423690fa2d8df09380a1714c2e0adad5838a41f099e3984b70c7f80c5873ea296101898cd92dea70edee964bf01b9d86acb9a1d0140169fd

View File

@ -0,0 +1,49 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6,3_7})
inherit distutils-r1
DESCRIPTION="Google's Protocol Buffers - Python bindings"
HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf"
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/17"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE=""
DEPEND="${PYTHON_DEPS}
~dev-libs/protobuf-${PV}
dev-python/namespace-google[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
!<dev-libs/protobuf-3[python(-)]"
S="${WORKDIR}/protobuf-${PV}/python"
python_prepare_all() {
distutils-r1_python_prepare_all
}
python_configure_all() {
mydistutilsargs=(--cpp_implementation)
}
python_compile() {
python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}
python_test() {
esetup.py test
}
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name "*.pth" -delete || die
}