dev-python/protobuf-python: Support Python 3.7.

Closes: https://bugs.gentoo.org/664508

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Arfrever Frehtes Taifersar Arahesis
2018-10-02 21:50:26 +02:00
committed by Mike Gilbert
parent abd3737105
commit 75e0f119f8
2 changed files with 69 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6,3_7})
inherit distutils-r1
@@ -27,6 +27,7 @@ S="${WORKDIR}/protobuf-${PV}/python"
python_prepare_all() {
eapply -p2 "${FILESDIR}/${PN}-3.5.2-google.protobuf.pyext._message.MessageMeta.patch"
eapply -p2 "${FILESDIR}/${PN}-3.6.1-python-3.7.patch"
distutils-r1_python_prepare_all
}