mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 20:48:31 -07:00
dev-python/protobuf-python: Apply patches in top-level source directory.
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
committed by
Mike Gilbert
parent
639c79c415
commit
b0b2faa439
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python{2_7,3_6,3_7,3_8})
|
||||
DISTUTILS_USE_SETUPTOOLS="manual"
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -30,7 +30,6 @@ 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}"
|
||||
@@ -43,6 +42,14 @@ if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
|
||||
fi
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(--cpp_implementation)
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python{2_7,3_{6..9}})
|
||||
DISTUTILS_USE_SETUPTOOLS="manual"
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -30,7 +30,6 @@ 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}"
|
||||
@@ -43,6 +42,14 @@ if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
|
||||
fi
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(--cpp_implementation)
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python{2_7,3_6,3_7,3_8,3_9})
|
||||
DISTUTILS_USE_SETUPTOOLS="manual"
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -30,7 +30,6 @@ 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}"
|
||||
@@ -43,6 +42,14 @@ if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
|
||||
fi
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(--cpp_implementation)
|
||||
}
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=(python{2_7,3_6,3_7,3_8,3_9})
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -44,6 +43,10 @@ if [[ "${PV}" == "9999" ]]; then
|
||||
fi
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
sed -e "/^[[:space:]]*setup_requires = \['wheel'\],$/d" -i setup.py || die
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=(python{2_7,3_6,3_7,3_8,3_9})
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -44,6 +43,10 @@ if [[ "${PV}" == "9999" ]]; then
|
||||
fi
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
sed -e "/^[[:space:]]*setup_requires = \['wheel'\],$/d" -i setup.py || die
|
||||
|
||||
Reference in New Issue
Block a user