commit:     32351dfc706cec2cad86848e360e8b481b5a1db0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  6 16:14:31 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep  6 16:45:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32351dfc

net-libs/libsignon-glib: Add vala BDEPENDs, py38/9, drop vcs-snapshot

Closes: https://bugs.gentoo.org/740716
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libsignon-glib/libsignon-glib-2.1.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild 
b/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild
index a07adeedb26..33de3ed28b3 100644
--- a/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild
+++ b/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
-inherit meson python-r1 vala vcs-snapshot
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit meson python-r1 vala
 
 DESCRIPTION="GLib binding for the D-Bus API provided by signond"
 HOMEPAGE="https://01.org/gsso/";
@@ -27,7 +27,7 @@ RDEPEND="
        )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="
+BDEPEND="$(vala_depend)
        dev-util/gdbus-codegen
        dev-util/glib-utils
        doc? ( dev-util/gtk-doc )
@@ -37,9 +37,10 @@ BDEPEND="
 # needs more love
 RESTRICT="test"
 
+S="${WORKDIR}/${PN}-VERSION_${PV}"
+
 src_prepare() {
        default
-
        vala_src_prepare
 
        use doc || sed -e "/^subdir('docs')$/d" -i meson.build || die
@@ -87,6 +88,7 @@ src_install() {
 
        if use python; then
                python_foreach_impl run_in_build_dir meson_src_install
+               python_foreach_impl python_optimize
        else
                meson_src_install
        fi

Reply via email to