From 694d9d319c313b160fbb3fea155f9c7d5bd706ea Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 27 Jul 2022 10:32:26 +0200 Subject: net-wireless/blueman: Invoke eautomake to fix py-compile script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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(-) (limited to 'net-wireless/blueman') 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 } -- cgit v1.2.3-65-gdbad