public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-backup/pika-backup/, app-backup/pika-backup/files/
Date: Wed,  3 Jan 2024 16:54:04 +0000 (UTC)	[thread overview]
Message-ID: <1704255921.f7620146fd5d87e7d0fa803b07e4fd3a3513c499.davidroman@gentoo> (raw)

commit:     f7620146fd5d87e7d0fa803b07e4fd3a3513c499
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Jan  3 04:24:04 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan  3 04:25:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7620146

app-backup/pika-backup: fix build with dev-lang/python[-native-symlinks]

Closes: https://bugs.gentoo.org/903526
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 app-backup/pika-backup/files/meson-fixes.patch  | 14 ++++++++++++--
 app-backup/pika-backup/pika-backup-0.6.2.ebuild | 13 ++++++++++---
 2 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/app-backup/pika-backup/files/meson-fixes.patch b/app-backup/pika-backup/files/meson-fixes.patch
index 6657e06153..bb7a5cb587 100644
--- a/app-backup/pika-backup/files/meson-fixes.patch
+++ b/app-backup/pika-backup/files/meson-fixes.patch
@@ -1,8 +1,18 @@
+diff --git a/build-aux/meson-cargo-manifest.py b/build-aux/meson-cargo-manifest.py
+index 34028e2..3bf3376 100755
+--- a/build-aux/meson-cargo-manifest.py
++++ b/build-aux/meson-cargo-manifest.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python3
++#!/usr/bin/env python3
+ 
+ try:
+     import tomllib
 diff --git a/meson.build b/meson.build
-index 2f20ee8..95bd28e 100644
+index 932bdb2..8938862 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -29,4 +29,3 @@ meson.add_dist_script('build-aux/meson-dist-vendor.sh')
+@@ -28,4 +28,3 @@ meson.add_dist_script('build-aux/meson-dist-vendor.sh')
  subdir('data')
  subdir('help')
  subdir('po')

diff --git a/app-backup/pika-backup/pika-backup-0.6.2.ebuild b/app-backup/pika-backup/pika-backup-0.6.2.ebuild
index 0e08114679..daf4fcefc8 100644
--- a/app-backup/pika-backup/pika-backup-0.6.2.ebuild
+++ b/app-backup/pika-backup/pika-backup-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -298,8 +298,8 @@ CRATES="
 	zvariant_utils@1.0.0
 	zxcvbn@2.2.2
 "
-
-inherit cargo gnome2-utils meson xdg
+PYTHON_COMPAT=( python3_{9..12} )
+inherit cargo gnome2-utils meson python-any-r1 xdg
 
 DESCRIPTION="Keep your data safe"
 HOMEPAGE="https://gitlab.gnome.org/World/pika-backup"
@@ -322,6 +322,7 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND="
+	${PYTHON_DEPS}
 	dev-util/itstool
 	sys-devel/gettext
 "
@@ -332,6 +333,12 @@ PATCHES=(
 	"${FILESDIR}/meson-fixes.patch"
 )
 
+# src_prepare() {
+# 	default
+# 	python-any-r1_pkg_setup
+# 	sed -e 's/python3/${EPYTHON}/' "${S}/build-aux/meson-cargo-manifest.py" || die
+# }
+
 src_compile() {
 	meson_src_compile
 	cargo_src_compile


             reply	other threads:[~2024-01-03 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 16:54 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-25  1:14 [gentoo-commits] repo/proj/guru:dev commit in: app-backup/pika-backup/files/, app-backup/pika-backup/ Julien Roy
2024-02-25  2:27 ` [gentoo-commits] repo/proj/guru:master commit in: app-backup/pika-backup/, app-backup/pika-backup/files/ Julien Roy
2023-03-29  6:56 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1704255921.f7620146fd5d87e7d0fa803b07e4fd3a3513c499.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox