commit:     694d9d319c313b160fbb3fea155f9c7d5bd706ea
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 08:32:26 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 04:07:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694d9d31

net-wireless/blueman: Invoke eautomake to fix py-compile script

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-wireless/blueman/blueman-2.3.1.ebuild |  2 +-
 net-wireless/blueman/blueman-2.3.2.ebuild | 11 ++++++++---
 net-wireless/blueman/blueman-9999.ebuild  | 11 ++++++++---
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/net-wireless/blueman/blueman-2.3.1.ebuild 
b/net-wireless/blueman/blueman-2.3.1.ebuild
index dbedcfc7eae6..997963609ec2 100644
--- a/net-wireless/blueman/blueman-2.3.1.ebuild
+++ b/net-wireless/blueman/blueman-2.3.1.ebuild
@@ -97,7 +97,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-       [[ ${PV} == 9999 ]] && eautoreconf
+       [[ ${PV} == 9999 ]] && eautoreconf || eautomake
        distutils-r1_src_prepare
 }
 

diff --git a/net-wireless/blueman/blueman-2.3.2.ebuild 
b/net-wireless/blueman/blueman-2.3.2.ebuild
index 453fb6b604da..c34ce0ed1161 100644
--- a/net-wireless/blueman/blueman-2.3.2.ebuild
+++ b/net-wireless/blueman/blueman-2.3.2.ebuild
@@ -7,13 +7,13 @@ DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=no
 PYTHON_COMPAT=( python3_{8..11} )
 
-inherit distutils-r1 gnome2-utils linux-info systemd xdg-utils
+inherit autotools distutils-r1 gnome2-utils linux-info systemd xdg-utils
 
 DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager"
 HOMEPAGE="https://github.com/blueman-project/blueman/";
 
 if [[ ${PV} == "9999" ]] ; then
-       inherit autotools git-r3
+       inherit git-r3
        EGIT_REPO_URI="https://github.com/blueman-project/blueman.git";
 else
        SRC_URI="
@@ -97,7 +97,12 @@ pkg_setup() {
 }
 
 src_prepare() {
-       [[ ${PV} == 9999 ]] && eautoreconf
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       else
+               # remove this when upstream switches to automake with .pyc fix
+               eautomake
+       fi
        distutils-r1_src_prepare
 }
 

diff --git a/net-wireless/blueman/blueman-9999.ebuild 
b/net-wireless/blueman/blueman-9999.ebuild
index 453fb6b604da..c34ce0ed1161 100644
--- a/net-wireless/blueman/blueman-9999.ebuild
+++ b/net-wireless/blueman/blueman-9999.ebuild
@@ -7,13 +7,13 @@ DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=no
 PYTHON_COMPAT=( python3_{8..11} )
 
-inherit distutils-r1 gnome2-utils linux-info systemd xdg-utils
+inherit autotools distutils-r1 gnome2-utils linux-info systemd xdg-utils
 
 DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager"
 HOMEPAGE="https://github.com/blueman-project/blueman/";
 
 if [[ ${PV} == "9999" ]] ; then
-       inherit autotools git-r3
+       inherit git-r3
        EGIT_REPO_URI="https://github.com/blueman-project/blueman.git";
 else
        SRC_URI="
@@ -97,7 +97,12 @@ pkg_setup() {
 }
 
 src_prepare() {
-       [[ ${PV} == 9999 ]] && eautoreconf
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       else
+               # remove this when upstream switches to automake with .pyc fix
+               eautomake
+       fi
        distutils-r1_src_prepare
 }
 

Reply via email to