commit: 3e0c77ac812b88cb421ec994fb852b8d7d5581a4 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Thu Dec 10 08:17:42 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Dec 10 08:17:52 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0c77ac
dev-python/gst-python: Adopt to changes in general python handling Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=567902 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> dev-python/gst-python/gst-python-1.2.1.ebuild | 8 +++++++- dev-python/gst-python/gst-python-1.4.0.ebuild | 8 +++++++- dev-python/gst-python/gst-python-1.6.0.ebuild | 8 +++++++- dev-python/gst-python/gst-python-1.6.1.ebuild | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/dev-python/gst-python/gst-python-1.2.1.ebuild b/dev-python/gst-python/gst-python-1.2.1.ebuild index b2da6fd..eeb014c 100644 --- a/dev-python/gst-python/gst-python-1.2.1.ebuild +++ b/dev-python/gst-python/gst-python-1.2.1.ebuild @@ -38,8 +38,14 @@ src_prepare() { python_foreach_impl prepare_gst } +myeconf() { + local flag + flag="$(${PYTHON} -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS") or "")')" + PYTHON="${EPYTHON}${flag}" econf +} + src_configure() { - ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf + ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir myeconf } src_compile() { diff --git a/dev-python/gst-python/gst-python-1.4.0.ebuild b/dev-python/gst-python/gst-python-1.4.0.ebuild index 03861fd..80b1de3 100644 --- a/dev-python/gst-python/gst-python-1.4.0.ebuild +++ b/dev-python/gst-python/gst-python-1.4.0.ebuild @@ -34,8 +34,14 @@ src_prepare() { python_foreach_impl prepare_gst } +myeconf() { + local flag + flag="$(${PYTHON} -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS") or "")')" + PYTHON="${EPYTHON}${flag}" econf +} + src_configure() { - ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf + ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir myeconf } src_compile() { diff --git a/dev-python/gst-python/gst-python-1.6.0.ebuild b/dev-python/gst-python/gst-python-1.6.0.ebuild index 53128bc..81d086d 100644 --- a/dev-python/gst-python/gst-python-1.6.0.ebuild +++ b/dev-python/gst-python/gst-python-1.6.0.ebuild @@ -34,8 +34,14 @@ src_prepare() { python_foreach_impl prepare_gst } +myeconf() { + local flag + flag="$(${PYTHON} -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS") or "")')" + PYTHON="${EPYTHON}${flag}" econf +} + src_configure() { - ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf + ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir myeconf } src_compile() { diff --git a/dev-python/gst-python/gst-python-1.6.1.ebuild b/dev-python/gst-python/gst-python-1.6.1.ebuild index d465961..95d223e 100644 --- a/dev-python/gst-python/gst-python-1.6.1.ebuild +++ b/dev-python/gst-python/gst-python-1.6.1.ebuild @@ -35,8 +35,14 @@ src_prepare() { python_foreach_impl prepare_gst } +myeconf() { + local flag + flag="$(${PYTHON} -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS") or "")')" + PYTHON="${EPYTHON}${flag}" econf +} + src_configure() { - ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf + ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir myeconf } src_compile() {